26 lines
1.3 KiB
Markdown
26 lines
1.3 KiB
Markdown
# 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.
|