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)
Tree Management
Treeherder: Frontend
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.
Comment 1•8 years ago
|
||
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
Updated•8 years ago
|
| Assignee | ||
Comment 2•8 years ago
|
||
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 3•8 years ago
|
||
| Assignee | ||
Comment 4•8 years ago
|
||
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 5•8 years ago
|
||
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+
Comment 6•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/dedd1b59904a01d30489ad06c153dc2ed48f464f
Bug 1432896 - Fix sluggish pinning of job bugs
| Assignee | ||
Updated•8 years ago
|
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.
Description
•