amichai07 commented on a change in pull request #4751: [AIRFLOW-3607] collected trigger rule dep check per dag run URL: https://github.com/apache/airflow/pull/4751#discussion_r302166108
########## File path: airflow/ti_deps/deps/trigger_rule_dep.py ########## @@ -49,33 +50,46 @@ def _get_dep_statuses(self, ti, session, dep_context): yield self._passing_status(reason="The task had a dummy trigger rule set.") return - # TODO(unknown): this query becomes quite expensive with dags that have many - # tasks. It should be refactored to let the task report to the dag run and get the - # aggregates from there. Review comment: yes, it does the query once for every dagrun instead of multiply it with tasks. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services