Describe in detail what your merge request does and why.
Fixes #510
Fixes error that happened when attempting to cancel a job that hadn't reached the submitted state
Adds submitted to the list of states that are cancelable
Also fixes bug where workflow execution will ignore canceling state when queuing completion/status job, causing a run to move to completion state when run has been queue'd to be canceled.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
Submit a new workflow execution
While in the new or prepared state, cancel it. It should go directly to the canceled state
Submit a new workflow execution
Wait until it reaches the submitted, queued or running state then cancel it.
Verify that it goes to the canceling state, wait and verify that it then makes it to the canceled state
PR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
What does this PR do and why?
Describe in detail what your merge request does and why. Fixes #510
Fixes error that happened when attempting to cancel a job that hadn't reached the submitted state
Adds
submitted
to the list of states that are cancelableAlso fixes bug where workflow execution will ignore
canceling
state when queuing completion/status job, causing a run to move tocompletion
state when run has been queue'd to be canceled.Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
new
orprepared
state, cancel it. It should go directly to thecanceled
statesubmitted
,queued
orrunning
state then cancel it.canceling
state, wait and verify that it then makes it to thecanceled
statePR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.