Closed
Description
Release 0.3.2 encountered an error during the automated release workflow.
Failed Jobs: finalize, build-and-test, publish
Workflow Run: View logs
Release PR: #486
Rollback Results:
- Branch rollback: success
Tag status (forward-fix policy):
- 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)
- 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
For details, check the workflow run linked above.
Activity
c-vigo commentedon Apr 7, 2026
Root Cause Analysis
Summary
The
finalizejob failed because the "Release protection" ruleset (ID14268611) blocked thevig-os/commit-actionfrom pushing the finalization commit directly torelease/0.3.2.Failed Step
"Commit finalization changes via API" in the
finalizejob. The API returned:Direct Cause
The
vig-os/[email protected]pushes commits by callingPATCH /repos/{owner}/{repo}/git/refs/{ref}. The "Release protection" ruleset enforces two rules onrefs/heads/release/*:pull_requestrequired_status_checksThe ruleset grants bypass to one actor:
commit-action-botHowever, the finalize job authenticates with a token from
vig-os-release-app(app ID 2930017), generated viaactions/create-github-app-tokenusingRELEASE_APP_ID/RELEASE_APP_PRIVATE_KEY. This token is passed tocommit-actionasGH_TOKEN. Sincevig-os-release-appis not in the bypass list, the API rejects the ref update.Triggering Event
The "Release protection" ruleset was updated on 2026-04-05 at 11:26 UTC — approximately 7 hours before the failed final release (18:34 UTC). The 0.3.1 final release on March 26 used the identical workflow and commit-action version (
v0.2.0) with the sameGH_TOKENsource, and succeeded. This confirms the April 5 ruleset update introduced the blocking condition.Why It Wasn't Caught Earlier
release-kind=candidateskips the entire finalize-commit path (no changelog date set, no commit-action invocation).release/*branches between RC and final.Cascade
No tag was pushed, no images were published to GHCR, no GitHub Release draft was created.
Timeline
commit-actionfinalize succeededcommit-actionfinalize failedfix(ci): use Commit App token for release finalize commit
fix(ci): use Commit App token for release finalize commit (#490)
chore: release 0.3.2 (#486)