Skip to content

Fetch provider release tags from apache/airflow in fork CI runs - #75632

Merged
potiuk merged 1 commit into
mainfrom
pin-provider-tag-fetch-to-apache
Oct 26, 2026
Merged

potiuk merged 1 commit into
mainfrom
pin-provider-tag-fetch-to-apache

Conversation

@potiuk

@potiuk potiuk commented Oct 26, 2026

Copy link
Copy Markdown
Member

On a fork, GitHub Actions sets GITHUB_REPOSITORY to the fork. The breeze provider commands use that value as the remote they fetch release tags from. Forks rarely carry every upstream release tag, so the changelog's tag-range git log fails and the "Providers wheel tests" job goes red for reasons that have nothing to do with the change under test. For example, a recent fork run failed with:

fatal: bad revision 'providers-alibaba/2.2.0...providers-alibaba/2.1.0'

That fork has providers-alibaba/2.1.0rc1 but not providers-alibaba/2.1.0, 2.0.1 or 2.0.0.

Release tags only exist in apache/airflow, so the three CI steps that fetch tags now pass --github-repository apache/airflow explicitly. The other prepare-provider-distributions calls use --skip-tag-check and never fetch, so they are unchanged. In apache/airflow's own CI the value is the same as before.


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

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

🤖 Generated with Claude Code

On a fork, GitHub Actions sets GITHUB_REPOSITORY to the fork, and the
breeze provider commands use it as the remote to fetch release tags
from. Forks rarely carry every upstream release tag, so the changelog's
tag-range git log fails with "bad revision" and the provider wheel job
goes red for reasons unrelated to the change under test. Release tags
only ever exist in apache/airflow, so CI should always read them there.

Generated-by: Claude Opus 5
@potiuk
potiuk merged commit 77fe413 into main Oct 26, 2026
190 checks passed
@potiuk
potiuk deleted the pin-provider-tag-fetch-to-apache branch October 26, 2026 02:42
@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

vatsrahul1001 pushed a commit that referenced this pull request Oct 26, 2026
…I runs (#75632)

On a fork, GitHub Actions sets GITHUB_REPOSITORY to the fork, and the
breeze provider commands use it as the remote to fetch release tags
from. Forks rarely carry every upstream release tag, so the changelog's
tag-range git log fails with "bad revision" and the provider wheel job
goes red for reasons unrelated to the change under test. Release tags
only ever exist in apache/airflow, so CI should always read them there.
(cherry picked from commit 77fe413)

Co-authored-by: Jarek Potiuk <[email protected]>
Generated-by: Claude Opus 5
vatsrahul1001 pushed a commit that referenced this pull request Oct 26, 2026
…I runs (#75632) (#75636)

On a fork, GitHub Actions sets GITHUB_REPOSITORY to the fork, and the
breeze provider commands use it as the remote to fetch release tags
from. Forks rarely carry every upstream release tag, so the changelog's
tag-range git log fails with "bad revision" and the provider wheel job
goes red for reasons unrelated to the change under test. Release tags
only ever exist in apache/airflow, so CI should always read them there.
(cherry picked from commit 77fe413)


Generated-by: Claude Opus 5

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.

2 participants