Repository navigation
fix(cicd): run changelog site publish when release notes is cancelled - #38343
Open
sfreudenthaler wants to merge 1 commit into
Open
sfreudenthaler wants to merge 1 commit into
sfreudenthaler wants to merge 1 commit into
Conversation
A cancelled release-notes job (runner blip) made GitHub's implicit success() skip changelog-site-publish silently. Gate it on !cancelled() and explicit upstream results so it runs and fails loudly on the empty release body. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
|
Claude finished @sfreudenthaler's task in 2m 1s —— View job Code ReviewI reviewed the The logic is sound. Walking the four
A few things I verified as correct and not bugs:
New Issues
Otherwise this is a clean, well-scoped, additive workflow change. Nothing blocking. · |
This branch has not been deployed
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.
Proposed Changes
changelog-site-publishincicd_6-release.ymlnow runs whenrelease-noteswas cancelled. Itsif:gains!cancelled()plus explicit checks thatrelease-prepareanddeploymentsucceeded and thatrelease-noteswas not skipped.if:had no status function, so GitHub's implicitsuccess()skipped the publish whenever release-notes was cancelled, with no notice. This happened in Release 26.10.28-01 (run 40712120594), where a runner blip killed the release-notes checkout after about 9s.Nothing new gets published on the cancelled path: the publish phase still refuses an empty release body. The only change is that the failure is now reported at the step that actually broke.
Checklist
if:was checked by parsing the YAML)Additional Info
Run
AI Release Notes (Backfill)for the release afterwards: it regenerates the notes and republishes the changelog row.Closes: #38342
🤖 Generated with Claude Code