Skip to content

fix: use release tag commit hash in proposal titles#3712

Merged
aterga merged 1 commit intomainfrom
fix-proposal-commit-hash
Mar 26, 2026
Merged

fix: use release tag commit hash in proposal titles#3712
aterga merged 1 commit intomainfrom
fix-proposal-commit-hash

Conversation

@aterga
Copy link
Copy Markdown
Collaborator

@aterga aterga commented Mar 26, 2026

Summary

  • Proposal titles used git rev-parse --short HEAD (current checkout) instead of the release tag's commit
  • When submitting proposals from main (or any branch other than the release tag), the title showed the wrong commit hash
  • This affected the release-2026-03-23 proposals (141000, 141001)
  • Fixed all 4 occurrences: dry-run backend, dry-run frontend, actual backend, actual frontend

Test plan

  • Verify git rev-parse --short "$TAG_NAME" resolves to the correct commit for an existing release tag

🤖 Generated with Claude Code

The proposal titles used `git rev-parse --short HEAD` which resolves
to whatever commit is currently checked out, not the release tag commit.
This caused proposals to display the wrong commit hash when the working
directory was on a different branch (e.g. main) than the release tag.

Changed all 4 occurrences (dry-run + actual, backend + frontend) to
use `git rev-parse --short "$TAG_NAME"` instead.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 26, 2026 17:21
@aterga aterga requested a review from sea-snake March 26, 2026 17:21
@aterga aterga enabled auto-merge March 26, 2026 17:22
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes proposal-title commit hashes in the upgrade proposal script by using the release tag’s commit hash instead of the current checkout’s HEAD, preventing incorrect hashes when running from branches other than the release tag commit.

Changes:

  • Update backend proposal titles (dry-run + actual) to use git rev-parse --short "$TAG_NAME".
  • Update frontend proposal titles (dry-run + actual) to use git rev-parse --short "$TAG_NAME".

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@aterga aterga added this pull request to the merge queue Mar 26, 2026
Merged via the queue into main with commit aba03c9 Mar 26, 2026
58 checks passed
@aterga aterga deleted the fix-proposal-commit-hash branch March 26, 2026 21:21
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