-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Cancel state #1758
Cancel state #1758
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
I reject my review because I'm not sure if it should be Cancelled or Canceled
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do cancelled states result in downstream triggerfails or possibly downstream runs if they have on failed triggers? Should a cancelled task not be followed by any task runs?
(Not a leading question, just asking. I can imagine cancelling a task and WANTING downstream cleanups to run)
Great question @jlowin - because we will only support cancellation of at the Flow Run level, downstream tasks will never be able to enter a Running state. This is because once the Flow Run enters a However, there is the potential for some inefficiency when running with Dask - whenever the Flow Run process raises the |
Ah, thanks for clearing that up for me. |
…ker/metadata-action-4 Bump docker/metadata-action from 3 to 4
Thanks for contributing to Prefect!
Please describe your work and make sure your PR:
CHANGELOG.md
(if appropriate)docs/outline.toml
for API reference docs (if appropriate)Note that your PR will not be reviewed unless all three boxes are checked.
What does this PR change?
This PR:
Aborted
stateCancelled
KeyboardInterrupt
s toCancelled
states when running Flows in CoreWhy is this PR important?
Core users will immediately see the benefit of CTRL+C when running
flow.run
, and this will soon enable the ability to cancel flow runs from the UI once the new state serializers have made their way to Prod.