NSS and NSS-Try on Treeherder can't cancel or retrigger jobs
Categories
(Tree Management :: Treeherder, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: jcj, Unassigned)
References
(Blocks 2 open bugs)
Details
The NSS team has found that we can't cancel, retrigger, or do fancy add-a-job magic via Treeherder. We don't remember whether we ever could, but sometimes it'd be helpful, particularly to retrigger.
Relevant repos:
Trying any of these actions emits:
Error getting Gecko Decision Task Ids: 404: No decision tasks found for pushes: ['505903']
(where the ID changes, of course)
![]() |
||
Comment 1•6 years ago
|
||
Even rolling back to the parent of bug 1496858 doesn't fix it (uncaught exception: No decision task
).
decisiontask
assumes the decision task is always called Gecko Decision Task
https://github.com/mozilla/treeherder/blob/3d1524118d95b469c13fa5c712462e30d97755d8/treeherder/webapp/api/push.py#L272
For nss, it's NSS Decision Task
.
Cam, can you change it to filer(name__contains='Decision Task')
. But there could be more than one decision task - or at least I am not aware of a limitation to have only one match.
Comment 2•6 years ago
|
||
Sure, I can take this on sometime soon. Please let me know if there is an urgency here, though.
Comment 4•6 years ago
|
||
I have a PR that will enable the Treeherder side of this. But the NSS decision task needs a few artifacts to work.
For add new jobs, you'll need:
public/runnable-jobs.json for adding new jobs
public/actions.json for retriggering, etc
Please see one of the Gecko Decision Tasks for examples of these files
Comment 6•6 years ago
|
||
This change has been merged to treeherder/master now.
Comment 7•6 years ago
|
||
Unassigning myself. Please need-info me if you need anything else from me on this. :)
Reporter | ||
Comment 8•6 years ago
|
||
Thanks, Cameron!
Assignee | ||
Updated•4 years ago
|
Updated•2 years ago
|
Reporter | ||
Updated•1 year ago
|
Description
•