You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/04/21 08:26:46 UTC

[GitHub] [airflow] pateash commented on issue #15468: DAG state is Success even in case of intermediate Task Failure for TriggerRule.ALL_DONE

pateash commented on issue #15468:
URL: https://github.com/apache/airflow/issues/15468#issuecomment-823880427


   ### Workaround
   As the task only look into parents for the state, we can create a **DummyOperator** which has dependency overall 
   
   
   
       ......
   
       dummy_end = DummyOperator(
           task_id='dummy_end',
           trigger_rule=TriggerRule.NONE_FAILED_OR_SKIPPED
   
       )
   
       .........
   
   
       startOperator >> dummy_end
       run_this >> dummy_end
       endOperator >> dummy_end
   
   ![image](https://user-images.githubusercontent.com/16856802/115522012-58ec8380-a2a9-11eb-9fc2-0cd94cb54b0e.png)
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org