Closed
Bug 1262202
Opened 10 years ago
Closed 9 years ago
perfherder compare auto select revision fails with long (40 char) revision
Categories
(Tree Management :: Perfherder, defect)
Tree Management
Perfherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jmaher, Assigned: wlach)
Details
Attachments
(2 files)
using a 12 char revision works great for auto detecting the previous revision, but the "compare to a different revision" link from a treeherder job now uses the 40 character revision.
We should support the 40 character revision inside of perfherder.
| Assignee | ||
Comment 1•10 years ago
|
||
I'm not sure if I understand. What functionality specifically is not working as you expect it to?
Flags: needinfo?(jmaher)
| Reporter | ||
Comment 2•10 years ago
|
||
well when you click compare from an existing job:
https://treeherder.mozilla.org/perf.html#/comparechooser?newProject=mozilla-central&newRevision=b6ea6a3bb8a6fc355b46403919d8c70e798c7007
there is no option to compare against the base revision, but if you shorten the revision in the url:
https://treeherder.mozilla.org/perf.html#/comparechooser?newProject=mozilla-central&newRevision=b6ea6a3bb8a6
you will see the option to set the base revision.
Flags: needinfo?(jmaher)
| Assignee | ||
Comment 3•10 years ago
|
||
Ok, gotcha! That should not be too difficult to fix, hopefully.
| Reporter | ||
Comment 4•10 years ago
|
||
in addition when viewing a graph on compare view and it highlights two points, those have 40 characters and don't highlight at all
Comment 5•10 years ago
|
||
| Assignee | ||
Comment 6•10 years ago
|
||
Comment on attachment 8738814 [details] [review]
[treeherder] wlach:1262202 > mozilla:master
I believe this fixes the revision issues in both the compare and graphs views. It's a little bit difficult to validate this PR in the case of graphs because of bug 1255797, but I have a fix for that forthcoming as well. :)
Attachment #8738814 -
Flags: review?(jmaher)
| Reporter | ||
Comment 7•10 years ago
|
||
Comment on attachment 8738814 [details] [review]
[treeherder] wlach:1262202 > mozilla:master
this looks great- a lot of things to consider!
Attachment #8738814 -
Flags: review?(jmaher) → review+
Comment 8•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla/treeherder/commit/b570cd2f5650afc7dfa14e21ebb7532bb561cbbb
Comment 9•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/8bdbbe4c257531b3ebc7cadf1352572ffb8249ce
Bug 1262202 - More fixes related to revision length for perfherder
There was a bunch of code in the compare chooser which still assumed
12 character revisions everywhere which needed to be updated.
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 10•9 years ago
|
||
this doesn't seem to work:
https://treeherder.mozilla.org/perf.html#/comparechooser?newProject=mozilla-aurora&newRevision=c1342bdc08a949c74278e59958dbecbc6f138258
I run into this at least once a week, it should be a simple fix.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Reporter | ||
Comment 11•9 years ago
|
||
this bug would be nice to get fixed sometime soon- I heard about it from a developer in hawaii and have struggled with it myself while playing with perf alerts.
| Assignee | ||
Comment 12•9 years ago
|
||
needinfo'ing myself to look into this when I'm back from pto
Flags: needinfo?(wlachance)
Comment 13•9 years ago
|
||
| Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8820000 [details] [review]
[treeherder] wlach:1262202-2 > mozilla:master
Ok, I think it should actually be working now.
Flags: needinfo?(wlachance)
Attachment #8820000 -
Flags: review?(jmaher)
| Reporter | ||
Comment 15•9 years ago
|
||
Comment on attachment 8820000 [details] [review]
[treeherder] wlach:1262202-2 > mozilla:master
this is much nicer
Attachment #8820000 -
Flags: review?(jmaher) → review+
Comment 16•9 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/0bb3d96db44d09aa8221b0c953d0b648abe992dc
Bug 1262202 - Really fix automatically getting base revision in comparechooser (#2033)
We will now automatically try or offer (as appropriate) to fetch a base
revision if the length of the revision to be compared is greater than 12.
| Assignee | ||
Updated•9 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•