Closed
Bug 1438555
Opened 6 years ago
Closed 5 years ago
Classifying a failure in the middle of the page breaks n/p navigation
Categories
(Tree Management :: Treeherder: Frontend, defect, P1)
Tree Management
Treeherder: Frontend
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: philor, Assigned: camd)
References
Details
(Keywords: regression)
Attachments
(2 files)
STR: 1. https://treeherder.allizom.org/#/jobs?repo=mozilla-inbound&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-classifiedState=unclassified 2. Select any job in the middle of the page (anything other than the first or last shown failures) and classify it 3. Type n Expected: go to the next unstarred failure Actual: go to the first unstarred failure on the page
Updated•6 years ago
|
Assignee: nobody → cdawson
Status: NEW → ASSIGNED
Priority: -- → P1
Reporter | ||
Comment 1•6 years ago
|
||
Ah, the reason I've been seeing it inconsistently is that there's a step 2.5, "wait until the job is shown as classified in the UI". If you hit bug 1438315 so that you type n before your classified job disappears from unstarred, TH still knows what was n and p, but once it disappears n becomes the first failure, and p becomes the last failure.
Assignee | ||
Comment 2•6 years ago
|
||
Ahh shoot, ok. Yeah, I remember having to work around this scenario in the old ui. I think I can have a fix for that pretty quickly, though.
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Comment on attachment 8951438 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3234 Philor says he didn't notice this right away, so it's not critical to workflow so not worth a hot-fix.
Attachment #8951438 -
Flags: review?(emorley)
Comment 5•6 years ago
|
||
Comment on attachment 8951438 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3234 Many thanks :-)
Attachment #8951438 -
Flags: review?(emorley) → review+
Assignee | ||
Comment 6•6 years ago
|
||
Comment on attachment 8951438 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3234 Clearing the approval since Philor was not thrilled with my approach at a fix. The next approach I will take will be to ensure that the selected job shows whether or not it would otherwise be filtered out. Once it's not selected anymore, it can then be filtered out.
Attachment #8951438 -
Flags: review+
Assignee | ||
Comment 7•6 years ago
|
||
Comment on attachment 8951438 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3234 Hey there, I hope this is straightforward enough. I had to do some callback stuff between parent and child a bit. :) This actually fixes an additional bug: Bug 1438315 because it was related. Is there a special way I'm supposed to formulate the commit to notate this? Was it something like "Bug XXXX, YYYY - Comment" ?
Attachment #8951438 -
Flags: review?(emorley)
Comment 8•6 years ago
|
||
Comment on attachment 8951438 [details] [review] Link to GitHub pull-request: https://github.com/mozilla/treeherder/pull/3234 (In reply to Cameron Dawson [:camd] from comment #7) > This actually fixes an additional bug: Bug 1438315 because it was related. > Is there a special way I'm supposed to formulate the commit to notate this? > Was it something like "Bug XXXX, YYYY - Comment" ? Perhaps just mention "bug YYYY" in the commit body, and then when it lands mark that bug fixed and mention fixed as part of this bug? Whatever you prefer :-)
Attachment #8951438 -
Flags: review?(emorley) → review+
Comment 9•6 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder https://github.com/mozilla/treeherder/commit/1c9b2c0e2498151e7f10c7fb6824e00a321a3e0f Bug 1438555 -Fix n/p after classifying a failure This also fixes Bug 1438315 - Pinned jobs take a long time to show the annotation. These two bugs were related so it made sense to fix them at the same time.
Assignee | ||
Updated•6 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 10•5 years ago
|
||
Some of my changes broke this again. I added a test which should catch this in the future.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 11•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Status: REOPENED → RESOLVED
Closed: 6 years ago → 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•