-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Dataflow - add waiting for successful job cancel #11501
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
Dataflow - add waiting for successful job cancel #11501
Conversation
5d484a0 to
14d03ba
Compare
|
Hey @TobKed. Can you please rebase this one to the latest master. We fixed (hopefully) a problem with queues of jobs for GitHub actions and I think when you rebase, it should run much faster (more info on devlist shortly). |
639a4b7 to
bc9bbce
Compare
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.
What other type of field do you envision here? The method signature uses ʻint. Did you want to support Optional[Int]` here?
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.
Yes. I updated type annotations to Optional[Int]. Thank you for pointing this out.
dcad8ca to
35fc1f7
Compare
35fc1f7 to
af7dfda
Compare
|
PTAL @aaltay @kennknowles |
9ad315b to
7254350
Compare
7254350 to
d9a6865
Compare
|
The PR should be OK to be merged with just subset of tests as it does not modify Core of Airflow. The committers might merge it or can add a label 'full tests needed' and re-run it to run all tests if they see it is needed! |
Canceling jobs can fail, it will allow user to receive information when it happens.
Customisation of the time to wait for successful state is possible as well.
originated by discussion here: #8550 (comment)