Skip to content

馃敡 Handle release-note failures without blocking releases - #361

Closed
Robdel12 wants to merge 2 commits into
mainfrom
rd/fix-release-notes-output
Closed

馃敡 Handle release-note failures without blocking releases#361
Robdel12 wants to merge 2 commits into
mainfrom
rd/fix-release-notes-output

Conversation

@Robdel12

@Robdel12 Robdel12 commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Why

Release-note generation for v0.36.0 failed because the API account had no credits. The release still published, but its notes became a raw commit list without migration guidance.

Approach

Keep generation optional for publication. If it fails or produces blank notes, warn in the workflow log and summary, discard partial output, and publish with a changelog link. Prepared Markdown can be supplied through the optional release_notes input to skip generation.

The prompt asks for short, factual notes and concrete migration steps. Pass the notes file directly to the release action to preserve Markdown without multiline output delimiters.

Evidence

Ten local workflow checks cover generated and manual notes, missing and blank output, and partial output from failed generation, with and without a previous tag. All cases allow publication and select the expected notes. The full CLI suite passed: 1,930 tests, with five skipped.

Automatic generation still requires replenishing API credits. This PR keeps that failure from blocking a release; it does not fix account billing.

Stop publishing when note generation fails, allow prepared Markdown through workflow dispatch, and ask for concrete migration guidance.
Warn and publish a changelog link when generation fails. Keep automatic copy concise and allow prepared notes without making them a release requirement.
@Robdel12 Robdel12 changed the title 馃悰 Require release notes before publishing 馃敡 Handle release-note failures without blocking releases Sep 8, 2026
@Robdel12 Robdel12 closed this Sep 8, 2026
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