Skip to content

Exclude the current unreleased branch version from the providers compatibility matrix - #74997

Merged
potiuk merged 2 commits into
mainfrom
skip-unreleased-current-version-compat
Oct 18, 2026
Merged

potiuk merged 2 commits into
mainfrom
skip-unreleased-current-version-compat

Conversation

@vatsrahul1001

Copy link
Copy Markdown
Contributor

What

providers_compatibility_tests_matrix now also drops the matrix entry whose airflow-version equals the current branch version (get_airflow_version()), in addition to the existing python-version filter.

Why

The version-bump commit that opens a vX-Y-test branch (e.g. Update version to 3.4.0) adds the new X.Y.0 to PROVIDERS_COMPATIBILITY_TESTS_MATRIX, but X.Y.0 is not published until GA. Until then the OpenLineage e2e compat job (docker build FROM apache/airflow:X.Y.0-python3.11) and the provider compatibility unit tests (pip download apache-airflow==X.Y.0) both fail for the entire beta and RC phase, leaving the release branch CI red exactly when it needs to be green to cut the RC.

This is self-maintaining:

  • main — a no-op (the matrix never contains the current dev version).
  • vX-Y-test during beta/RC — X.Y.0 is skipped, so the compat jobs go green.
  • after GA — once the branch bumps to X.Y.1, the released X.Y.0 is no longer the current version, so it runs again. No coverage is lost on released versions.

Doc (04_selective_checks.md) and tests updated to match (per the selective-checks sync rule in CLAUDE.md).

No newsfragment — dev-tooling/CI change, not user-facing.


Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Opus 4.8)

Generated-by: Claude Code (Opus 4.8) following the guidelines

…atibility matrix

The version-bump commit that opens a vX-Y-test branch adds the new X.Y.0 to PROVIDERS_COMPATIBILITY_TESTS_MATRIX, but that version is not released until GA. Until then the OpenLineage and provider compatibility jobs try to pull apache/airflow:X.Y.0 (image and PyPI package) and fail for the whole beta and RC phase, leaving the branch CI red when it needs to be green to cut the RC.

Drop the matrix entry whose airflow-version equals the current branch version so those jobs skip it while unreleased. The entry runs again once the branch bumps to the next patch and X.Y.0 is a real release, so no coverage is lost on main or on released versions.
@potiuk
potiuk merged commit 7d9e14b into main Oct 18, 2026
159 checks passed
@potiuk
potiuk deleted the skip-unreleased-current-version-compat branch October 18, 2026 16:31
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-4-test

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
✅ v3-4-test PR Link

github-actions Bot pushed a commit to aws-mwaa/upstream-to-airflow that referenced this pull request Oct 18, 2026
…oviders compatibility matrix (apache#74997)

* Exclude the current unreleased branch version from the providers compatibility matrix

The version-bump commit that opens a vX-Y-test branch adds the new X.Y.0 to PROVIDERS_COMPATIBILITY_TESTS_MATRIX, but that version is not released until GA. Until then the OpenLineage and provider compatibility jobs try to pull apache/airflow:X.Y.0 (image and PyPI package) and fail for the whole beta and RC phase, leaving the branch CI red when it needs to be green to cut the RC.

Drop the matrix entry whose airflow-version equals the current branch version so those jobs skip it while unreleased. The entry runs again once the branch bumps to the next patch and X.Y.0 is a real release, so no coverage is lost on main or on released versions.

* Autospec the get_airflow_version mock in the compat matrix test

Generated-by: Claude Opus 5

---------
(cherry picked from commit 7d9e14b)

Co-authored-by: Rahul Vats <[email protected]>
Co-authored-by: Rahul Vats <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001 added a commit that referenced this pull request Oct 18, 2026
…oviders compatibility matrix (#74997) (#75012)

* Exclude the current unreleased branch version from the providers compatibility matrix

The version-bump commit that opens a vX-Y-test branch adds the new X.Y.0 to PROVIDERS_COMPATIBILITY_TESTS_MATRIX, but that version is not released until GA. Until then the OpenLineage and provider compatibility jobs try to pull apache/airflow:X.Y.0 (image and PyPI package) and fail for the whole beta and RC phase, leaving the branch CI red when it needs to be green to cut the RC.

Drop the matrix entry whose airflow-version equals the current branch version so those jobs skip it while unreleased. The entry runs again once the branch bumps to the next patch and X.Y.0 is a real release, so no coverage is lost on main or on released versions.

* Autospec the get_airflow_version mock in the compat matrix test

Generated-by: Claude Opus 5

---------
(cherry picked from commit 7d9e14b)

Co-authored-by: Rahul Vats <[email protected]>
Co-authored-by: Rahul Vats <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001 added a commit that referenced this pull request Oct 20, 2026
…oviders compatibility matrix (#74997) (#75012)

* Exclude the current unreleased branch version from the providers compatibility matrix

The version-bump commit that opens a vX-Y-test branch adds the new X.Y.0 to PROVIDERS_COMPATIBILITY_TESTS_MATRIX, but that version is not released until GA. Until then the OpenLineage and provider compatibility jobs try to pull apache/airflow:X.Y.0 (image and PyPI package) and fail for the whole beta and RC phase, leaving the branch CI red when it needs to be green to cut the RC.

Drop the matrix entry whose airflow-version equals the current branch version so those jobs skip it while unreleased. The entry runs again once the branch bumps to the next patch and X.Y.0 is a real release, so no coverage is lost on main or on released versions.

* Autospec the get_airflow_version mock in the compat matrix test

Generated-by: Claude Opus 5

---------
(cherry picked from commit 7d9e14b)

Co-authored-by: Rahul Vats <[email protected]>
Co-authored-by: Rahul Vats <[email protected]>
Co-authored-by: Jarek Potiuk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants