Repository navigation
Run the release-path check in CI - #1
Merged
Merged
Conversation
verify-release.sh asserts all 15 bump cases by replaying release.yml's own shell, but nothing enforced that anyone ran it — the one path that cannot be caught after the fact, since a wrong bump means a wrong tag already pushed. Linux leg only: the script needs bash and builds throwaway git repos. The bump module underneath it is unit-tested on both legs, so the Windows leg loses no coverage of the rule itself. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
AGENTS.md and release-check.md still named next-version.js and service.js, so the instructions pointed at files that no longer exist. ADR 0002 keeps its .js paths — it recorded a decision that stands, and 0003 is what changed the extension — with a note saying so instead of a rewrite. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
scripts/verify-release.shasserts all 15 version-bump cases by replayingrelease.yml's own shell against throwaway git repos — but nothing enforced that anyone ran it. That's the one path a later fix can't repair: a wrong bump means a wrong tag is already pushed and a Release already published.next-version.js/service.jsafter the TypeScript move. ADR 0002 keeps its.jspaths with a note pointing at ADR 0003 — the decision it recorded stands, only the extension changed, and rewriting an accepted ADR isn't the move.Merging this also exercises
release.ymlend to end for the first time:feat/*→mainwith no existing tags should produce v0.1.0.Verified locally:
npm run verifygreen,scripts/verify-release.sh15/15.🤖 Generated with Claude Code