@@ -303,7 +303,7 @@ Think of the suites as “increasing realism” (and increasing flakiness/cost):
|
303 | 303 | ### Unit / integration (default) |
304 | 304 | |
305 | 305 | - Command: `pnpm test` |
306 | | -- Config: ten sequential shard runs (`vitest.full-*.config.ts`) over the existing scoped Vitest projects |
| 306 | +- Config: untargeted runs use the `vitest.full-*.config.ts` shard set and may expand multi-project shards into per-project configs for parallel scheduling |
307 | 307 | - Files: core/unit inventories under `src/**/*.test.ts`, `packages/**/*.test.ts`, `test/**/*.test.ts`, and the whitelisted `ui` node tests covered by `vitest.unit.config.ts` |
308 | 308 | - Scope: |
309 | 309 | - Pure unit tests |
@@ -314,7 +314,7 @@ Think of the suites as “increasing realism” (and increasing flakiness/cost):
|
314 | 314 | - No real keys required |
315 | 315 | - Should be fast and stable |
316 | 316 | - Projects note: |
317 | | -- Untargeted `pnpm test` now runs eleven smaller shard configs (`core-unit-src`, `core-unit-security`, `core-unit-ui`, `core-unit-support`, `core-support-boundary`, `core-contracts`, `core-bundled`, `core-runtime`, `agentic`, `auto-reply`, `extensions`) instead of one giant native root-project process. This cuts peak RSS on loaded machines and avoids auto-reply/extension work starving unrelated suites. |
| 317 | +- Untargeted `pnpm test` now runs twelve smaller shard configs (`core-unit-fast`, `core-unit-src`, `core-unit-security`, `core-unit-ui`, `core-unit-support`, `core-support-boundary`, `core-contracts`, `core-bundled`, `core-runtime`, `agentic`, `auto-reply`, `extensions`) instead of one giant native root-project process. This cuts peak RSS on loaded machines and avoids auto-reply/extension work starving unrelated suites. |
318 | 318 | - `pnpm test --watch` still uses the native root `vitest.config.ts` project graph, because a multi-shard watch loop is not practical. |
319 | 319 | - `pnpm test`, `pnpm test:watch`, and `pnpm test:perf:imports` route explicit file/directory targets through scoped lanes first, so `pnpm test extensions/discord/src/monitor/message-handler.preflight.test.ts` avoids paying the full root project startup tax. |
320 | 320 | - `pnpm test:changed` expands changed git paths into the same scoped lanes when the diff only touches routable source/test files; config/setup edits still fall back to the broad root-project rerun. |
|