Closed Bug 1494572 Opened 6 years ago Closed 6 years ago

cancel all jobs from treeherder UI schedules dozens if not hundreds of 'cx' action jobs instead of one

Categories

(Tree Management :: Treeherder, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jmaher, Assigned: hassan)

References

Details

in bug 1470622 we landed the ability to use the action task 'cx' for cancelling a job.  When you cancel all jobs from the treeherder UI it should be quick to ensure that all jobs are cancelled and we do not waste resources.  Instead scheduling 50+ action tasks and waiting for them to run takes a lot of time- while pushing the button is quick as well as confirmation in the UI is quick, waiting for the 'cx' jobs to get scheduled and complete can take 30+ minutes which allows many jobs to run/finish.
Hassan, was there somewhere in the treeherder patch that this got missed?
Flags: needinfo?(helfi92)
I'll take a look.
Flags: needinfo?(helfi92)
Assignee: nobody → helfi92
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/727d3fc3ee2d4bd540e9d33aa4a00939f8a5729e
Bug 1494572 - Use the 'cancel-all' task action when cancelling all jobs for a push (#4076)

This will stop triggering the cancel action on every job and instead
trigger the cancel-all action once.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Component: Treeherder: Job Triggering & Cancellation → TreeHerder
You need to log in before you can comment on or make changes to this bug.