Skip to content

Commit 085e999

Browse files
Nick Websterclaude
andcommitted
chore: fold --maxWorkers=2 into test:coverage script
Restores parity between `npm test` and `npm run test:coverage` under the R-v0.7-NEW-8 SIGINT-mid-cadence flake umbrella. The default vitest worker auto-scaling hit `item-watch.test.ts` SIGINT-test flakes on 2 of 3 consecutive `test:coverage` runs at the v0.10 release-prep close-docs gate (R-v0.10-NEW-4, filed 2026-05-22). Re-running with the documented `--maxWorkers=2` workaround stabilised cleanly with 4270 + 4 skipped, branches 95.89%, functions 98.97% (1354/1368). The underlying timing-race surface (R-v0.7-NEW-8) is unaddressed by this fold — this only restores the parity-on-touch property between the two test invocations. Folded as a work-of-opportunity at v0.11 candidate-selection per the 2026-05-22 user binding; status flip filed in the next docs commit. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 5a63a4d commit 085e999

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"lint:fix": "eslint . --fix",
5353
"test": "vitest run",
5454
"test:watch": "vitest watch",
55-
"test:coverage": "vitest run --coverage",
55+
"test:coverage": "vitest run --coverage --maxWorkers=2",
5656
"test:unit": "vitest run tests/unit",
5757
"test:integration": "vitest run tests/integration",
5858
"test:e2e": "vitest run tests/e2e",

0 commit comments

Comments
 (0)