-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Set downstream option to default on task instance clear #52130
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
Set downstream option to default on task instance clear #52130
Conversation
If no default value (when clearing task instance) is intended, feel free to close this issue! |
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 think we can do the same for marking a TI as failed or success, to keep behavior consistent.
@pierrejeambrun Thank you for suggesting! I will check marking TI behavior, and do update it tomorrow. |
In Airlfow 2.10.3, there is no default enabled option when marking success/failed TI. |
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.
Thanks
…52130) * Set downstream default when clear task instance * Set downstream default when mark TI success or failed (cherry picked from commit c31146a) Co-authored-by: humit <[email protected]>
…pache#52130) * Set downstream default when clear task instance * Set downstream default when mark TI success or failed (cherry picked from commit c31146a) Co-authored-by: humit <[email protected]>
…52130) (#52246) * Set downstream default when clear task instance * Set downstream default when mark TI success or failed (cherry picked from commit c31146a) Co-authored-by: humit <[email protected]>
While Airflow 2 provided "Downstream" and "Recursive" as default options for clearing task instances,
Airflow 3.0.2 does not offer a pre-defined default for this functionality.
As a result, I have established "Downstream" as the default option for clearing task instances.
clear-task.mp4
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in airflow-core/newsfragments.