The GitHub Actions job "Tests" on airflow.git/fix/ti-skip-downstream-state-guard has failed. Run started by GitHub user sam-dumont (triggered by sam-dumont).
Head commit for run: 9dd13fbed8c04040454c1f4ce2f3fe9573a1ea55 / Sam Dumont <[email protected]> Fix ti_skip_downstream overwriting RUNNING tasks to SKIPPED In HA deployments, ti_skip_downstream() issues a bulk UPDATE without a state guard. When a BranchOperator decides to skip downstream tasks, it can overwrite a task already RUNNING on a worker to SKIPPED, causing a 409 heartbeat conflict that kills the task mid-execution. Add a skippable_state_clause to the UPDATE WHERE clause so RUNNING, SUCCESS, and FAILED tasks are never overwritten to SKIPPED. QUEUED tasks are intentionally allowed to be skipped: no work has been done yet and the BranchOperator's decision should take priority. The worker pod will get a benign 409 on PATCH /run and exit cleanly. related: #59378 Report URL: https://github.com/apache/airflow/actions/runs/23056072570 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
