SameerMesiah97 commented on issue #59289:
URL: https://github.com/apache/airflow/issues/59289#issuecomment-3678904446

   @hoiekim
   
   I was able to reproduce this bug in 3.0.6 as well 3.1.5 and the main branch 
(which might contain fixes that have not been released). It is caused by the 
placeholder for a task (in this case `another = process_something`) in the task 
group being replaced before the placeholder for the task in the same task group 
immediately downsteram of it (`end = EmptyOperator`) is able to resolve it's 
upstream counterpart. The bug you reported is a symptom of this problem as it 
silently breaks trigger rule evaluation for task instances. It readily surfaces 
when the `"trigger_rule"` is set to `TriggerRule.NONE_FAILED_MIN_ONE_SUCCESS` 
and when there is a terminal task outside the task group on which the mapped 
tasks converge but I believe this could affect any DAG with mapped task groups 
structured like the one in this bug report. 
   
   Anyway, I have opened a PR (#59691) that should fix this bug. Please ignore 
the previous PR (#59561) as it was incorrect. It has been closed now. 


-- 
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]

Reply via email to