Closed Bug 1432896 Opened 8 years ago Closed 8 years ago

Pinning jobs from the Failure Summary pane is sluggish

Categories

(Tree Management :: Treeherder: Frontend, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RyanVM, Assigned: camd)

References

Details

Attachments

(1 file)

STR: 1) Load https://treeherder.mozilla.org/#/jobs?repo=try&noautoclassify&revision=44ed151b0d274b899b4016045a1f8970324591cf 2) Select the failed build job and wait for suggestions to come up. 3) Click the pin icon for the bug 1432009 suggestion. Expected results: No noticeable lag between clicking the pin icon and the bug number showing up in the appropriate box on the pinboard. Actual results: There's a noticeable delay. Interestingly, pinning the job from the "Failure Classification" pane is more or less instantaneous still, so it appears to be limited only to the "Failure Summary" pane. This regressed within the last few weeks and reproduces for me on Fx57 with a clean profile as well. It is actually harmful to workflow because it slows down being able to submit classification data after making the classification.
Bisecting reveals this started after bug 1419612 landed. If one is not logged in (as a sheriff), the 'Failure Classification' panel shows the same content like 'Failure Summary', but the selected suggestion gets added faster to the pinboard.
Blocks: 1419612
Flags: needinfo?(cdawson)
Priority: -- → P1
I have a PR that I will be submitting today and then I will tackle this bug next.
Assignee: nobody → cdawson
Flags: needinfo?(cdawson)
Comment on attachment 8950729 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3224 Just a matter of the AngularJS watch cycle not getting invoked when we call something from ReactJS. I intend to convert the rest of the details (bottom) panel to React in my next iteration, so it'll fix all this anyway.
Attachment #8950729 - Flags: review?(emorley)
Comment on attachment 8950729 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3224 Good spot - thank you for fixing this! :-)
Attachment #8950729 - Flags: review?(emorley) → review+
Status: NEW → RESOLVED
Closed: 8 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: