Repository navigation
ci: add temporary Dist Check bootstrap stub - #86
Merged
Merged
Conversation
The Main/Release protection rulesets require a passing `Dist Check` status, but the real dist-check.yml (#59) ships with 0.3.0 and is not yet on main, so any branch whose head predates it can never report the context and is blocked. This stub emits an always-passing `Dist Check` job (matching the real job name exactly) on PRs to main and release/**, unblocking that class of PRs. It is a scaffold that verifies nothing, at a distinct path so it will not add/add conflict with the real dist-check.yml when release/0.3.0 is promoted to main. Must be removed once 0.3.0 lands on main, or it masks the real gate. Refs: #85
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.
Refs #85 (removal tracking).
Why
The
Main protectionandRelease protectionrulesets require a passingDist Checkstatus (GitHub Actions, integration15368). The real check (dist-check.yml, #59) ships with 0.3.0 and is not yet onmain, so any PR whose head predates it — e.g. #82, and other branches cut from the currentmain— can never report the context and is permanently blocked.What
A temporary bootstrap workflow,
dist-check-stub.yml, with a single job named exactlyDist Check(the contractual context name, #60) that always passes, triggered onpull_requesttomainandrelease/**. It unblocks that class of PRs.Deliberate design
dist-check.yml): sharing the real path would cause an add/add merge conflict whenpromote-releasemergesrelease/0.3.0 -> main, breaking the automated promotion.pull_request, this PR's own head reportsDist Check, so — together withCI Summaryfromci.ymland your review fix — this PR merges through the ruleset without a force/bypass.Lifecycle (important)
This is a scaffold that verifies nothing. It must be deleted the moment 0.3.0 is promoted to
main— once the realdist-check.ymlis there, both reportDist Checkand the always-green stub would mask a real failure. Tracked in #85.Local checks:
actionlintclean;just precommit(prek--all-files) green.