ashb commented on code in PR #26518:
URL: https://github.com/apache/airflow/pull/26518#discussion_r977788680
##########
airflow/ti_deps/deps/trigger_rule_dep.py:
##########
@@ -162,6 +166,9 @@ def _evaluate_trigger_rule(
changed = ti.set_state(State.UPSTREAM_FAILED, session)
elif skipped:
changed = ti.set_state(State.SKIPPED, session)
+ elif removed and successes and ti.map_index > -1:
+ if ti.map_index >= successes:
Review Comment:
It's not this one specific line, they are all like this and that's the worry.
The test you highlighted doesn't use mapped tasks so I don't think it covers
the case I highlighted. Edit: sorry, original example didn't have a map. Added
that.
--
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]