Skip to content

fix(smoke-test): seed Unreleased entry so prepare-release can run - #598

Merged
c-vigo merged 1 commit into
release/0.3.6from
bugfix/597-smoke-test-empty-unreleased
Jun 18, 2026
Merged

c-vigo merged 1 commit into
release/0.3.6from
bugfix/597-smoke-test-empty-unreleased

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

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

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
@c-vigo c-vigo added bug Something isn't working area:ci CI/CD, GitHub Actions, workflows area:testing Test infrastructure, BATS, pytest labels Jun 18, 2026
@c-vigo
c-vigo enabled auto-merge June 18, 2026 16:42
@c-vigo
c-vigo merged commit fbd44d2 into release/0.3.6 Jun 18, 2026
14 checks passed
@c-vigo
c-vigo deleted the bugfix/597-smoke-test-empty-unreleased branch June 18, 2026 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:ci CI/CD, GitHub Actions, workflows area:testing Test infrastructure, BATS, pytest bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant