Repository navigation
chore: sync dev with main - #599
Merged
Merged
Conversation
The smoke-test repo is a fixture with no hand-authored changelog entries,
so each release freeze reset ## Unreleased to empty and the downstream
prepare-release gate rejected it ("Unreleased section has no entries").
The deploy step in repository-dispatch.yml now seeds a deploy entry into
## Unreleased when it is empty, so the smoke-test release pipeline can
always proceed. Existing entries are left untouched (idempotent guard).
Refs: #597
## Summary Fixes #597 in the `0.3.6` release. The `0.3.6-rc1` candidate built and published fine, but the downstream smoke-test failed at `prepare-release` (`Unreleased section has no entries`). The smoke-test fixture has no hand-authored changelog entries, so each release freeze resets `## Unreleased` to empty and the gate can never pass on a no-op deploy. This adds a **"Seed CHANGELOG Unreleased entry"** step to the deploy job in the smoke-test source template (`assets/smoke-test/.github/workflows/repository-dispatch.yml`): when `## Unreleased` is empty it seeds a deploy bullet under `### Changed`; existing entries are left untouched (idempotent guard). **Targeted at `release/0.3.6`** so the fix ships with 0.3.6 and the candidate can be re-cut/re-validated. The consumer-side mirror of this fix (the smoke-test repo's own deployed copy) is tracked in vig-os/devkit-smoke-test#157 / PR #158. ## Why not a template/root parity change too? The investigation in #597 initially suspected the workspace template's inline-awk Unreleased check had diverged from the root's `prepare-changelog validate`. It hasn't meaningfully: the template's `validate` job runs on a bare `ubuntu-24.04` (no devcontainer image, so `prepare-changelog` is unavailable), and the inline awk is functionally equivalent. The real bug is the empty-Unreleased fixture, which this PR fixes. ## Changes - `assets/smoke-test/.github/workflows/repository-dispatch.yml`: seed Unreleased entry before opening the deploy PR - `CHANGELOG.md` (+ mirror): Fixed entry under `## [0.3.6]` ## Verification Seeding awk validated against an empty-Unreleased fixture: seeds correctly, leaves dated sections untouched, and the result passes the prepare-release gate. End-to-end requires the consumer PR (#158) to reach the smoke-test repo's `main`, since `repository_dispatch` runs from the default branch. Refs: #597
Set release date to 2026-06-19 and regenerate release docs. Refs: #595
# [Release 0.3.6](https://github.com/vig-os/devcontainer/releases/tag/0.3.6) - 2026-06-19 This PR prepares release 0.3.6 for merge to main. ## [0.3.6](https://github.com/vig-os/devcontainer/releases/tag/0.3.6) - 2026-06-19 ### Changed - **Migrate `actions/create-github-app-token` to `client-id`** ([#576](#576)) - Replace deprecated `app-id` input with `client-id` across root, workspace template, and smoke-test workflows - Requires org-level `COMMIT_APP_CLIENT_ID` and `RELEASE_APP_CLIENT_ID` secrets (GitHub App Client ID, not numeric App ID) - **Consolidate Renovate dependency updates (586–589)** ([#586](#586), [#587](#587), [#588](#588), [#589](#589)) - Bump `python:3.14-slim-bookworm` base image to multi-arch index digest `sha256:7e2f304…` - Update `taiki-e/install-action` digest to `bafb217`, `astral-sh/setup-uv` to `0.11.21`, and other GitHub Actions minor/patch versions - Bump `requires-python` to `==3.14.6` and Python deps: `pytest` 9.1.0, `ruff` 0.15.17, `github-backup` 0.63.0 (lockfile refreshed) ### Fixed - **Smoke-test `prepare-release` failed on empty Unreleased section** ([#597](#597)) - The smoke-test fixture has no hand-authored changelog entries, so each release freeze left `## Unreleased` empty and the downstream `prepare-release` gate rejected it ("Unreleased section has no entries") - The deploy step in `repository-dispatch.yml` now seeds a deploy entry into `## Unreleased` when it is empty, so the smoke-test release pipeline can always proceed - **`sync-main-to-dev` could silently drop the fresh `## Unreleased` scaffold** ([#590](#590)) - `prepare-release` no longer strips `## Unreleased` from the release branch, so `main` keeps an empty `## Unreleased` above the dated release (matching `dev`) - With the section present on both branches it is stable common context in the `main`↔`dev` merge base, so the sync merge preserves it cleanly instead of resolving in `main`'s favour and dropping it - Applied to both the canonical workflow and the workspace template so adopters (e.g. `part-registry`) inherit the fix - **`devcontainer-upgrade` / install URL 404s** ([#591](#591)) - Replace the unhosted `vig-os.github.io/devcontainer/install.sh` Pages URL with the canonical `raw.githubusercontent.com/vig-os/devcontainer/main/install.sh` already used in `README.md` - Pipe the installer to `bash` instead of `sh` (the script has a `#!/bin/bash` shebang and uses bashisms), matching the canonical form - Fixes the actual `just devcontainer-upgrade` host command plus error hints, the version-check upgrade nag, smoke-test install docs, and `install.sh` usage/`--help` output - **GHCR RC artifacts never pruned after promote-release** ([#583](#583)) - Switch GHCR package-version deletes to `GITHUB_TOKEN` with repo Admin on the `devcontainer` package (one-time Manage Actions access grant) - Replace blanket `sha256-*` deletion with digest-aware selection that prunes RC images and matching RC cosign signatures only - Fail the cleanup step loudly when deletes fail or RC tags remain (job still uses `continue-on-error`)
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).