nikolauspschuetz opened a new pull request, #69087: URL: https://github.com/apache/airflow/pull/69087
When bundle versioning is disabled (`disable_bundle_versioning=True`), `DagRun.produce_dag_callback()` sets `bundle_version=None` on the callback request. `DagFileProcessorManager.prepare_callback_bundle()` then skipped `bundle.initialize()` for versioning-capable bundles because the guard required a truthy `request.bundle_version`. As a result, `_add_callback_to_queue()` built `DagFileInfo` from an unresolved `bundle.path` (observed as `/dev/null` for backends whose path is only valid after initialization). This initializes the bundle whenever it supports versioning — even when `bundle_version` is `None` — so the bundle resolves its current effective version and callbacks always queue a usable path. The normal versioned path and the non-versioning path are unchanged. closes: #64891 --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 4.8) Generated-by: Claude Code (Opus 4.8) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- 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]
