Skip to content

ci: add temporary Dist Check bootstrap stub - #86

Merged
c-vigo merged 1 commit into
mainfrom
chore/dist-check-bootstrap-stub
Jul 15, 2026
Merged

c-vigo merged 1 commit into
mainfrom
chore/dist-check-bootstrap-stub

Conversation

@c-vigo

@c-vigo c-vigo commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Refs #85 (removal tracking).

Why

The Main protection and Release protection rulesets require a passing Dist Check status (GitHub Actions, integration 15368). The real check (dist-check.yml, #59) ships with 0.3.0 and is not yet on main, so any PR whose head predates it — e.g. #82, and other branches cut from the current main — can never report the context and is permanently blocked.

What

A temporary bootstrap workflow, dist-check-stub.yml, with a single job named exactly Dist Check (the contractual context name, #60) that always passes, triggered on pull_request to main and release/**. It unblocks that class of PRs.

Deliberate design

  • Distinct filename (not dist-check.yml): sharing the real path would cause an add/add merge conflict when promote-release merges release/0.3.0 -> main, breaking the automated promotion.
  • Self-satisfying: because it triggers on pull_request, this PR's own head reports Dist Check, so — together with CI Summary from ci.yml and 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 real dist-check.yml is there, both report Dist Check and the always-green stub would mask a real failure. Tracked in #85.

Local checks: actionlint clean; just precommit (prek --all-files) green.

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
@c-vigo
c-vigo merged commit 9613fd8 into main Jul 15, 2026
10 checks passed
@c-vigo
c-vigo deleted the chore/dist-check-bootstrap-stub branch July 15, 2026 13:59
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