You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "renzepost (via GitHub)" <gi...@apache.org> on 2025/04/22 17:16:53 UTC
Re: [I] Marking DagRun as success with teardown task stopped working [airflow]
renzepost commented on issue #46937:
URL: https://github.com/apache/airflow/issues/46937#issuecomment-2821982828
I can work on this, but I need some clarification on the expected behavior.
If I understand it correctly, a DagRun needs to be marked as success when **all** teardown tasks have already reached a terminal state **or** `upstream_failed`. Upstream_failed is not a terminal state, but it can happen when the setup task has failed and I think it needs to be included here. Furthermore, the teardown tasks in question will be set to state `success`.
If any teardown task is still in an intermediate state (except `upstream_failed`), marking the DagRun as success will not alter the state of those teardown tasks, giving them time to complete.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org