Repository navigation
chore: sync dev with main - #622
Merged
Merged
Conversation
The 'Extract CHANGELOG content for PR body' step used an unanchored sed range (/## \[/), so an inline backtick-quoted heading inside a bullet (e.g. `## [X.Y.Z] - TBD`) ended the range early and truncated the release PR body. Anchor both range patterns to start-of-line (/^## \[/) so only real column-0 version headings delimit the section. Applied to this repo's workflow and the synced assets/workspace template. Refs: #620
…621) ## Description Fixes a latent bug in `prepare-release`'s "Extract CHANGELOG content for PR body" step that truncated the release PR body (observed on #619) when a `## [X.Y.Z]` section contains the literal `## [` inside a bullet (e.g. a changelog entry that quotes `` `## [X.Y.Z] - TBD` ``). Targeted at **`release/0.3.8`** so it ships with this release. ## Type of Change - [x] `ci` -- CI/CD pipeline changes (fix) ## Root cause ```bash CHANGELOG_CONTENT=$(sed -n "/## \[$VERSION\]/,/## \[/p" CHANGELOG.md | sed '$d') ``` The range-end pattern `/## \[/` is unanchored, so it matches the first line containing `## [` anywhere — including inline backtick-quoted headings inside bullets — closing the range early and dropping the rest of the section. ## Change Anchor both range patterns to start-of-line: ```bash sed -n "/^## \[$VERSION\]/,/^## \[/p" CHANGELOG.md | sed '$d' ``` Applied to both copies: - `.github/workflows/prepare-release.yml` - `assets/workspace/.github/workflows/prepare-release.yml` ## Testing - [x] `pre-commit run` passes. - Verified against the real `release/0.3.8` CHANGELOG: the old pattern stops after the first #617 bullet; the anchored pattern extracts the full `[0.3.8]` section (both #617 and #612), ending at the blank line before `## [0.3.7]`. ## Notes The release→main→dev sync will carry this back to `dev`; no separate dev PR needed. PR #619's body was already corrected manually. Refs: #620
Set release date to 2026-06-22 and regenerate release docs. Refs: #619
# [Release 0.3.8](https://github.com/vig-os/devcontainer/releases/tag/0.3.8) - 2026-06-22 This PR prepares release 0.3.8 for merge to main. ## [0.3.8](https://github.com/vig-os/devcontainer/releases/tag/0.3.8) - 2026-06-22 ### Fixed - **Prevent prepare-release from branching `release/X.Y.Z` at the pre-freeze dev SHA** ([#617](#617)) - The "Create release branch from dev" step now polls dev until it advances past the captured pre-freeze SHA before branching, and hard-fails if it never does, closing a read-after-write race that could create a release branch missing the `## [X.Y.Z] - TBD` freeze - **Make smoke-test dispatch idempotent across candidate→final on one base version** ([#612](#612)) - `prepare-changelog finalize` is now a no-op when the version heading is already dated, instead of erroring - `prepare-changelog prepare` folds an existing same-version heading back into a single `## [X.Y.Z] - TBD` section instead of stacking a duplicate - New `prepare-changelog reset-version <version>` command reverts a dated heading back to `- TBD` (idempotent); the smoke-test dispatch template runs it at dispatch start and scopes its deploy-seed check to the `Unreleased` section - **Fix release PR body truncation when changelog bullets quote a version heading** ([#620](#620)) - The "Extract CHANGELOG content for PR body" step now anchors its `sed` range to start-of-line headings, so an inline backtick-quoted heading inside a bullet no longer ends the range early
c-vigo
approved these changes
Jun 22, 2026
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.
Syncs
devwithmain(sync-main-to-dev workflow).