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 2019/03/02 05:46:58 UTC
[GitHub] feng-tao commented on a change in pull request #4805:
[AIRFLOW-3977] Fix/Add examples of how trigger rules interacted with
skipped tasks
feng-tao commented on a change in pull request #4805: [AIRFLOW-3977] Fix/Add examples of how trigger rules interacted with skipped tasks
URL: https://github.com/apache/airflow/pull/4805#discussion_r261814113
##########
File path: docs/concepts.rst
##########
@@ -752,6 +752,67 @@ Note that these can be used in conjunction with ``depends_on_past`` (boolean)
that, when set to ``True``, keeps a task from getting triggered if the
previous schedule for the task hasn't succeeded.
+One must be aware of the interaction between trigger rules and skipped tasks
+in schedule level. Skipped tasks will cascade through trigger rules
+``all_success`` and ``all_failed`` but not ``all_done``, ``one_failed``, ``one_success``,
+``none_failed`` and ``dummy``.
+
+For example, consider the following DAG:
+
+.. code:: python
+
+ #dags/branch_without_trigger.py
Review comment:
@mik-laj , I don't think this should be a blocker as we have done it for other doc files as well. If we want to extract this file from doc and put it in example folder, we could do it in a later pr.
----------------------------------------------------------------
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
With regards,
Apache Git Services