Skip to content

Resolve connection IDs and case-insensitive paths in bundle source keys - #1

Merged
basantjamwal merged 1 commit into
basantjamwal:fix-duplicate-bundle-source-77241from
meel-ayush:improve-bundle-source-detection
Nov 21, 2026
Merged

basantjamwal merged 1 commit into
basantjamwal:fix-duplicate-bundle-source-77241from
meel-ayush:improve-bundle-source-detection

Conversation

@meel-ayush

@meel-ayush meel-ayush commented Nov 20, 2026 •

Copy link
Copy Markdown

Description

Refines duplicate Dag bundle source key detection:

  • Normalizes remote repository paths to lowercase so case variants (github.com/Org/Repo and github.com/org/repo) match.
  • Normalizes local path casing and returns None in LocalDagBundle.source_key when settings are unpopulated.
  • Moves DagBundlesManager warning tests to core test_dag_bundle_manager.py using structured log checks instead of caplog.text, decoupling providers/git tests from core internals.

Tests

  • Unit tests in providers/git/tests/unit/git/bundles/test_git.py covering case-insensitive path normalization.
  • Unit tests in airflow-core/tests/unit/dag_processing/bundles/test_local.py covering local source key equivalence and unconfigured settings.
  • Unit tests in airflow-core/tests/unit/dag_processing/bundles/test_dag_bundle_manager.py covering manager duplicate warnings.

AI Usage

  • Yes (please specify the tool below)

Lowercase git repository paths, normalize local bundle paths when settings are unpopulated, and move manager warning tests to core test_dag_bundle_manager.py.

Co-authored-by: Ayush Meel <[email protected]>
@meel-ayush
meel-ayush force-pushed the improve-bundle-source-detection branch from cfd8e2d to 9ba4895 Compare November 20, 2026 18:51
@basantjamwal
basantjamwal merged commit 1af4211 into basantjamwal:fix-duplicate-bundle-source-77241 Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants