Skip to content

chore(ci): configure git identity for release notes backfill#5323

Merged
avallete merged 1 commit into
developfrom
claude/debug-backfill-ci-failure-sFnc7
May 20, 2026
Merged

chore(ci): configure git identity for release notes backfill#5323
avallete merged 1 commit into
developfrom
claude/debug-backfill-ci-failure-sFnc7

Conversation

@avallete
Copy link
Copy Markdown
Member

Fixes a silent failure in the backfill-release-notes script where git notes add would fail in CI environments that lack a configured git committer identity and GPG signing setup.

Changes:

  • Configure local git user email and name in the temporary clone before seeding channel notes
  • Disable commit.gpgsign and tag.gpgsign in the clone to prevent failures when global signing config is inherited but no signing key is available
  • Remove .nothrow() from the git notes add call since the git config is now properly set up and failures should be surfaced

This ensures that semantic-release can correctly identify prior beta tags and compute the correct next version during the backfill process.

https://claude.ai/code/session_01FX5hRgt2dXeZzMoLGcyU9A

The script seeds semantic-release channel notes for prior tags so the
lastRelease lookup sees prior betas on the beta channel. `git notes add`
requires a committer identity, which CI runners don't ship in
~/.gitconfig - so seeding silently failed (errors were swallowed by
.nothrow()), the beta tags looked uncategorised, and semantic-release
fell back to the previous stable as lastRelease and reset the beta
counter to .1. Locally the developer's global git identity masked the
bug.

Configure user.email/user.name and disable commit/tag signing on the
temp clone, and drop `.nothrow()` on the seeding call so any future
breakage surfaces immediately instead of masquerading as a wrong-version
mismatch downstream.
@avallete avallete requested a review from a team as a code owner May 20, 2026 15:25
@avallete avallete enabled auto-merge (squash) May 20, 2026 15:26
@avallete avallete changed the title fix(cli): configure git identity for release notes backfill chore(ci): configure git identity for release notes backfill May 20, 2026
@avallete avallete merged commit 7a0deab into develop May 20, 2026
12 checks passed
@avallete avallete deleted the claude/debug-backfill-ci-failure-sFnc7 branch May 20, 2026 15:32
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