github-actions[bot] opened a new pull request, #77154:
URL: https://github.com/apache/airflow/pull/77154

   * Fix fail_fast scheduler crash loop when a task is removed mid-run
   
   * Pass the Dag to _stop_remaining_tasks
   
   Both callers now hand over a SerializedDAG, so there is a single
   task lookup and a single check for a task missing from the Dag.
   
   * Test fail_fast with unfinished TIs of removed task
   
   REMOVED is filtered out by the query and never reached the missing-task
   branch; cover the NULL and SCHEDULED states instead. Also use
   TaskInstanceState in the tests added by this PR.
   
   * Test heartbeat-timeout fail_fast with a task removed
   
   ---------
   (cherry picked from commit e6fe78e006f7f35129a3c0baeb255e327da20dd9)
   
   Co-authored-by: ChickenBenny <[email protected]>
   Co-authored-by: Tzu-ping Chung <[email protected]>


-- 
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]

Reply via email to