Repository navigation
👷 fix(ci): drop doomed changelog:verify from preflight - #139
Merged
Merged
Conversation
git-cliff embeds each [Unreleased] commit SHA, so rebase-merges reassign SHAs and changelog:verify ALWAYS drifts on the merge commit and on PRs. The healed changelog-sync commit is paths-ignored, so preflight could never re-run to clear the failure — the badge was permanently red. CHANGELOG.md correctness is owned by the changelog-sync workflow; the task remains available locally.
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
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.



Problem
The Preflight badge is permanently red. Root cause is structural, not a transient failure:
[Unreleased]entry's commit SHA (hack/release/cliff.toml). Rebase-merges reassign SHAs, sotask changelog:verifyalways drifts on the merge commit (and on PRs) — every recent preflight run, on bothpushandpull_request, fails at exactly this step.changelog-syncworkflow regenerates CHANGELOG.md after the merge, but its commit only touchesCHANGELOG.md— which is in preflight's ownpaths-ignore— so the healed commit can never re-trigger preflight to clear the red.Net: preflight is guaranteed red after every user-facing merge, and the badge freezes on the pre-sync failure.
Fix
Remove the
Verify CHANGELOG.md is up to datestep from preflight. CHANGELOG.md correctness is already owned by thechangelog-syncworkflow; thetask changelog:verifytask remains available for local use. Also corrects a now-stale comment inchangelog-sync.yaml.The remaining preflight steps (markdown lint,
go mod tidy,go.sumverify, generated-artifacts verify) all pass on the current tip. Pushing this change (preflight.yaml is not paths-ignored) triggers a fresh preflight run that greens the badge.Alternatives considered
[skip ci]from changelog-sync — red herring; paths-ignore already blocks the healed commit from re-triggering preflight.