You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "cdagraca (via GitHub)" <gi...@apache.org> on 2025/12/29 20:38:28 UTC
Re: [I] Tasks with all_done trigger rule execute when they should skip [airflow]
cdagraca commented on issue #53667:
URL: https://github.com/apache/airflow/issues/53667#issuecomment-3697499963
I'm seeing some odd behaviour in 2.10.3 that I think relates to this.
When my "all_done" task has 2 upstream tasks, one of which succeeds and the other is skipped, it gets skipped.
When it has only one upstream task, and this gets skipped, the task executes.
I could accept the argument that the skipped task(s) have "reached a terminal state" and so count as "done" if it was consistent in both cases, but in practice skipped only _sometimes_ counts as done with respect to an "all_done" rule.
I can work around this in my current use case, just adding this in case it helps with tracking this down.
The bottom DAG is a simplified version of the top one:
<img width="1043" height="642" alt="Image" src="https://github.com/user-attachments/assets/9837f430-c724-4e63-8e6b-d5048a679085" />
--
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