Files
stack/docs/scratchpads/672-fleet-personas-timeout.md
Jarvis f7c88c3fa4
Some checks failed
ci/woodpecker/push/ci Pipeline was canceled
ci/woodpecker/pr/ci Pipeline failed
test(fleet): raise mosaic vitest timeout package-wide
2026-06-24 17:15:09 -05:00

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

  1. Move timeout policy into packages/mosaic/vitest.config.ts with testTimeout: 30_000.
  2. Remove the narrower fleet-personas.spec.ts local override so PR #677 fixes the suite class, not one file.
  3. Run targeted fleet specs plus typecheck/lint/format gates.
  4. 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.