You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release tags are not deleted by automation (workflow choice; not the same as GitHub immutable-release lock-in).
If the tag was pushed before the failure, it remains on the remote; use a new release candidate to validate fixes, then re-run the final release when ready.
Actions Taken:
Release branch reset to pre-finalization state (best-effort)
Release PR body restored to TBD / prepare-release format when applicable (best-effort)
This issue created for investigation
Manual Cleanup May Be Needed:
If images were pushed to GHCR before the failure, they are not automatically deleted. Check ghcr.io/vig-os/devcontainer:0.3.2-* and remove any orphaned images manually.
If a draft GitHub Release exists for this tag, edit or manage it from the Releases UI (publishing locks the linked tag and assets when immutable releases are enabled).
Next Steps:
Review the workflow logs to identify the root cause
Check rollback results above; fix any partial rollback manually
Fix the issue on the release branch
Publish a new release candidate to validate the fix; re-run the final workflow when ready
just finalize-release 0.3.2 dispatched Release workflow run. The Publish Release job failed at Generate final release notes from CHANGELOG (job).
Root cause
The publish step used an awk guard that only matched headings of the form ## [X.Y.Z] - … (closing ] immediately before -). After Finalize Release, prepare-changelog finalize rewrites the heading to include a GitHub release link, e.g.
That format comes from finalize_release_date() in packages/vig-utils/src/vig_utils/prepare_changelog.py (linked headings were added in commit 23c6694). The old index($0, "## [" version "] - ") == 1 pattern never matched, so /tmp/github-release-notes.md was empty and the step exited 1.
Finalize / rollback PR-body steps already used prefix matching on ## [${VERSION}] only, so they kept working.
Side effects
Tag 0.3.2 was pushed before this step failed; it remains on the remote (forward-fix policy), pointing at the finalize commit.
Rollback reset the release branch and restored the PR body; no GHCR push and no draft GitHub Release occurred after this failure.
Fix (tracked in repo)
Align the publish job awk with finalize/rollback: match ## [VERSION] at line start, then collect until the next ## [ section. Implemented in .github/workflows/release.yml (publish → Generate final release notes from CHANGELOG).
Activity
c-vigo commentedon Apr 8, 2026
RCA: Release 0.3.2 failure — publish job CHANGELOG parse mismatch
Trigger
just finalize-release 0.3.2dispatched Release workflow run. The Publish Release job failed at Generate final release notes from CHANGELOG (job).Root cause
The publish step used an
awkguard that only matched headings of the form## [X.Y.Z] - …(closing]immediately before-). After Finalize Release,prepare-changelog finalizerewrites the heading to include a GitHub release link, e.g.## [0.3.2](https://github.com/vig-os/devcontainer/releases/tag/0.3.2) - 2026-04-08That format comes from
finalize_release_date()inpackages/vig-utils/src/vig_utils/prepare_changelog.py(linked headings were added in commit23c6694). The oldindex($0, "## [" version "] - ") == 1pattern never matched, so/tmp/github-release-notes.mdwas empty and the step exited 1.Finalize / rollback PR-body steps already used prefix matching on
## [${VERSION}]only, so they kept working.Side effects
0.3.2was pushed before this step failed; it remains on the remote (forward-fix policy), pointing at the finalize commit.Fix (tracked in repo)
Align the publish job
awkwith finalize/rollback: match## [VERSION]at line start, then collect until the next## [section. Implemented in.github/workflows/release.yml(publish → Generate final release notes from CHANGELOG).fix(ci): match linked changelog headings in release notes awk
fix(ci): update error text for linked changelog headings
fix(ci): match linked changelog headings in release notes awk (#505)
chore: release 0.3.2 (#486)