1.3 KiB
1.3 KiB
Scratchpad — fleet-personas spec timeout
Objective
Raise the @mosaicstack/mosaic Vitest timeout to 30s at config level so filesystem-backed fleet drift-guard specs (fleet-personas, fleet-profiles, and siblings) stop false-reding under contended CI.
Plan
- Move timeout policy into
packages/mosaic/vitest.config.tswithtestTimeout: 30_000. - Remove the narrower
fleet-personas.spec.tslocal override so PR #677 fixes the suite class, not one file. - Run targeted fleet specs plus typecheck/lint/format gates.
- Commit, queue guard, push, PR update.
Evidence
pnpm --filter @mosaicstack/mosaic test -- src/commands/fleet-personas.spec.ts— pass (8 tests; initial narrow fix).pnpm typecheck— pass (41 tasks; initial narrow fix).pnpm lint— pass (23 tasks; initial narrow fix).pnpm format:check— pass after formatting this scratchpad (initial narrow fix).- Package-wide timeout follow-up:
pnpm --filter @mosaicstack/mosaic test -- src/commands/fleet-personas.spec.ts src/commands/fleet-profiles.spec.ts— pass (24 tests).pnpm --filter @mosaicstack/mosaic test— pass (44 files / 618 tests).pnpm typecheck— pass (41 tasks).pnpm lint— pass (23 tasks).pnpm format:check— pass.