Skip to content

fix: a dry run goes on past a changelog heading that says unreleased - #161

Merged
CaffeinatedCoder merged 1 commit into
mainfrom
claude/151-dry-run-ebcec1
Nov 16, 2026
Merged

CaffeinatedCoder merged 1 commit into
mainfrom
claude/151-dry-run-ebcec1

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Closes #151

Problem

release.yml's step "Release notes from the changelog" stopped every run whose version is headed — unreleased, a dry run from a branch included. main is in that state from the commit that opens a version to the one that dates it, so a dry run from main stopped before Build, Pack, the pack checks and the SBOMs, and never reached publish's approval (#14). For a version with no section the step already let a branch run go on with a warning.

Change

  • .github/workflows/release.yml: an undated heading stops a tag (GITHUB_REF is refs/tags/v*) as before, with the same ::error::. Any other run gets ::warning::… A tag for $VERSION would stop here. and goes on, with notes that start (dry run: the changelog section of $VERSION has no date) followed by the section. The comment above the step says both cases. publish's condition is untouched.
  • CLAUDE.md: the release section said a dry run stops at the heading; it now says what the step does.

Tests

ReleaseWiringConventionTests.A_dry_run_whose_version_is_unreleased_goes_on runs the step through WorkflowFile.RunStep with GITHUB_REF=refs/heads/main on a changelog headed — unreleased: exit 0, a warning, notes that say dry run first and carry the section with its links at the tag. The tag's refusal of the same heading stays held by A_tag_whose_version_has_no_dated_section_stops.

Shown to fail without what they hold, each run against ReleaseWiringConventionTests:

Workflow Fails
the step as on main A_dry_run_whose_version_is_unreleased_goes_on: "A run from a branch stopped at a version whose heading says 'unreleased'"
the tag check of the new branch matching no ref A_tag_whose_version_has_no_dated_section_stops: "A tag for a version whose heading says 'unreleased' went on"
the dry-run line of the notes left out A_dry_run_whose_version_is_unreleased_goes_on: "The notes of a dry run … do not say so first"

Locally: the kernel's tests without Integration (724 passed) and ClaudeMdConsistencyTests (8 passed).

🤖 Generated with Claude Code

release.yml's step "Release notes from the changelog" stopped every run
whose version is headed `— unreleased`, a run from a branch included, so a
dry run from main could not reach publish's approval between the commit
that opens a version and the one that dates it. A tag still stops; a run
from a branch now goes on with a warning and notes that say it is a dry
run, as it does for a version with no section.

Closes #151

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@CaffeinatedCoder CaffeinatedCoder added this to the 11.0.0 milestone Nov 16, 2026
@CaffeinatedCoder CaffeinatedCoder added bug Something isn't working severity/low Cosmetic, message or documentation-level difference area/release Versioning, changelogs, release wiring labels Nov 16, 2026
@CaffeinatedCoder
CaffeinatedCoder merged commit b7654d8 into main Nov 16, 2026
11 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the claude/151-dry-run-ebcec1 branch November 16, 2026 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/release Versioning, changelogs, release wiring bug Something isn't working severity/low Cosmetic, message or documentation-level difference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

release.yml: a dry run stops at the changelog's '— unreleased' heading

1 participant