uranusjr commented on code in PR #36462:
URL: https://github.com/apache/airflow/pull/36462#discussion_r1540706497
##########
airflow/ti_deps/deps/trigger_rule_dep.py:
##########
@@ -442,6 +450,9 @@ def _evaluate_direct_relatives() -> Iterator[TIDepStatus]:
)
)
elif trigger_rule == TR.ALL_SUCCESS:
+ if ti_needs_expansion and success > 0:
+ return
Review Comment:
Can we do this outside of the blocks instead of repeating it everywhere?
This is both cumbersome and error-prone.
--
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]