Repository navigation
Commit 6fff5e5
fix: keyed-text-bounds gate skips git-ignored tmp/, scaffold test moves under node_modules (#17421)
check:keyed-text-bounds walked packages/cli/tmp/, a git-ignored directory,
so a scaffold test killed before its afterAll cleanup ran left behind an
os-init-shaped .object.ts the gate cannot parse, redding the gate for a
reason unrelated to the author's diff.
- Add 'tmp' to SKIP_DIRS, the walk's existing filter point, alongside the
other build/tooling-litter directories it already skips. The walk stays
repo-wide minus SKIP_DIRS; only the skip list grew by one entry.
- Move init-scaffold-authoring-rules.test.ts's scaffold temp root from this
package's tmp/ to under its own node_modules/, matching the placement
generate-scaffold-validates.test.ts already documents for the same
@objectstack/spec resolution reason. node_modules is already skipped by
the gate regardless of the SKIP_DIRS change above.
The gate's refusal for an unrecognised declaration shape on a keyed column
is unchanged -- this only narrows which files are walked.
Claude-Session: https://claude.ai/code/session_012GKcPZbMoGq7WPzKLfRBTU
Co-authored-by: Claude <noreply@anthropic.com>1 parent 5d527f7 commit 6fff5e5
2 files changed
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
46 | 51 | | |
47 | 52 | | |
48 | 53 | | |
49 | | - | |
| 54 | + | |
50 | 55 | | |
51 | 56 | | |
52 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
359 | 359 | | |
360 | 360 | | |
361 | 361 | | |
| 362 | + | |
362 | 363 | | |
363 | 364 | | |
364 | 365 | | |
| |||
0 commit comments