kadubhumika commented on issue #74727: URL: https://github.com/apache/airflow/issues/74727#issuecomment-6232917446
@pedro-cf I've opened a PR for this: #74916. It adds on_success_succeed_dagrun (default True) to @teardown and as_teardown(). With on_failure_fail_dagrun=True and on_success_succeed_dagrun=False, a failed work task now fails the Dag run even when the teardown succeeds. Tests cover all three cases from the issue. Happy to adjust the naming or semantics if the maintainers prefer something different. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
