The GitHub Actions job "Tests" on airflow.git/v3-1-test has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
a6907885e82b8a74b5e6a34e27d371f928169e40 / Kaxil Naik <[email protected]>
Fix `DepContext` mutation leak and restore `reschedule-mode` guard (#62089)

Two related fixes for issues introduced in #59604:

1. `are_dependencies_met()` mutated the caller's dep_context.deps set
   in-place when adding ReadyToRescheduleDep for UP_FOR_RESCHEDULE TIs.
   Since the scheduler shares one DepContext across all TIs in a loop,
   this permanently leaked the dep into unrelated TIs.
   Fix: use `attrs.evolve` to create a new DepContext instead.

2. `ReadyToRescheduleDep` lost its fast-exit guard for non-reschedule
   tasks in NONE state. Without it, every task hit the `task_reschedule`
   table on each scheduling loop.
   Fix: restore the guard that short-circuits for non-reschedule,
   non-mapped tasks in NONE state while still honoring reschedule_date
   for tasks explicitly in UP_FOR_RESCHEDULE state.

(cherry picked from commit f4f8853888f46469950df3b19db0a96a301d7697)

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

With regards,
GitHub Actions via GitBox


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

Reply via email to