Repository navigation
ci: routes, migrations and overrides checks gate PRs as named steps (#941) - #1066
Merged
Merged
Conversation
…941) lint:routes, lint:migrations and lint:overrides ran only in pre-commit or prepush, which SKIP_PREPUSH or a push without the stamp skips entirely. Each is now its own step in the CI lint job, beside the literal ratchet, so the checks list names the rule that broke. Each was proved red before it was wired in: a planted duplicate migration number, override and route literal all exit 1, and all exit 0 once removed. lint:sorted-keys is left out on purpose: it is advisory and always exits 0, so as a CI step it could never fail. .radium/ci-deployment.md now records which check gates where, and the rule to prove a check red before wiring it in. Closes #941 Co-Authored-By: Claude Opus 5.5 <[email protected]>
… 37588309505 failed at 'Hardcoded route strings') Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
Author
|
CI red proof for the routes step: commit 716e31a planted |
19 of 21 tasks
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.
Closes #941.
lint:routes,lint:migrationsandlint:overridesran only in pre-commit orpnpm prepush, soSKIP_PREPUSH=1or a push without the stamp skipped them entirely. Each is now its own named step in the CI lint job, next to the literal ratchet, so a failure names the rule.Each was proved red before it was wired in
lint:routesrouter.push('/planted')lint:migrations362_*.sqllint:overridespnpm.overrides["awesome-phonenumber"] = "0.0.1"against catalog~7.8.0The CI-side red run for routes is in the comment below.
Left out on purpose:
lint:sorted-keysIt is advisory by design:
scripts/check-sorted-keys.mjsalways ends withprocess.exit(0). As a CI step it could never fail, which is the failure mode this issue exists to prevent (#921, #1030). Making it gate needs either a baseline or a one-off sort of the repo; that's a separate decision.Docs
.radium/ci-deployment.mdgets a table of which check gates where: pre-commit, prepush, CI, and whether it can fail. It also adds the rule to prove a check red before wiring it in.One caveat is written there too. A migration-number collision between two open branches is caught only by the second PR's run, because the PR run checks the merge ref, and only once the first PR has merged. Re-run a stale PR's CI before merging it.
🤖 Generated with Claude Code