Dashboardclitest:unit ChildProcess.kill failure

test:unit ChildProcess.kill failure

Category: gotcha
Confidence: 1.00
ID: 01a024e5-f97c-7537-9b0d-588bb4d2a449
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 2
Source session: 0wqisj4WhG2TyaOtb
Created: 2026-08-21 15:17:26
Updated: 2026-08-21 15:17:26

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 1 2d ago
opencode 2 9d ago

Content

Trap: pnpm run test:unit looks like the canonical full-suite command, but its wrapper can fail with Unknown: ChildProcess.kill before reporting test results; this is runner/process cleanup failure, not a test assertion failure. Fix: invoke the equivalent direct Vitest command to obtain a trustworthy result, while remembering that the wrapper also runs docs and SDK generation pre-steps.

Move to: