The GitHub Actions job "Tests AMD" on airflow.git/move-dagbag-to-dag-processing has failed. Run started by GitHub user ephraimbuddy (triggered by ephraimbuddy).
Head commit for run: 468921881527eae58663cbee589aa11a085578db / Ephraim Anierobi <[email protected]> Move DagBag to airflow/dag_processing DagBag is not a DB model, it’s the parser/collector used by the dag processor. This change moves it to a more natural home under airflow/dag_processing, reduces confusion between “DBDagBag” and "DagBag", and helps avoid import tangles. What changed: New module: airflow.dag_processing.dagbag now hosts: DagBag, _capture_with_reraise, FileLoadStat, timeout, sync_bag_to_db Old location airflow.models.dagbag: Trimmed to DB-facing helpers (DBDagBag, etc.) Adds __getattr__ shim for backward compatibility. Updated imports across the codebase Pre-commit path allowlist updated to include the new file and remove the old path. Deprecation & migration Deprecated: from airflow.models.dagbag import DagBag Use instead: from airflow.dag_processing.dagbag import DagBag A deprecation warning is emitted via the shim; no functional behavior change intended. Notes No runtime logic changes to parsing or DAG discovery. Tests and CLI code updated to the new import path. sync_bag_to_db moved alongside DagBag to keep parsing + persistence in one place. Report URL: https://github.com/apache/airflow/actions/runs/17377452343 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
