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 2020/08/04 07:58:44 UTC

[GitHub] [airflow] feluelle commented on a change in pull request #8867: Fixed BaseSensorOperator to make respect the trigger_rule in downstream tasks, when setting soft_fail="True"

feluelle commented on a change in pull request #8867:
URL: https://github.com/apache/airflow/pull/8867#discussion_r464868256



##########
File path: UPDATING.md
##########
@@ -62,6 +62,18 @@ More tips can be found in the guide:
 https://developers.google.com/style/inclusive-documentation
 
 -->
+
+
+### Made BaseSensorOperator respect the trigger_rule of downstream tasks
+
+Previously, BaseSensorOperator with setting soft_fail=True becomes skipped itself
+and skips all its downstream tasks unconditionally when it fails.
+The point is it does not respect the trigger_rule of downstream tasks when it fails.
+In the new behavior, the trigger_rule of downstream tasks are respected.
+User can preserve/achieve the original behaviour by setting every downstream task to all_success,
+because downstream tasks with trigger_rule all_success (i.e. the default) are skipped
+when upstream task is skipped.
+

Review comment:
       Sorry that I am bothering you again with that, but the UPDATING.md changed a lot i.e. we now have sections.
   More information: https://github.com/apache/airflow/pull/10090
   
   Please rebase and move that into an appropriate section.
   
   After you've done that let me know and I am merging it. Sorry and thanks for your patience :)




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