Closed
Bug 1384955
Opened 7 years ago
Closed 7 years ago
Add "Edit and Retrigger" option to the ... drop down
Categories
(Tree Management :: Treeherder, enhancement)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ahal, Assigned: jfrench)
References
Details
Attachments
(1 file)
I think this is pretty low-hanging fruit with a lot of potential. Taskcluster already has the ability to edit and create (aka retrigger) a task. Given a task id, simply visit this url:
https://tools.taskcluster.net/tasks/cHhlvS9CRaGifFnUcQ381Q/create
Treeherder could provide a link to there in the ... drop down, and call it 'Edit and Retrigger' or something like that. Then developers would have a way of controlling the environment variables the task uses, as well as the command the task runs.
We could eventually take this further and put the actual harness command line in the task definition so they could control that too.
Comment 1•7 years ago
|
||
Assignee | ||
Comment 2•7 years ago
|
||
In case you guys decide to do it, the PR is there.
Assignee | ||
Comment 3•7 years ago
|
||
Comment on attachment 8893850 [details] [review]
[treeherder] tojon:1384955-create-task-menu > mozilla:master
Adding camd for review and kwierso for feedback on the naming.
Attachment #8893850 -
Flags: review?(cdawson)
Attachment #8893850 -
Flags: feedback?(wkocher)
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → tojonmz
Assignee | ||
Updated•7 years ago
|
Status: NEW → ASSIGNED
Attachment #8893850 -
Flags: feedback?(wkocher) → feedback+
Reporter | ||
Comment 4•7 years ago
|
||
Thanks jfrench, this looks good to me!
I sort of prefer "Edit and Retrigger" as developers might not understand why "Create Task" would be useful (i.e that it's pre-populated with this task's definition). But I'm happy with Create Task too if you guys like it better.
Assignee | ||
Comment 5•7 years ago
|
||
Ya, I'm just for UI consistency across platforms, but I defer to you guys if there's good reasons for it to deviate. It was just confusing to me to select a menu that said Edit and Retrigger, and end up on a page (in TC) that says Create Task. If the TC page title had been Edit Task or Retrigger Task, that would have made sense to me.
But again I defer to you guys, and I'll name it accordingly. :)
Comment 6•7 years ago
|
||
Naming is so hard... :) I wonder if "Custom Retrigger" would work? I must admit I prefer "Edit and Retrigger" myself as well. But I haven't reviewed the code yet...
Assignee | ||
Comment 7•7 years ago
|
||
Well, there's two votes from two awesome dudes so I'll change it to Edit and Retrigger you've reviewed it, unless you arrive at something you like more. Maybe TC could improve the wording on their side eventually for their page since it seems to me the task already exists - therefore in TC one doesn't appear to me to be 'creating' it - at first glance anyway.
Assignee | ||
Comment 8•7 years ago
|
||
Ok, the name change is there and everything seems fine in UI testing.
Comment 9•7 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/a5f0fadf29ec605f96681d3df9897faf189915ab
Bug 1384955 - Add 'Edit and Retrigger' to job action menu
Comment 10•7 years ago
|
||
Comment on attachment 8893850 [details] [review]
[treeherder] tojon:1384955-create-task-menu > mozilla:master
Thanks Jon!
Attachment #8893850 -
Flags: review?(cdawson) → review+
Assignee | ||
Comment 11•7 years ago
|
||
Thanks for the feedback and review sirs! Verified fixed on Stage.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•