Dashboardclipnpm test:unit runs generate:docs + gen…

pnpm test:unit runs generate:docs + generate:sdk pre-steps — adds scope escapes

Category: gotcha
Confidence: 0.95
ID: 019fbe51-8ac6-7cee-8007-c961dba11790
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 1
Source session: 12na8hXrpthm52Hlq
Created: 2026-06-25 20:21:59
Updated: 2026-08-01 17:14:02

Cross-Project Recalls

ProjectHitsLast recalled
opencode-lore 2 2d ago

Content

Trap: pnpm test looks like the standard way to run tests. But test:unit = pnpm run generate:docs && pnpm run generate:sdk && vitest run test/lib test/commands test/types --coverage — the doc/SDK generation pre-steps cause 120s+ timeouts. Fix: run vitest directly on specific test files: npx vitest run test/lib/dif test/commands/debug-files (or similar scoped paths). Use pnpm test only for final pre-commit validation. test:init-eval is the only script without the preamble (uses --testTimeout 600000 instead).

Move to: