bencher icon indicating copy to clipboard operation
bencher copied to clipboard

Improve Threshold and Alert UI

Open epompeii opened this issue 1 year ago • 4 comments

Currently the selection of Thresholds and the presentation of Alerts is rather... clunky to say the least. Design and implement a much more intuitive UI for selecting Thresholds and displaying standalone Alerts (that is outside of the Perf Plot view).

epompeii avatar Feb 15 '24 11:02 epompeii

It would be great if the Alert UI would include a link to the offending commit. E.g. when looking at a plot, clicking on the alert takes me to this page , which does not contain any information like the commit. currently I look at the time and manually search for matching commits.

jschwe avatar Aug 13 '25 09:08 jschwe

@jschwe I totally agree. It would be great to have this on the Alert page itself.

There is also a bug here. Even now, you should be able to:

  1. Pull up the Alert
  2. Click the link to the Branch
  3. Click the link to the version hash
  4. It will pull up the commit in GitHub*

*Note for Future Travelers: This would work because the Servo Project URL is set to its GitHub repo.

Right now, the link used in step 2 is adding the head query param, as expected: https://bencher.dev/perf/servo/branches/main?head=3dbe3681-11b1-4e30-b482-4ee72dc0960c But we aren't getting the Branch at that head. I'll investigate!

epompeii avatar Aug 13 '25 13:08 epompeii

@jschwe it turns out that I was misremembering. Previously, the branch version hash would only appear on the metrics page. So if you clicked a dot on the perf plot, the hash would show up there: https://bencher.dev/console/projects/servo/metrics/77f22978-447a-4a6c-b94b-bce88bfd11de

With that said, I have updated things so now the branch head version will appear on both the Report and Alert pages as well. Let me know what you think!

epompeii avatar Aug 16 '25 20:08 epompeii

That's perfect! Thanks for the quick update!

jschwe avatar Aug 18 '25 06:08 jschwe