The GitHub Actions job "Tests" on airflow.git/backport-38a51dc-v3-2-test has 
succeeded.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
5411a5b137b7634801849615370ed738ccdc95f9 / Ephraim Anierobi 
<[email protected]>
[v3-2-test] Fix scheduler callback bundle_version when versioning disabled 
(#66485)

When a DAG has disable_bundle_versioning=True, dag_run.bundle_version is
left None at trigger time, but DagVersion.bundle_version still records
the bundle SHA captured during DAG parse. Scheduler-emitted task
callbacks (zombie tasks, heartbeat timeouts, stuck-in-queued) sourced
bundle_version from DagVersion, so the DFP would check out a pinned
versions/<sha>/ working tree and write a _tracking lockfile for a SHA
the run was never pinned to — causing the callback to run against
different code than the task itself, leaving per-version checkouts on
disk, and blocking stale bundle cleanup.

Source bundle_version from dag_run.bundle_version so the callback
inherits the same unpinned state as the run and executes against the
same on-disk code the task did.
(cherry picked from commit 38a51dc1faa81c3493d0c444c901afff67bfc393)

Co-authored-by: Ephraim Anierobi <[email protected]>

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

With regards,
GitHub Actions via GitBox


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

Reply via email to