Skip to content

fix(release): verify archives before signing - #1096

Merged
wgtmac merged 3 commits into
apache:mainfrom
gty404:fix/verify-release-archive
Nov 21, 2026
Merged

wgtmac merged 3 commits into
apache:mainfrom
gty404:fix/verify-release-archive

Conversation

@gty404

@gty404 gty404 commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Verify downloaded release archives against the RC commit before signing, using pinned Git archive settings.
  • Use fresh downloads and reject existing RC output directories.
  • Run regression tests on Ubuntu and macOS in CI; all 9 tests and pre-commit checks pass locally.

Compare downloaded archives with the RC commit before signing.
Comment thread dev/release/release_rc.sh Resolved
Comment thread dev/release/test_release_rc.py Resolved
@zhjwpku
zhjwpku requested a review from wgtmac November 21, 2026 08:14

@wgtmac wgtmac left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep this PR focused on signing. Download a fresh archive, check it against the RC commit, and sign that same file. Keep retries working and leave the new test harness and workflow out of this PR.

Comment thread dev/release/test_release_rc.py Resolved
Comment thread .github/workflows/release_test.yml Resolved
Comment thread dev/release/release_rc.sh Resolved
Comment thread dev/release/release_rc.sh Resolved
Comment thread dev/release/release_rc.sh Resolved
Comment thread dev/release/release_rc.sh Resolved
Comment thread dev/release/README.md Resolved
Comment thread dev/release/README.md Resolved
@wgtmac

wgtmac commented Nov 21, 2026

Copy link
Copy Markdown
Member

My main concern with the original PR is the maintainability. I'm just a little bit concerned that adding new tool dependencies and new workflows will break the release workflow and make it harder to use by various release managers. I think the issue is real so I went ahead to simplify this by only recomputing the checksum and comparing it against the RC tag. Thanks @gty404 for fixing this and @zhjwpku for the review!

@wgtmac
wgtmac merged commit 3bec501 into apache:main Nov 21, 2026
2 checks passed
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.

3 participants