Repository navigation
fix(release): stop tag-health unpublishing releases; release notes from changelog files - #363
Merged
Merged
Conversation
Shinrai
previously approved these changes
Oct 4, 2026
…om changelog files Push-triggered publishes created the vX.Y.Z tag lightweight and unsigned (use_gpg is only true on manual dispatch), so the standalone tag-health run on release:published "fixed" it by deleting the remote tag and pushing a signed one. Deleting the tag behind a published release turns the release back into a draft; when the re-push was rejected (ref-lock race, or the App workflow-permission push check for a tag off the branch tip) the tag stayed gone, the release stayed a draft, and the step still logged "Fixed 0" and exited 0. CLDMV/configs v1.2.0 and v1.2.2 ended up like that. - reusable-publishing: sign release tags whenever the GPG key secret is mapped, not only when use_gpg is passed. - fix-unsigned-tags: replace a tag with an atomic force-update, never a delete; a rejected push leaves the original tag in place. End-state check re-publishes a release the update turned into a draft, and fails the job when a release is left a draft or a tag is missing. - create-release: final gate that fails unless the release is published and its tag exists. - create-release: use docs/changelog[s]/v<major>/v<version>.md at the release commit as the release body when present, keeping the coverage and Contributors blocks. - release/create: drop the duplicated "release: vX.Y.Z - ..." subject line and squash trailers; wrap accidental @word / @org/team mentions outside code in code spans, keeping the Contributors handles live (replaces the zero-width-space JSDoc-tag list). - fix-orphaned-releases: page through all releases, not the first 30. - New workflow-sync-release-notes.yml + sync-release-notes action + consumer template: re-sync release bodies from changelog files and report (on opt-in, repair) drafts, missing tags, missing releases and duplicates. Fixes #362
… + recreate fix-non-bot-tags and fix-orphaned-tags had the same delete-then-push pattern as fix-unsigned-tags: deleting the tag behind a published release unpublishes it, and a rejected re-push leaves the tag gone. Replace with a local tag -f plus a force-updating push, which is atomic on the remote, and pass tag messages through a file instead of the shell command line. Refs #362
The job-summary table escaped only `|`, so a backslash in a cell (git or API error text) could turn an escaped pipe back into a cell break (CodeQL js/incomplete-sanitization, alert #112). Move cell escaping into a shared escapeTableCell() that escapes backslashes first, then pipes, and collapses line breaks; add tests with backslash input. Refs #362
Pass git arguments as an argv array (execFileSync) instead of an interpolated shell string, so the temp-file path and tag names never go through a shell. Refs #362
Shinrai
force-pushed
the
fix/release-drafts-and-notes
branch
from
October 4, 2026 08:01
534e016 to
d88d3cb
Compare
Shinrai
approved these changes
Oct 4, 2026
cldmv-bot Bot
added a commit
that referenced
this pull request
Oct 4, 2026
…ping… ## 🚀 What's Changed ### 💥 Breaking Changes _No breaking changes_ ### ✨ Features _No new features_ ### 🐛 Bug Fixes - #363 - fix(tag-health): run tag re-sign/re-point git commands without a shell (e57f7d1) - fix(sync-release-notes): escape backslashes in summary table cells (6fd4d8a) - fix(tag-health): re-sign and re-point tags in place instead of delete + recreate (3a42470) - fix(release): stop tag-health unpublishing releases; release notes from changelog files (4ee38d3) - #361 - fix(next-reset): escape backslashes in summary table cells (4f01a0c) - fix(next-reset): carry late merges onto the release instead of dropping them (259ad07) ### 📦 Dependencies _No dependency updates_ ### 🔧 Other Changes - #363 - chore(release-notes): run release-notes tests in npm test; lint and format fixes (d88d3cb) - chore(tag-health): drop unused gitCommand import in fix-non-bot-tags (649e9a7) <details> <summary>👥 Contributors</summary> - @Shinrai </details> <!-- co-authors --> Co-authored-by: Shinrai <[email protected]>
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
📦 Dependencies
No dependency updates
🔧 Other Changes
👥 Contributors