fix: restore release PR body on rollback after finalize failure#503
Merged
c-vigo merged 2 commits intorelease/0.3.2from Apr 7, 2026
Merged
fix: restore release PR body on rollback after finalize failure#503c-vigo merged 2 commits intorelease/0.3.2from
c-vigo merged 2 commits intorelease/0.3.2from
Conversation
There was a problem hiding this comment.
Pull request overview
Extends the release workflow’s failure rollback behavior so that when a final release fails after PR-body finalization, the rollback job also restores the release PR description back to the pre-finalization (TBD / prepare-release) format, keeping the PR consistent with the rolled-back branch state.
Changes:
- Add a rollback step in
release.ymlto reconstruct and restore the release PR body fromCHANGELOG.mdat the recorded pre-finalization SHA (final releases only). - Surface PR body restoration outcome in the rollback failure issue and job summary output.
- Document the fix in the root and workspace-template changelogs.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/release.yml |
Adds best-effort PR body restoration during rollback for final releases, and reports outcome in issue/summary. |
CHANGELOG.md |
Records the rollback PR-body restoration fix under the upcoming release notes. |
assets/workspace/.devcontainer/CHANGELOG.md |
Mirrors the changelog entry in the workspace template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Description
When finalize fails and the release workflow rolls back the release branch, the release PR description could be left out of sync. This change extends the
rollbackjob inrelease.ymlso that, for final releases, it restores the PR body from the pre-finalizationCHANGELOG.md(TBD / prepare-release format) usingRELEASE_APP, and surfaces the outcome in the failure issue and job summary.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/workflows/release.ymlrelease_kindis final, using changelog-derived description andRELEASE_APP.CHANGELOG.md/assets/workspace/.devcontainer/CHANGELOG.md## [0.3.2] - TBD→ Fixed.Changelog Entry
Testing
just test)Manual Testing Details
N/A (CI workflow change; tests not run for this submission.)
Checklist
docs/templates/, then runjust docs)CHANGELOG.mdunder## [0.3.2] - TBD(and pasted the entry above)Additional Notes
N/A
Refs: #502