Skip to content

Always tag providers from the wave tag during release - #71431

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:always-tag-providers-from-wave-tag
Aug 11, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:always-tag-providers-from-wave-tag

Conversation

@potiuk

@potiuk potiuk commented Aug 11, 2026

Copy link
Copy Markdown
Member

The provider tagging step relied on the release manager's checkout happening to sit on the wave commit. breeze release-management tag-providers runs a bare git tag <name>, so it tags whatever HEAD points at and never derives the commit from --release-date. Nothing enforced or verified that, so anything moving HEAD between the build and the tagging step - a pull, a branch switch, a rebase, or concurrent work in a shared checkout - got tagged silently, with no error to notice.

That is not hypothetical: in one wave all 44 provider tags were pushed at an unrelated commit and had to be force-recreated afterwards.

Both tag-providers call sites in the release doc - the RC tags and the final release tags - now check out the wave tag and assert the commit before tagging:

git checkout providers/${RELEASE_DATE}
# Both SHAs printed here must be identical before you tag
git rev-parse HEAD "providers/${RELEASE_DATE}^{commit}"
breeze release-management tag-providers --release-date ${RELEASE_DATE}

Both sections also show how to verify the pushed tags afterwards. git ls-remote prints the tag object SHA for annotated tags, which never equals the commit and reads as a mismatch, so the check needs ^{} to dereference it.

The full rationale lives at the RC-tags section; the final-tags section links back to it rather than repeating it.

A stronger follow-up would be to make tag-providers resolve the commit from --release-date itself (or accept --ref), so the tool cannot tag the wrong commit even when the checkout step is skipped. This PR only fixes the documented procedure.


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

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

The tagging step relied on the release manager's checkout happening to sit
on the wave commit. Nothing enforced or verified that, and anything moving
HEAD in between - a pull, a branch switch, or concurrent work in a shared
checkout - was tagged silently instead, with no error to notice. One wave
had all 44 provider tags pushed at an unrelated commit and force-recreated
afterwards.
@potiuk
potiuk merged commit a9c35b2 into apache:main Aug 11, 2026
64 checks passed
@potiuk
potiuk deleted the always-tag-providers-from-wave-tag branch August 11, 2026 12:36
@github-actions

Copy link
Copy Markdown
Contributor

Backport successfully created: v3-3-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-3-test PR Link

potiuk added a commit that referenced this pull request Aug 11, 2026
…1431) (#71434)

The tagging step relied on the release manager's checkout happening to sit
on the wave commit. Nothing enforced or verified that, and anything moving
HEAD in between - a pull, a branch switch, or concurrent work in a shared
checkout - was tagged silently instead, with no error to notice. One wave
had all 44 provider tags pushed at an unrelated commit and force-recreated
afterwards.
(cherry picked from commit a9c35b2)

Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001 pushed a commit that referenced this pull request Aug 13, 2026
…1431) (#71434)

The tagging step relied on the release manager's checkout happening to sit
on the wave commit. Nothing enforced or verified that, and anything moving
HEAD in between - a pull, a branch switch, or concurrent work in a shared
checkout - was tagged silently instead, with no error to notice. One wave
had all 44 provider tags pushed at an unrelated commit and force-recreated
afterwards.
(cherry picked from commit a9c35b2)

Co-authored-by: Jarek Potiuk <[email protected]>
vatsrahul1001 pushed a commit that referenced this pull request Sep 7, 2026
…1431) (#71434)

The tagging step relied on the release manager's checkout happening to sit
on the wave commit. Nothing enforced or verified that, and anything moving
HEAD in between - a pull, a branch switch, or concurrent work in a shared
checkout - was tagged silently instead, with no error to notice. One wave
had all 44 provider tags pushed at an unrelated commit and force-recreated
afterwards.
(cherry picked from commit a9c35b2)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants