Closed Bug 1451661 Opened 6 years ago Closed 6 years ago

Highlight significant alerts from alert summary

Categories

(Tree Management :: Perfherder, enhancement, P1)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: igoldan, Assigned: igoldan)

References

Details

Attachments

(1 file)

Enable a sheriff to mark any alerts inside an alert summary as "Significant".

We want to use the same mechanics for labeling alerts: select them via the checkbox, then have a new "Significant" button. Alerts marked with it will be easy to spot, maybe ordered on top of other alerts. This is more of a visual utility.

Story behind this:

We are notified about performance regressions via Perfherder's alert summaries.
These summaries usually group multiple perf alerts originating from varying platforms/tests/build types/repos.

Retriggering/backfilling on all of these is too resource consuming for us. And also pointless, as a subset of these alerts is enough to identify the culprit.
Attachment #8969221 - Flags: review?(wlachance)
Attachment #8969221 - Flags: feedback?(jmaher)
Comment on attachment 8969221 [details] [diff] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3469

Review of attachment 8969221 [details] [diff] [review]:
-----------------------------------------------------------------

I don't understand how we determine what is significant- is there heuristics we use?  Is this patch just the work to allow it and will be active in the UI and hiding !significant will be all of them?

Overall I think this looks reasonable.

::: ui/js/models/perf/alerts.js
@@ +69,5 @@
> +            const toggledSignificance = !this.significant;
> +            this.modify({
> +                significant: toggledSignificance
> +            }).then(
> +                function () {

nit: couldn't |function () {| be on the same line as then( ?
Attachment #8969221 - Attachment is patch: true
Attachment #8969221 - Attachment mime type: text/x-github-pull-request → text/plain
Attachment #8969221 - Flags: feedback?(jmaher) → feedback+
(In reply to Joel Maher ( :jmaher) (UTC-5) from comment #2)
> Comment on attachment 8969221 [details] [diff] [review]
> Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3469
> 
> Review of attachment 8969221 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> I don't understand how we determine what is significant- is there heuristics
> we use?  Is this patch just the work to allow it and will be active in the
> UI and hiding !significant will be all of them?

'significant' is just a label sheriffs assign to an alert subset, from an alert summary.
The idea is that retriggers/backfills should be done only on them, not on the other alerts.

Out of a pile of 40 alerts, we would then easily know where to check for new results of perf tests.
I wrote more about this here [1], in the Retrigger/backfill [2] section.


> Overall I think this looks reasonable.
> 
> ::: ui/js/models/perf/alerts.js
> @@ +69,5 @@
> > +            const toggledSignificance = !this.significant;
> > +            this.modify({
> > +                significant: toggledSignificance
> > +            }).then(
> > +                function () {
> 
> nit: couldn't |function () {| be on the same line as then( ?
I used the same style as in ui/js/controllers/perf/alerts.js

[1] https://bug1451655.bmoattachments.org/attachment.cgi?id=8965239
Sheriffs add the 'significant' label manually.
Thanks :igoldan
Comment on attachment 8969221 [details] [diff] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3469

One change requested, see PR
Attachment #8969221 - Flags: review?(wlachance)
Attachment #8969221 - Flags: review?(wlachance)
Comment on attachment 8969221 [details] [diff] [review]
Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3469

r+ with comments in github pr addressed
Attachment #8969221 - Flags: review?(wlachance) → review+
Blocks: 1451657
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: