The GitHub Actions job "Tests" on airflow.git/fix/issue-63697 has failed.
Run started by GitHub user YoannAbriel (triggered by YoannAbriel).

Head commit for run:
68a313e7e89c3fe70104af154b84cbe30130d976 / Yoann Abriel <[email protected]>
fix(scheduler): refresh finished_tis in _are_premature_tis to prevent stale 
upstream_failed

When the API marks a failed task as success while the scheduler is mid-loop,
_are_premature_tis was using a stale finished_tis cache from the start of
the loop. This caused downstream tasks to be incorrectly and permanently
marked as upstream_failed based on outdated state.

Fix: don't pass the cached finished_tis to DepContext. Let
ensure_finished_tis() re-query the database so trigger-rule evaluation
sees the latest committed states.

Closes: #63697

Report URL: https://github.com/apache/airflow/actions/runs/24175241301

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to