Skip to content

Release 0.3.2 failed -- automatic rollback #504

Closed

Description

@github-actions

Release 0.3.2 encountered an error during the automated release workflow.

Failed Jobs: publish

Workflow Run: View logs

Release PR: #486

Rollback Results:

  • Branch rollback: success
  • PR body restoration: 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)
  • 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:

  1. Review the workflow logs to identify the root cause
  2. Check rollback results above; fix any partial rollback manually
  3. Fix the issue on the release branch
  4. 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

  1. added
    bug
    area:ci
    on Apr 8, 2026
  2. self-assigned this
    on Apr 8, 2026
  3. c-vigo commented on Apr 8, 2026

    @c-vigo
    Contributor

    RCA: Release 0.3.2 failure — publish job CHANGELOG parse mismatch

    Trigger

    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.

    ## [0.3.2](https://github.com/vig-os/devcontainer/releases/tag/0.3.2) - 2026-04-08

    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).

  4. added a commit that references this issue on Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:cibug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions