ci(checks): run knip in the check gate and name the e2e job for what it runs - #420
Merged
Merged
Conversation
…it runs knip ran nowhere in CI and sat outside `bun run check`, so a dead export could land unseen; it now runs after lint in both. The checks.yml job `e2e-smoke` has run the full scenario corpus plus fuzz on every PR, so it is renamed `e2e`. No `needs:` names the job and the rulesets require only all-green and pr-title, so the rename changes no required check.
Contributor
File size check0 over a hard cap (fails), 33 warning(s).
Split the file, wrap the line, shorten or exempt the comment, or list the path in 5 managed file(s) skipped; repo-platform owns them. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The validation addition is correctly configured, and the job rename has no remaining internal references.
Review effort: Balanced
Findings: None
What changed in this PR
Adds knip to local and CI validation while accurately naming the full e2e job.
Changes:
- Runs knip in the check gate.
- Renames
e2e-smoketoe2e.
| File | Description |
|---|---|
package.json |
Adds knip to the local check chain. |
.github/workflows/checks.yml |
Adds the CI knip step and renames the e2e job. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
What this changes
Why
bun run check, which CONTRIBUTING.md calls the whole local gate, so a dead export could land unseen.e2e-smokeruns the whole corpus, so the name misled.Proof
needs:in any workflow names the job, and all-green sees only the checks caller's aggregate. The rulesets require onlyall-green(rulesetmain) andpr-title(rulesetpr-title), read fromgh api repos/Vivswan/github-settings-as-code/rulesets.bun run lint:yaml,actionlint .github/workflows/checks.yml, andbun run typecheckgreen;bun test test/docs383 pass.Technical details
.github/workflows/checks.yml+3/-1 (the knip step, the job id).package.json+1/-1 (the check chain).ci.ymlis managed by the platform sync.e2e-smokeappeared nowhere else in the repository (workflows, actionlint config, CONTRIBUTING.md, docs, tests).BEGIN_COMMIT_OVERRIDE
ci(checks): run knip in the check gate and name the e2e job for what it runs
knip ran nowhere in CI and sat outside
bun run check, so a dead export could land unseen; it now runs after lint in both.The checks.yml job
e2e-smokehas run the full scenario corpus plus fuzz on every PR, so it is renamede2e.No
needs:names the job and the rulesets require only all-green and pr-title, so the rename changes no required check.END_COMMIT_OVERRIDE