gsxdsm
259cdfb531
FN-6734: stabilize CLI extension test cleanup
Stabilize the CLI extension regression lane by closing cached stores before temp fixture removal.
- Close extension store caches and manually created TaskStore/AgentStore handles before deleting per-test fixture roots.
- Add a regression guard for the cached TaskStore close-before-remove invariant.
- Reduce oversized task-list truncation fixtures while preserving bounded-output assertions.
- Document the CLI affected-lane rescue pattern for store leaks, fixture sizing, and runtime-dist mocking order.
Files changed:
docs/testing.md | 4 +
.../extension-agent-set-instructions.test.ts | 3 +-
.../__tests__/extension-goal-tools-audit.test.ts | 3 +-
.../cli/src/__tests__/extension-goal-tools.test.ts | 3 +-
.../cli/src/__tests__/extension-insights.test.ts | 3 +-
.../__tests__/extension-mission-goal-tools.test.ts | 3 +-
packages/cli/src/__tests__/extension.test.ts | 221 +++++++++++++--------
.../src/__tests__/research-extension-tools.test.ts | 40 +++-
8 files changed, 186 insertions(+), 94 deletions(-)
Fusion-Task-Id: FN-6734
Fusion-Task-Lineage: efe91c0f-f84c-471c-8067-65a244b2aec7
2026-06-19 16:47:33 -07:00
..
2026-06-19 16:47:33 -07:00
2026-06-19 07:34:26 -07:00
2026-06-19 16:47:33 -07:00
2026-06-19 16:47:33 -07:00
2026-06-19 08:14:22 -07:00
2026-06-19 07:34:26 -07:00
2026-06-19 16:47:33 -07:00
2026-06-19 07:34:26 -07:00
2026-06-19 07:34:26 -07:00
2026-06-19 07:34:26 -07:00
2026-06-08 15:19:27 -07:00
2026-06-19 07:34:26 -07:00