Repository navigation
release: v3.1.2 - #12
Merged
Merged
Conversation
When the same branch receives a second release-worthy commit (e.g. a second fix:) after the bot already pushed its 'chore: bump version to X.Y.Z' commit, check-release-commit's early-exit was discarding the new commit from the changelog and PR body. Concrete failure: PR #10 on the v3 line — first push landed fix(actions); workflow updated the PR body with that commit and pushed 'chore: bump version to 3.1.2'. A later push added fix(security) — the workflow re-ran but exited at the 'already bumped to 3.1.2' check, skipping changelog regen + PR body refresh. The PR description never gained the fix(security) bullet, and the release notes (had we merged then) would have lost it too. Fix: - check-release-commit: new opt-in input 'allow-already-bumped'. When true, instead of exiting should-create-pr=false on duplicate target version, emit should-create-pr=true + bump-already-applied=true with all the usual outputs so downstream steps can refresh state. - update-release-pr: pass allow-already-bumped=true and split the step gates. Version-mutating steps (install, build, update-pkg, restore-src, commit) gate on bump-already-applied != 'true'. Body-refresh steps (range, changelog, PR description, labels) gate only on should-create-pr == 'true'. Callers create-release-pr and create-release are unchanged — they omit the new input (default 'false'), preserving the short-circuit behavior they actually want (nothing to create / nothing to publish when target is already bumped). The misleading 'Release Summary' that previously reported 'updated successfully' when nothing happened becomes accurate by construction: the body really does get updated now.
Shinrai
added a commit
that referenced
this pull request
May 21, 2026
The local-sync-release-prs.yml gate excluded PRs authored by cldmv-bot,
intended to 'avoid recursion'. The reasoning was wrong:
- sync-fan-out's only side effect is force-pushing a refreshed
'chore: bump version to X.Y.Z' commit onto each open release PR.
It never merges anything itself.
- A force-push to a release branch triggers Local Release PR + Local
CI, neither of which fire local-sync-release-prs.yml (which is
gated on pull_request closed). No recursion path exists.
Real-world impact of the bug: EVERY release PR is auto-opened by
cldmv-bot (the release flow creates them), so the gate fired 'skip'
on exactly the merges it was built for. Concrete symptom from PR #12's
merge (35 min ago): sync-fan-out fired and exited in 1s, leaving PR
#10's branch at its pre-merge state ('chore: bump version to 3.1.2'
even though master is now at 3.1.2 and PR #10's target should be
3.1.3).
Fix: drop the cldmv-bot exclusion. Keep the github-actions[bot] guard
as defensive — some workflows post merges under that identity and
genuinely shouldn't trigger fan-out.
Shinrai
added a commit
that referenced
this pull request
May 21, 2026
Adds a one-line reminder above the pinned ref to re-verify against the upstream advisory before any future bump. No behavior change — purely a maintenance comment. Secondary effect: triggers a fresh release-flow run on this PR. The PR has been stuck at its pre-PR-#12-merge state ('chore: bump version to 3.1.2'), but master is now AT v3.1.2 — sync-fan-out should have re- calculated this PR's target to 3.1.3 when PR #12 merged, except its gate skipped because PR #12 was authored by cldmv-bot (the fix for that gate is in PR #11, not yet on @V3). Pushing this commit triggers local-release.yml directly, which calls update-release-pr@v3 — and that code DOES have the gate fix from PR #12. Expected: a new 'chore: bump version to 3.1.3' commit gets force-pushed onto this branch, the PR body refreshes with the security fix entry, and the title goes from 'release: v3.1.2' to 'release: v3.1.3'.
Shinrai
added a commit
that referenced
this pull request
May 21, 2026
Resolves conflicts with PR #12's gate fix that landed on master as 85c88cf release: v3.1.2. The cherry-picked gate fix on this branch (bf9f4ce) and master's gate fix (17aec97 via merge) touched the same lines in check-release-commit/action.mjs and check-release-commit/action.yml. Resolution: take feat's version everywhere, which is a superset: - Gate fix: identical content, no semantic change - Title-suffix output: extra lines feat added on top of the gate fix - package.json: 3.2.0 (feat target) over 3.1.2 (master) — feat is a minor bump so the higher version wins - update-release-pr/action.yml: auto-merged cleanly — both branches only added lines (feat added title-suffix passthrough, master had the gate-split if conditions)
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.
🚀 What's Changed
💥 Breaking Changes
No breaking changes
✨ Features
No new features
🐛 Bug Fixes
🔧 Other Changes
No other changes
👥 Contributors