Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(scripts): check:changed no longer skips knip after a removed import #22784

Mergedt3dotgg(GitHub profile, opens in a new tab)merged 1 commit intomain fromrefs/pull/22784/headmerged by t3dotgg(GitHub profile, opens in a new tab) View on GitHub

Showing 3 changed files with 49 additions and 37 deletions.

x
0 of 3 viewed, 3 left
6 additions and 6 deletionsdocs/operations/development.mdModified
View file
@@ -102,12 +102,12 @@
​
## Checks
​
-`vp run check:changed` runs what CI runs for your branch's changes: format and lint of the
-changed files, `knip:check` when files, exports, or dependencies change, typecheck of the affected
-packages and their dependents, and the test files beside the changed files. It maps files to
-packages with [ci-changes.cjs](../../.github/scripts/ci-changes.cjs), as CI does. It compares
-against the merge base with `origin/main`, or a ref you pass. Tests that reach a changed file only
-through imports run in CI.
+`vp run check:changed` runs CI's fast checks for your branch's changes: format and lint of the
+changed files, `knip:check` when code or a manifest changes, the generated GraphQL checks, typecheck
+of the affected packages and their dependents, and the test files beside the changed files. It maps
+files to packages with [ci-changes.cjs](../../.github/scripts/ci-changes.cjs), as CI does. It
+compares against the merge base with `origin/main`, or with a ref you pass. CI still runs the full
+test suites and the jobs the summary lists, so a local pass does not promise a green CI run.
​
While you iterate, run single checks:
​
42 additions and 30 deletionsscripts/check-changed.tsModified
View file
@@ -1,13 +1,14 @@
// @effect-diagnostics nodeBuiltinImport:off globalConsole:off
-// Runs locally what CI runs for this branch's changes: format and lint of the
-// changed files, knip, typecheck of the affected packages and their dependents,
-// and the test files beside the changed files.
+// Runs CI's fast checks for this branch's changes: format and lint of the
+// changed files, knip, generated GraphQL operations, typecheck of the affected
+// packages and their dependents, and the test files beside the changed files.