-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Canceled status for Stopped/Terminated Workflows #11849
Comments
We currently determine previous workflows by having passed GitHub org, repo and pr number as labels and before we kick off a new workflow (via argo events to a custom service) we call the argo-workflows API to find any previously running workflows with those labels and terminate them (resulting in a |
Yea I thought about this recently too, it is a bit confusing that there is no custom status for a shutdown and instead just a message. Had a question about this on Slack recently too. This would be a breaking change and require a sizeable refactor (with a pretty large chance for bugs as there is quite a lot of code dependent on statuses), but I do think it would be a good to distinguish if possible. There's also a question here of if we should add a
Wait a minute, I'm American and thought this was always two l, i.e. "Cancelled" 😵💫 |
Some comments in #11992 |
This was changed in #13214 to |
Summary
new
Canceled
statusNOTE: debates can ensue regarding one l (American English) or two l (British English). Looks like CircleCI and TravisCI use one. They could be doing i18n and because I'm in the USA it renders as one. 🤷
Use Cases
Since many consumers of argo-workflows are using it for Continuous Integration (CI), when the following sequence occurs, a
Cancelled
status would be nice:Canceled
(currently when terminated its status is set toFailed
)This will allow for the analytics to be accurate on which workflows actually
Failed
😄Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.
The text was updated successfully, but these errors were encountered: