Closed Bug 1468172 Opened 6 years ago Closed 6 years ago

Introduce nudge functionality for perf alerts

Categories

(Tree Management :: Perfherder, enhancement, P2)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: igoldan, Assigned: igoldan)

References

Details

Attachments

(1 file)

No description provided.
Priority: -- → P2
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 This is still work in progress, but at least it outlines the main approach for nudging alerts. I'll remove all console logs once this is ready to land. Will also add unit tests for BE.
Attachment #8985587 - Flags: feedback?(wlachance)
Attachment #8985587 - Flags: feedback?(wlachance) → feedback+
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 I'm interested about the Javascript changes. Would you have added this new functionality in another way, more React-friendly?
Attachment #8985587 - Flags: feedback?(cdawson)
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 My comment from the PR: I think this is fine for now. As we move to ``React`` I want to convert models like this to be JavaScript ``class``es that use ``fetch``. But unless you're up for converting this whole model to a JS class now, we can add it this way, and then convert the whole thing when we get to it. ``findPushIdNeighbour`` *could* be a static function in a perf helper, if it is going to be used in lots of odd places. But from the look of this, it seems appropriate here. ``nudgeAlert`` seems correct here. So I think your approach is fine and we'll convert this whole model later.
Attachment #8985587 - Flags: feedback?(cdawson) → feedback+
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 Could you give a final look over this feature?
Attachment #8985587 - Flags: review?(wlachance)
I will drop all logs right before landing this PR.
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 Left feedback in PR
Attachment #8985587 - Flags: review?(wlachance)
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 I've addressed the review requests you made.
Attachment #8985587 - Flags: review?(wlachance)
Attachment #8985587 - Flags: review?(emorley)
Comment on attachment 8985587 [details] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3671 Happy with the changes to address the general comments I left before. I'll leave it to Will to review the perfherder-specific parts :-)
Attachment #8985587 - Flags: review?(emorley) → feedback+
Attachment #8985587 - Flags: review?(wlachance) → review+
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
:igoldan, can you verify this works and is useful- I want to make sure this is fully resolved
Flags: needinfo?(igoldan)
(In reply to Joel Maher ( :jmaher ) (UTC-4) from comment #11) > :igoldan, can you verify this works and is useful- I want to make sure this > is fully resolved This bug does enable the nudge feature. Unfortunately, the re-drawing was broken prior to adding it. Basically, when you're nudging in either direction, the graph drawing brakes, just like when you're manually creating a new alert; but on the BE side everything goes ok, unaffected. So a page refresh should bring the correct graph back again. I may have filed a separate bug for that already, just need to check.
Flags: needinfo?(igoldan)
Depends on: 1526682
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: