Repository navigation
chore: release 0.3.1 - #342
Merged
Merged
Conversation
## Summary - Consolidate Dependabot dependency updates from open PRs #302, #303, #305, #306, #307, #308, and #309 into a single branch based on `dev` - Update `CHANGELOG.md` (`## Unreleased` -> `### Changed`) with one grouped entry referencing all merged Dependabot PRs - Keep closed PR #304 out of scope because its actionable updates are already covered by #309/current `dev` state ## Validation - Ran `just build no_cache && just test` - Result: success (command exited 0) ## Includes - #302 #302 - #303 #303 - #305 #305 - #306 #306 - #307 #307 - #308 #308 - #309 #309
Bumps [actions/attest-sbom](https://github.com/actions/attest-sbom) from 3.0.0 to 4.0.0. - [Release notes](https://github.com/actions/attest-sbom/releases) - [Changelog](https://github.com/actions/attest-sbom/blob/main/RELEASE.md) - [Commits](actions/attest-sbom@4651f80...07e74fc) --- updated-dependencies: - dependency-name: actions/attest-sbom dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.6.2 to 7.0.0. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](actions/upload-artifact@ea165f8...bbbca2d) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.2.1 to 3.0.0. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](actions/create-github-app-token@29824e6...f8d387b) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [docker/login-action](https://github.com/docker/login-action) from 3.7.0 to 4.0.0. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](docker/login-action@c94ce9f...b45d80f) --- updated-dependencies: - dependency-name: docker/login-action dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
## Description Batch Dependabot workflow dependency updates into a single chore PR targeting `dev`, while preserving provenance from each original Dependabot PR. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [x] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [ ] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - Merged original Dependabot PR branches `#314`, `#315`, `#316`, and `#317` into `chore/dependabot-updates` - Updated GitHub Actions workflow dependencies: - `actions/attest-sbom` `3.0.0` -> `4.0.0` - `actions/upload-artifact` `4.6.2` -> `7.0.0` - `actions/create-github-app-token` `2.2.1` -> `3.0.0` - `docker/login-action` `3.7.0` -> `4.0.0` - Updated mirrored workspace workflow files via repository sync-manifest hooks - Added matching `## Unreleased` changelog entry for this Dependabot batch ## Changelog Entry ### Changed - **Dependabot dependency update batch** ([#314](#314), [#315](#315), [#316](#316), [#317](#317)) - Bump GitHub Actions: `actions/attest-sbom` (`3.0.0` -> `4.0.0`), `actions/upload-artifact` (`4.6.2` -> `7.0.0`), `actions/create-github-app-token` (`2.2.1` -> `3.0.0`) - Bump `docker/login-action` from `3.7.0` to `4.0.0` ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes This PR consolidates open Dependabot workflow updates to reduce merge overhead while keeping each source PR traceable. Refs: #314, #315, #316, #317
## Description Fixes release finalization regressions from issue #300 by ensuring final releases commit all generated docs required by pre-commit and by refreshing release PR body content from finalized `CHANGELOG.md`. The release PR body now follows the established release format (linked release heading with date and release-content section), while checklist/related sections are removed from persistent release PR body text. ## Type of Change - [ ] `feat` -- New feature - [x] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [x] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `.github/workflows/release.yml` - Regenerate docs during final release finalization (`docs/generate.py`) - Collect dynamic tracked changed files and pass them to `commit-action` instead of hardcoding `CHANGELOG.md` - Add guardrails to fail if finalization produces no tracked changes or misses expected generated docs - Refresh release PR body from finalized `CHANGELOG.md` with the release heading format used in previous release PRs - `.github/workflows/prepare-release.yml` - Remove persistent `Testing Checklist`, `When Ready to Release`, and `Related` sections from draft release PR body - `tests/bats/just.bats` - Add regressions for docs regeneration and dynamic finalization file-path commit behavior - Add regression asserting release PR body section cleanup in prepare workflow - `CHANGELOG.md` - Add `Unreleased` `### Fixed` entry documenting issue #300 behavior change ## Changelog Entry ### Fixed - **Release finalization now commits generated docs and refreshes PR content** ([#300](#300)) - Final release automation regenerates docs before committing so pre-commit `generate-docs` does not fail CI with tracked file diffs - Release PR body is refreshed from finalized `CHANGELOG.md` ## Testing - [ ] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - Ran `npx bats tests/bats/just.bats` - Result: all tests passed (`9/9`) ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes The release PR heading/body format aligns with prior release PR style for consistency (release link + date heading, then `## Release Content`). Refs: #300
## Description When upstream publishes a candidate such as `0.3.1-rc21` and dispatches to `devcontainer-smoke-test`, the downstream workspace `release.yml` used to auto-increment the RC from local tags only, producing `0.3.1-rc1` and breaking the upstream final-release gate that expects a downstream pre-release at the same RC tag. This change passes the numeric RC suffix from the dispatch tag through smoke-test orchestration into workspace `release.yml` / `release-core.yml` via optional `rc-number`, and documents the contract for cross-repo alignment. ## Type of Change - [ ] `feat` -- New feature - [x] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [ ] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **`assets/smoke-test/.github/workflows/repository-dispatch.yml`** - Derive `rc_number` from `client_payload.tag` when it matches `X.Y.Z-rcN` - Expose `rc_number` on `validate` job outputs; pass `-f rc-number=…` when triggering downstream `release.yml` for candidates - Extend dispatch summary with base version and RC suffix - **`assets/workspace/.github/workflows/release.yml`** - Add optional `workflow_dispatch` input `rc-number`; forward to `release-core` as `rc_number` - **`assets/workspace/.github/workflows/release-core.yml`** - Add optional `workflow_call` input `rc_number`; when set for candidate mode, use it instead of scanning remote tags for the next RC (with validation `>= 1`) - **`tests/bats/just.bats`** - Smoke tests for dispatch `rc_number` wiring and workspace `rc-number` / `rc_number` inputs - **`docs/CROSS_REPO_RELEASE_GATE.md`**, **`docs/DOWNSTREAM_RELEASE.md`** - Document when and how to pass `rc-number` for cross-repo RC alignment - **`CHANGELOG.md`**, **`assets/workspace/.devcontainer/CHANGELOG.md`** - Fixed entry for #441 under the `0.3.1` TBD section ## Changelog Entry Under `## [0.3.1] - TBD` → `### Fixed`: ```markdown - **Downstream candidate RC tag can match upstream dispatch** ([#441](#441)) - Workspace `release.yml` / `release-core.yml` accept optional `rc-number` so candidate tags are not always recomputed from local tags only - Smoke-test `repository-dispatch.yml` exposes `base_version` and `rc_number` job outputs for orchestration that calls workspace `release.yml` ``` ## Testing - [x] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — workflow and template changes; BATS coverage exercises template invariants. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the active release section (`## [0.3.1] - TBD`) (and pasted the entry above) - [x] My changes generate no new warnings or errors - [x] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes Branch was created from `release/0.3.1`; this PR should target **`release/0.3.1`** (patch line), not `dev`. Refs: #441
## Description Adds an early validation step in the release workflow so a final release fails in **Validate Release** if a GitHub Release for `PUBLISH_VERSION` already exists. That avoids spending build/sign/publish time when the publish step would hit the same guard anyway (see investigation on #443). ## Type of Change - [ ] `feat` -- New feature - [x] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **`.github/workflows/release.yml`** - New step **Verify GitHub Release does not exist** after **Verify tag does not exist**, using `gh release view` and `github.token`. - **`CHANGELOG.md`** - Fixed entry for #443 under `## [0.3.1] - TBD`. - **`assets/workspace/.devcontainer/CHANGELOG.md`** - Same changelog bullet kept in sync with root manifest. ## Changelog Entry This PR targets `release/0.3.1`; the entry is under `## [0.3.1] - TBD` (not `## Unreleased`). ### Fixed - **Release validate fails early when GitHub Release already exists** ([#443](#443)) - Validate job in `.github/workflows/release.yml` now checks `gh release view` for `PUBLISH_VERSION` so an existing release is rejected before build/sign/publish ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — workflow-only change; validation is exercised on the next release run. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` under `## [0.3.1] - TBD` (release branch; entry pasted above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes N/A Refs: #443
#447) ## Description Removes the **PR Title Check** GitHub Actions workflow that produced false positives (e.g. on release PRs) and drops the **`--subject-only`** mode from `validate-commit-msg`, which existed only for that CI path. Full commit messages remain validated by pre-commit and `validate-commit-msg` as before. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [x] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **`.github/workflows/pr-title-check.yml`** — deleted (workflow removed from CI). - **`.github/agent-blocklist.toml`**, **`assets/workspace/.github/agent-blocklist.toml`** — header comment no longer references removed CI. - **`CHANGELOG.md`**, **`assets/workspace/.devcontainer/CHANGELOG.md`** — `### Removed` under `## [0.3.1] - TBD` documents the workflow removal and `--subject-only` removal. - **`packages/vig-utils/src/vig_utils/validate_commit_msg.py`** — remove `subject_only` parameter and `--subject-only` CLI flag. - **`packages/vig-utils/tests/test_validate_commit_msg.py`** — remove `TestSubjectOnly` and related coverage; rename chore minimal test for clarity. - **`packages/vig-utils/tests/test_gh_issues.py`** — dedup CI test uses generic check name instead of `Validate PR Title`. - **`packages/vig-utils/README.md`** — drop `--subject-only` from command reference. ## Changelog Entry Target section is **`## [0.3.1] - TBD`** (release branch; not `## Unreleased`). ```markdown ### Removed - **PR Title Check GitHub Actions workflow** ([#444](#444)) - Remove `.github/workflows/pr-title-check.yml`; commit message rules remain enforced via local hooks and `validate-commit-msg` - Remove `--subject-only` from `validate-commit-msg` (it existed only for PR title CI) ``` ## Testing - [ ] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details Ran targeted pytest (not full `just test`): - `uv run pytest packages/vig-utils/tests/test_validate_commit_msg.py` — 110 passed - `uv run pytest packages/vig-utils/tests/test_gh_issues.py` — 70 passed ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [ ] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes - Changelog updates are under **`## [0.3.1] - TBD` → `### Removed`**, not `## Unreleased`, per release-branch rules. - **`packages/vig-utils/README.md`** updated for the CLI; no `docs/templates/` change. - After merge, remove **Validate PR Title** from required status checks in branch protection if it is still listed (repo settings). Refs: #444
…back Final release automation creates a draft GitHub Release for human review and publishing from the UI, matching immutable-releases draft-first guidance. Validate and publish treat an existing draft for the same tag as the retry path and fail closed on a published (non-draft) final release for that tag. After finalization, detect when the remote publish tag already peels to the finalize SHA; skip redundant tag create and push. Remove the pre-publish "tag must not exist" gate in favor of this SHA-aware check. Rollback resets the release branch (best-effort) but no longer deletes remote tags; failure issues and operator copy explain forward-fix recovery, draft release handling, and how immutable releases differ from tag rulesets. Align workspace release-core, release-publish, and orchestrator rollback with the same semantics; extend release-publish inputs for tag_already_exists and draft/published release checks (including candidate pre-release retry paths). Update smoke-test repository-dispatch failure guidance for published releases and immutable tags. Document policy and recovery in RELEASE_CYCLE (new immutable-releases section, diagram and procedure updates), DOWNSTREAM_RELEASE (consumer-only scope, downstream draft final and RC pre-release notes), and CROSS_REPO_RELEASE_GATE. CHANGELOG Unreleased records user-visible impact. Refs: #446
…ck (#448) ## Description Aligns release automation with GitHub **immutable releases** and **draft-first** practice for finals: `release.yml` creates a **draft** GitHub Release for human review, allows retry when a draft or matching remote tag already exists, skips redundant tag push when the tag peels to the finalize SHA, and stops deleting remote tags on rollback (forward-fix policy). Workspace downstream workflows, smoke-test dispatch guidance, and release docs are updated to match. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **`.github/workflows/release.yml`** — Draft final GitHub Release; validate/publish tolerate existing draft vs published; `tag_state` / skip tag create-push when remote tag matches finalize SHA; rollback removes tag deletion step; summaries and failure issues document forward-fix and draft handling. - **`assets/workspace/.github/workflows/release-core.yml`** — Move tag-vs-SHA check to finalize job; expose `tag_already_exists`; drop blunt “tag must not exist” validate gate. - **`assets/workspace/.github/workflows/release-publish.yml`** — Input `tag_already_exists`; conditional tag step; draft final release create; draft/prerelease retry semantics for candidates. - **`assets/workspace/.github/workflows/release.yml`** — Pass `tag_already_exists`; rollback no longer deletes tags; issue body updated. - **`assets/smoke-test/.github/workflows/repository-dispatch.yml`** — Failure copy: immutable/published release guidance and fresh RC dispatch. - **`docs/RELEASE_CYCLE.md`**, **`docs/DOWNSTREAM_RELEASE.md`**, **`docs/CROSS_REPO_RELEASE_GATE.md`** — Immutable releases vs tag rulesets, operator steps, downstream scope, recovery. - **`CHANGELOG.md`** and **`assets/workspace/.devcontainer/CHANGELOG.md`** — `## [0.3.1] - TBD` entry for #446 (template mirror). **Commits (vs `release/0.3.1`):** `1bb5f78` — feat(ci): draft final releases, idempotent tags, and forward-fix rollback ## Changelog Entry On this branch the active section is `## [0.3.1] - TBD` (not `## Unreleased`). Added under **### Changed**: ```markdown - **Immutable GitHub releases, tag rulesets, and forward-fix policy** ([#446](#446)) - Final releases create a **draft** GitHub Release for human review before publishing; rollback no longer deletes remote tags - Release workflows skip redundant tag push when the tag already matches the finalized commit; workspace `release-core` / `release-publish` and smoke-test failure guidance updated accordingly - Document tag rulesets, immutable releases, and recovery in `docs/RELEASE_CYCLE.md`, `docs/DOWNSTREAM_RELEASE.md`, and `docs/CROSS_REPO_RELEASE_GATE.md` ``` ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — workflow and documentation changes; validate in Actions on merge / release dry-run as appropriate. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` under `## [0.3.1] - TBD` (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes Target base is **`release/0.3.1`** (release train), not `dev`. Operators must **publish** the draft GitHub Release from the UI when ready for finals; see `docs/RELEASE_CYCLE.md`. Refs: #446
5 tasks
…450) ## Description Release PR bodies from `prepare-release` and the finalize step in `release.yml` used `## Release` plus a redundant `### Release Content` wrapper, so the Keep a Changelog `## [version]` block was nested under an extra heading. This PR uses `# Release $VERSION` for draft PRs, keeps the existing linked H1 on finalize, and removes `### Release Content` everywhere. Downstream consumer template under `assets/workspace/` is kept in sync. ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `.github/workflows/prepare-release.yml` — Draft PR `PR_BODY`: H1 `# Release $VERSION`, drop `### Release Content`, changelog slice unchanged. - `.github/workflows/release.yml` — Finalize refresh heredoc: drop `### Release Content`; keep `# [Release …](tag) - date` and intro. - `assets/workspace/.github/workflows/prepare-release.yml` — Mirror draft PR body formatting for downstream installs. ## Changelog Entry No changelog needed — internal automation / PR body Markdown only; issue #449 tracked as no user-facing CHANGELOG entry. ## Testing - [ ] Tests pass locally (`just test`) - [x] Manual testing performed (describe below) ### Manual Testing Details - `rg` over workflow paths: no `### Release Content`, no `PR_BODY="## Release`; both `prepare-release.yml` files contain `PR_BODY="# Release`. - Pre-commit passed on commit `fix(ci): use H1 release title and drop Release Content in PR bodies`. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [ ] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes Targets **release/0.3.1** so the fix can ride the current release line. See issue #449 for acceptance criteria. Refs: #449
) ## Description Smoke-test orchestration failed for `0.3.1-rc24` because the workspace `release.yml` passed `needs.core.outputs.tag_already_exists` (a string from job outputs) into `release-publish.yml`, which declares that input as `type: boolean`. GitHub Actions rejects the reusable workflow call, so the Publish job never spawns sub-jobs and the downstream Release run fails. This PR coerces the value with `== 'true'` so the call receives a real boolean. ## Type of Change - [ ] `feat` -- New feature - [x] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [ ] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [ ] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - `assets/workspace/.github/workflows/release.yml` — pass `tag_already_exists: ${{ needs.core.outputs.tag_already_exists == 'true' }}` into `release-publish.yml`. - `CHANGELOG.md` — document the fix under `## [0.3.1] - TBD` → **Fixed**. - `assets/workspace/.devcontainer/CHANGELOG.md` — same entry (workspace SSoT mirror). ## Changelog Entry Pasted from `CHANGELOG.md` on this branch (under `## [0.3.1] - TBD` → **Fixed**; this release branch uses the TBD section instead of `## Unreleased`): ```markdown - **Workspace release publish `tag_already_exists` input coercion** ([#451](#451)) - Pass a boolean into `release-publish.yml` via `needs.core.outputs.tag_already_exists == 'true'` so `workflow_call` does not reject string `"true"`/`"false"` job outputs ``` ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — workflow expression change only; behavior verified via RCA against failed run logs. Follow-up validation is a new smoke-test dispatch after template reaches the validation repo. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [ ] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged and published ## Additional Notes RCA draft for posting on the issue: `docs/issues/issue-451-github-comment.md` (optional). Refs: #451
This was referenced Mar 26, 2026
c-vigo
added a commit
that referenced
this pull request
Mar 27, 2026
## Description Syncs `main` into `dev` after the **0.3.1** release: brings release workflow fixes, smoke-test orchestration, `vig-utils` (`retry`, `prepare-changelog unprepare`, `validate-commit-msg` updates), image/tooling changes, synced docs, and finalizes the **0.3.1** changelog headers (link + date). Resolves merge conflicts from the sync. Keeps **`## Unreleased`** entries that only existed on `dev` (#373, #383). ## Type of Change - [ ] `feat` -- New feature - [ ] `fix` -- Bug fix - [ ] `docs` -- Documentation only - [x] `chore` -- Maintenance task (deps, config, etc.) - [ ] `refactor` -- Code restructuring (no behavior change) - [ ] `test` -- Adding or updating tests - [x] `ci` -- CI/CD pipeline changes - [ ] `build` -- Build system or dependency changes - [ ] `revert` -- Reverts a previous commit - [ ] `style` -- Code style (formatting, whitespace) ### Modifiers - [ ] Breaking change (`!`) -- This change breaks backward compatibility ## Changes Made - **Merge:** `main` → `chore/sync-main-to-dev` (merge commit `926963a`), including release **0.3.1** history through merge of `release/0.3.1`. - **Follow-up:** `docs: set 0.3.1 release link and date` in root and workspace `CHANGELOG.md` (`7acaab4`). - **High-level areas** (from `git diff --stat origin/dev...HEAD`): upstream and workspace GitHub workflows (release, prepare-release, CI, sync, smoke-test templates), `Containerfile` / `init-workspace.sh`, `packages/vig-utils` (retry CLI, prepare_changelog unprepare, validate_commit_msg, tests), `scripts/manifest.toml`, BATS and pytest updates, `docs/issues/` and `docs/pull-requests/` sync artifacts, dependency pins (`package.json` / lockfile). ## Changelog Entry The **0.3.1** shipped changes are already under `## [0.3.1](...) - 2026-03-26` in `CHANGELOG.md` and the workspace copy; this PR does not duplicate them in **Unreleased**. ## Testing - [ ] Tests pass locally (`just test`) - [ ] Manual testing performed (describe below) ### Manual Testing Details N/A — branch merge and conflict resolution; full `just test` not run in this session. ## Checklist - [x] My code follows the project's style guidelines - [x] I have performed a self-review of my code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have updated the documentation accordingly (edit `docs/templates/`, then run `just docs`) - [x] I have updated `CHANGELOG.md` in the `[Unreleased]` section (and pasted the entry above) - [x] My changes generate no new warnings or errors - [ ] I have added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published ## Additional Notes Merge-conflict resolutions (earlier on this branch): combined **Unreleased** with **0.3.1** sections in CHANGELOGs; took newer **sync-issues** snapshots from `main` where appropriate; kept **PR #342** doc state from `dev` where it was newer (merged release PR). Refs: #455, #459
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.
Release 0.3.1 - 2026-03-26
This PR prepares release 0.3.1 for merge to main.
[0.3.1] - TBD
Added
workflow_callrelease phases (release-core.yml,release-publish.yml) and a lightweightrelease.ymlorchestrator inassets/workspace/.github/workflows/release_kindsupport with candidate mode (X.Y.Z-rcN) and final mode (X.Y.Z) in downstream release workflowsrelease-extension.ymlstub and preserve it duringinit-workspace.sh --forceupgradesvalidate-contractcomposite action for single-source contract version validationdocs/DOWNSTREAM_RELEASE.mdjqin devcontainer image (#425)jqCLI in the GHCR image so containerized workflows (e.g.release-corevalidate / downstream Release Core) can pipe JSON throughjqChanged
@devcontainers/clifrom0.81.1to0.84.0andbats-assertfromv2.2.0tov2.2.4actions/download-artifact(4.3.0->8.0.1),actions/github-script(7.1.0->8.0.0),actions/attest-build-provenance(3.0.0->4.1.0),actions/checkout(4.3.1->6.0.2)sigstore/cosign-installer(4.0.0->4.1.0) andanchore/sbom-action(0.22.2->0.23.1)actions/attest-sbom(3.0.0->4.0.0),actions/upload-artifact(4.6.2->7.0.0),actions/create-github-app-token(2.2.1->3.0.0)docker/login-actionfrom3.7.0to4.0.0justminor version from1.46to1.47build-image(docker/setup-buildx-action,docker/metadata-action,docker/build-push-action) to Node24-compatible releasessetup-envdefault Node runtime to24and upgradeactions/setup-nodeactions/checkout,actions/cache,actions/upload-artifact)correlation_idpublish-candidaterelease.ymlnow triggers the existing smoke-test dispatch contract for bothcandidateandfinalrelease kindsassets/workspace/.github/workflows/ci.ymlas the canonical CI workflow and remove the obsoleteci-container.ymltemplateassets/workspace/.github/actions/resolve-imageand run workspace release tests in the same containerized workflow modelrelease_kindin the dispatch payloadrepository-dispatch.ymltemplate that runs smoke tests and creates pre-release/final release artifactsCHANGELOG.mdinto both workspace root and.devcontainer/template paths.devcontainer/CHANGELOG.mdto repository root so deploy output keeps a root changelog.github/workflows/release.ymlthat creates a GitHub Release forX.Y.ZCHANGELOG.mdsection and fail the run if notes extraction or release publishing fails.github/workflows/release.ymland decouple rollback from downstream completion timingassets/smoke-test/.github/workflows/repository-dispatch.ymlto prevent overlapping dispatch racespublish-releasebehavior with full downstream orchestration: deploy-to-dev merge gate,prepare-release.yml, release PR readiness/approval, andrelease.ymldispatch pollingrepository-dispatch.ymlfocused on deploy/prepare/release-PR readiness and move release dispatch to a dedicated merged-PR workflow (on-release-pr-merge.yml)CHANGELOG.mdsync fromrepository-dispatch.yml(previously added in #358)github/codeql-actionfrom4.32.6to4.34.1andanchore/sbom-actionfrom0.23.1to0.24.0actions/cacherestore/save pins from5.0.3to5.0.4insync-issues.yml@devcontainers/clifrom0.84.0to0.84.1release-core/release-publishand smoke-test failure guidance updated accordinglydocs/RELEASE_CYCLE.md,docs/DOWNSTREAM_RELEASE.md, anddocs/CROSS_REPO_RELEASE_GATE.mdtests/test_image.pyEXPECTED_VERSIONS["gh"]to2.89.to match the CLI shipped in the imageRemoved
.github/workflows/pr-title-check.yml; commit message rules remain enforced via local hooks andvalidate-commit-msg--subject-onlyfromvalidate-commit-msg(it existed only for PR title CI)Fixed
Smoke-test deploy restores workspace CHANGELOG for prepare-release (#417)
prepare-changelog unprepareto rename the top## [semver] - …heading to## Unreleasedinit-workspace.sh --smoke-testcopies.devcontainer/CHANGELOG.mdinto workspaceCHANGELOG.mdand runs unprepare; remove duplicate remap from smoke-test dispatch workflowRelease app permission docs now include downstream workflow dispatch requirements (#397)
docs/RELEASE_CYCLE.mdto requireActionsread/write forRELEASE_APPon the validation repositoryrepository-dispatch.ymlcan trigger release orchestration workflows viaworkflow_dispatchSmoke-test dispatch no longer fails on release PR self-approval (#402)
repository-dispatch.ymland replace with release-kind labeling plus auto-merge enablementon-release-pr-merge.yml) fails validation unless the merged release PR hasrelease-kind:finalorrelease-kind:candidateSync-main-to-dev PRs now trigger CI reliably in downstream repos (#398)
git pushinassets/workspace/.github/workflows/sync-main-to-dev.ymlSync-main-to-dev no longer dispatches CI via workflow_dispatch (#405)
workflow_dispatchruns are omitted from the PR status check rollup, so they do not satisfy branch protection on the sync PRgh workflow run ci.ymlstep and dropactions: writefrom the sync job in.github/workflows/sync-main-to-dev.ymlandassets/workspace/.github/workflows/sync-main-to-dev.ymlSync-main-to-dev conflict detection uses merge-tree (#410)
git merge-tree --write-treeso clean merges are not mislabeled as conflictsSmoke-test release phase 2 branch-not-found failure (#419)
on-release-pr-merge.yml) back intorepository-dispatch.ymlso the release runs whilerelease/<version>still exists, matching the normal release flowon-release-pr-merge.ymlfrom the smoke-test templatePinned commit-action to v0.2.0 (#354)
vig-os/commit-action@c0024cb(v0.1.5) to1bc004353d08d9332a0cb54920b148256220c8e0(v0.2.0) in release, sync-issues, prepare-release, and smoke-test workflowsMAX_ATTEMPTSand delay bounds)createTreeinline content for text files, binary blobs only when needed, and chunked tree creation for large change setsisBinaryFile,getFileMode, andTREE_ENTRY_CHUNK_SIZEfor library use; sequential binary blob creation to reduce secondary rate-limit burstsRelease finalization now commits generated docs and refreshes PR content (#300)
generate-docsdoes not fail CI with tracked file diffsCHANGELOG.mdRelease attestation warnings reduced by granting artifact metadata permission (#348)
artifact-metadata: writeto the release publish job so attestation steps can persist metadata storage recordsactions/attest-based SBOM attestation path and remove missing-permission warnings from publish runsSmoke-test dispatch deploy now repairs workspace ownership before changelog copy (#352)
sudo chown -Rinassets/smoke-test/.github/workflows/repository-dispatch.ymlafter installer executionPermission deniedfailures when copying.devcontainer/CHANGELOG.mdto repository root in GitHub-hosted runner jobsSmoke-test release lookup no longer treats missing tags as existing releases (#355)
assets/smoke-test/.github/workflows/repository-dispatch.ymlto branch ongh apiexit status when queryingreleases/tags/<tag>prerelease=nullmismatchBounded retry added for network-dependent setup and prepare-release calls (#357)
retryCLI invig-utils(packages/vig-utils/src/vig_utils/retry.py)uv run retryaftersetup-envdependency syncretrydirectly in devcontainer jobs and removesourcelines.vig-osinstead of hardcodedlatestretry.shartifacts and BATS retry tests in favor ofvig-utilspytest coverageRelease workflow no longer fails when retry tooling is unavailable (#365)
.github/actions/setup-env/action.ymlwith a reusableretryshell function exported viaBASH_ENVas the retry single source of truthsetup-envinput support for uv-only usage by allowing Python setup to be disabled when jobs only need retry toolinguv run retryto sharedretryand remove duplicated inline retry implementationsUpstream sync workflows no longer depend on pre-published GHCR image tags (#367)
.vig-osfiles at repository root andassets/smoke-test/to eliminate downstream-only configuration from upstream CI.github/workflows/sync-issues.ymland.github/workflows/sync-main-to-dev.ymlto run natively on runners via./.github/actions/setup-envinstead ofresolve-image+containerRelease test-image setup now recovers from uv sync crashes (#370)
.github/actions/setup-env/action.ymlto retryuv sync --frozen --all-extrasonce after clearing uv cache and removing stale.venvsetup-envis executed multiple times in the same jobRelease setup-env no longer self-sources retry helper via BASH_ENV (#374)
.github/actions/setup-env/action.ymlto skip merging whenPREV_BASH_ENValready equalsRETRY_HELPERsourcerecursion and exit 139 crashes whensetup-envis invoked multiple times in one jobSmoke-test dispatch now checks out repository before local setup action (#376)
actions/checkoutto thesmoke-testjob in.github/workflows/release.ymlbefore invoking./.github/actions/setup-envaction.yml) in a fresh job workspaceWorkspace resolve-image jobs now checkout local action metadata (#380)
sparse-checkoutin workspaceresolve-imagejobs to include.github/actions/resolve-imagein addition to.vig-osSmoke-test dispatch gh jobs now set explicit repo context (#386)
GH_REPO: ${{ github.repository }}tocleanup-release,trigger-prepare-release,ready-release-pr, andtrigger-releaseinassets/smoke-test/.github/workflows/repository-dispatch.ymlghCLI failures (fatal: not a git repository) in runner jobs that do not performactions/checkoutSmoke-test release orchestration now validates workflow contract before dispatch (#389)
prepare-release.ymlandrelease.ymlare resolvable on dispatch refdevbefore downstream orchestration starts--ref dev/--branch dev) to avoid default-branch workflow registry drift and404 workflow not foundfailuresSmoke-test preflight now uses gh CLI ref-compatible workflow validation (#392)
assets/smoke-test/.github/workflows/repository-dispatch.ymlpreflight checks to callgh workflow viewwith--yamlwhen--refis setprepare-releasedispatchDownstream release workflow templates hardened for smoke-test orchestration (#394)
git config --global --add safe.directory "$GITHUB_WORKSPACE"in containerized release and sync jobs that run git after checkoutrelease.ymlrollback container startup fromneeds.core.outputs.image_tagby resolving the image in a dedicatedresolve-imagejobactionsandpull-requestsoperations, and update dispatch header comments to reference only current CI workflowsWorkspace containerized workflows now pin bash for run steps (#395)
defaults.run.shell: bashin containerized workspace release and prepare jobs soset -euo pipefailscripts do not execute under POSIXshset: Illegal option -o pipefailin container jobsDownstream release templates now require explicit app tokens for write paths (#400)
assets/workspace/.github/workflows/prepare-release.yml,release-core.yml,release-publish.yml,release.yml, andsync-issues.ymlto removegithub.tokenfallback from protected write operationsdocs/DOWNSTREAM_RELEASE.mdanddocs/CROSS_REPO_RELEASE_GATE.mdgithub.tokenspecifically for Actions cache deletion insync-issues.ymlbecause that API path requires explicitactions: writejob token scoperelease.ymlso rollback branch/tag writes can still bypass protected refssetup-env retries uv install on transient GitHub Releases download failures (#407)
continue-on-errorplus a delayed second attempt forastral-sh/setup-uvin.github/actions/setup-env/action.ymlSmoke-test deploy keeps workspace scaffold as root CHANGELOG (#403)
CHANGELOG.mdwith a minimal stub inassets/smoke-test/.github/workflows/repository-dispatch.ymlCHANGELOG.mdfrominit-workspaceso downstreamprepare-releasevalidation matches shipped layout## [X.Y.Z] - …(TBD or a release date), remap that top version header to## Unreleasedso downstreamprepare-releasecan runSmoke-test dispatch release validate no longer runs docker inside devcontainer (#421)
docker manifest inspectstep fromrelease-core.ymlvalidate job (container image is already proof of accessibility;resolve-imagevalidates on the runner)GH_REPOfor rollbackgh issue createin workspacerelease.ymlwhen git checkout is skippedContainer image tests expect current uv minor line (#423)
tests/test_image.pyEXPECTED_VERSIONS["uv"]to match uv 0.11.x from the latest release install path in the image buildContainer image tests expect current just minor line (#423)
tests/test_image.pyEXPECTED_VERSIONS["just"]to match just 1.48.x from the latest release install path in the image buildSmoke-test dispatch approves release PR before downstream release (#430)
pull-requests: writeonready-release-prand approve withgithub.token(github-actions[bot])release-core.ymlapproval gate without the release app self-approving its own PRcommit-action retries enabled for transient git ref API failures (#436)
MAX_ATTEMPTS: "3"on everyvig-os/commit-actionstep so v0.2.0 bounded retry actually runs (default was 1)Release validation fails when bot approves PR (#438)
reviewDecisionis empty (bot approvals not counted by branch protection)Downstream candidate RC tag can match upstream dispatch (#441)
release.yml/release-core.ymlaccept optionalrc-numberso candidate tags are not always recomputed from local tags onlyrepository-dispatch.ymlexposesbase_versionandrc_numberjob outputs for orchestration that calls workspacerelease.ymlRelease validate fails early when GitHub Release already exists (#443)
.github/workflows/release.ymlqueriesGET /repos/.../releases/tags/<PUBLISH_VERSION>with retries and classifies errors like the downstream RC gate; only a documented not-found response is treated as “no release,” and ambiguous API failures fail closed before build/sign/publishgh release createinstead ofgh release viewwith discarded stderrRelease tag resolution and GitHub Release view retries (#446)
refs/tags/<tag>when the peeled ref is empty (lightweight remote tags) in.github/workflows/release.yml,release-core.yml, andrelease-publish.ymlgh release viewin workspacerelease-publish.ymlso draft/prerelease skip paths parse JSON from the same successful responseWorkspace release publish
tag_already_existsinput coercion (#451)release-publish.ymlvianeeds.core.outputs.tag_already_exists == 'true'soworkflow_calldoes not reject string"true"/"false"job outputsSecurity
assets/smoke-test/.github/workflows/repository-dispatch.ymlworkflow token permissions from write to read by defaultcontents: writeonly topublish-release, the single job that creates or edits GitHub Releases