Rescue the quarantined CLI suites by fixing shared test isolation instead of extending timeouts. - Remove rescued CLI files from the quarantine ledger and Vitest exclude list while preserving an empty rescue ledger comment. - Tighten Vitest HOME isolation to reject inherited worker homes and sweep legacy top-level fn-test-home roots with bounded cleanup. - Reset affected CLI fixtures, close research stores, and narrow the slow mission store seam so rescued tests run on default timeouts. - Document the CLI shared-fixture rescue pattern for future quarantine recoveries. Files changed: docs/testing.md | 2 + .../cli/src/__tests__/extension-task-tools.test.ts | 7 +- packages/cli/src/__tests__/extension.test.ts | 117 +++++++++---------- .../cli/src/commands/__tests__/mission.test.ts | 16 ++- packages/cli/src/commands/__tests__/plugin.test.ts | 5 + packages/cli/vitest.config.ts | 52 ++------- packages/core/src/__test-utils__/vitest-setup.ts | 25 ++++- .../core/src/__test-utils__/vitest-teardown.ts | 28 ++++- .../vitest-teardown-worker-root-cleanup.test.ts | 15 +++ scripts/lib/test-quarantine.json | 124 +-------------------- 10 files changed, 157 insertions(+), 234 deletions(-) Fusion-Task-Id: FN-6430 Fusion-Task-Lineage: 943b73b4-5f92-4703-8e93-0ae3207eb63c
7.9 KiB
7.9 KiB