Repository navigation
fix(ci): sync changelog manifest in release workflows - #344
Merged
c-vigo merged 2 commits intoMar 17, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Fixes release-branch CI drift by ensuring any CHANGELOG mutation in release automation is immediately mirrored into the workspace template (assets/workspace/.devcontainer/CHANGELOG.md) before API-based commits occur.
Changes:
- Add
sync_manifest.pysync steps in finalization (release.yml) so workspace mirror updates are included in the finalization commit. - Add
sync_manifest.pysync steps in prepare/strip/rollback paths (prepare-release.yml) and include the mirrored changelog in API commit file lists. - Update the committed workspace mirrored changelog to a synced baseline for
0.3.1(## [0.3.1] - TBD).
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
assets/workspace/.devcontainer/CHANGELOG.md |
Updates the mirrored changelog content to match the release-branch canonical changelog state. |
.github/workflows/release.yml |
Syncs the workspace manifest after changelog finalization so the finalization commit includes the mirrored changelog update. |
.github/workflows/prepare-release.yml |
Syncs the workspace manifest after changelog prepare/strip and during rollback, and commits both canonical + mirrored changelog paths via API. |
💡 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
This PR fixes release-branch CI drift caused by changelog mutations not being mirrored into
assets/workspace/.devcontainer/CHANGELOG.mdbefore API commits.It adds explicit manifest sync steps to both release workflows so changelog writes and mirror writes stay atomic across prepare, finalize, and rollback paths.
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.ymlSync workspace manifest for finalized releasestep after changelog finalization/doc generation and before collecting file paths for API commit..github/workflows/prepare-release.ymlsync_manifest.pyexecution after changelog prepare and after strippingUnreleasedon release branch.CHANGELOG.mdandassets/workspace/.devcontainer/CHANGELOG.md.assets/workspace/.devcontainer/CHANGELOG.md## [0.3.1] - TBD) so branch starts from a synced baseline.Changelog Entry
No changelog needed — this is a CI/workflow consistency fix on release automation and does not add user-facing runtime behavior.
Testing
just test)Manual Testing Details
uv run pre-commit run --files .github/workflows/release.ymluv run pre-commit run --files .github/workflows/prepare-release.ymlChecklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
release/0.3.1to unblock the release train.Refs: #343