You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jobs@airflow.apache.org by GitBox <gi...@apache.org> on 2026/04/09 06:26:37 UTC

[GH] (airflow/fix/callback-bundle-init-version-none): Workflow run "Tests" is working again!

The GitHub Actions job "Tests" on airflow.git/fix/callback-bundle-init-version-none has succeeded.
Run started by GitHub user shivaam (triggered by shivaam).

Head commit for run:
5895bde1172fe1fa67f8e5d9c6440ca0d26e3c46 / Shivam Rastogi <64...@users.noreply.github.com>
Fix callback queueing skipping bundle init when bundle_version is None

PR #60734 added `bundle.initialize()` in `_add_callback_to_queue` to
materialize versioned bundles for callbacks. However, the guard
`bundle.supports_versioning and request.bundle_version` skips
initialization when `bundle_version` is `None` — which is the
expected value when `disable_bundle_versioning=True`.

This means DAG and task callbacks on versioned bundle backends
(e.g. GitDagBundle) with disabled versioning use an uninitialized
`bundle.path`, causing callback processing to silently fail.

The fix broadens the condition to `bundle.supports_versioning` only.
This is safe because `initialize()` dispatches internally based on
`self.version` — when `None`, it refreshes the tracking repo; when a
commit hash, it materializes the versioned directory. This aligns the
callback path with `_refresh_dag_bundles`, which initializes
unconditionally.

closes: #64891

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

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: jobs-unsubscribe@airflow.apache.org
For additional commands, e-mail: jobs-help@airflow.apache.org