Skip to content

chore: sync dev with main - #622

Merged
vig-os-release-app[bot] merged 5 commits into
devfrom
chore/sync-main-to-dev-10-1
Jun 22, 2026
Merged

vig-os-release-app[bot] merged 5 commits into
devfrom
chore/sync-main-to-dev-10-1

Conversation

@vig-os-release-app

Copy link
Copy Markdown
Contributor

Syncs dev with main (sync-main-to-dev workflow).

c-vigo and others added 5 commits June 22, 2026 14:49
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
@vig-os-release-app
vig-os-release-app Bot requested a review from c-vigo as a code owner June 22, 2026 20:47
@vig-os-release-app
vig-os-release-app Bot enabled auto-merge June 22, 2026 20:47
@vig-os-release-app
vig-os-release-app Bot merged commit 27be3e5 into dev Jun 22, 2026
20 checks passed
@vig-os-release-app
vig-os-release-app Bot deleted the chore/sync-main-to-dev-10-1 branch June 22, 2026 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant