gsxdsm
c484964b82
FN-8102: fix CLI package-lane test scaffolding
Restore CLI tests to the current PostgreSQL harness and structured tool-error contracts.
- Inject cached stores and project-context mocks for isolated extension and command tests
- Assert structured MCP error responses for delete and lineage rejection cases
- Update workflow, retry, and project mocks for current harness and core APIs
Files changed:
.../extension-experiment-finalize.test.ts | 21 ++++++++++--
.../src/__tests__/extension-workflow-tools.test.ts | 15 ++++++--
.../__tests__/task-command-gitlab-import.test.ts | 20 +++++++++++
.../task-delete-allow-resurrection.test.ts | 20 ++++++-----
.../cli/src/__tests__/task-lineage-unlink.test.ts | 40 +++++++++++++++-------
packages/cli/src/__tests__/task-retry.test.ts | 16 +++++++--
.../cli/src/commands/__tests__/project.test.ts | 4 +++
.../cli/src/commands/__tests__/task.test.ts | 6 ++++
8 files changed, 114 insertions(+), 28 deletions(-)
Fusion-Task-Id: FN-8102
Fusion-Task-Lineage: 20723ce0-77bb-4d37-9395-4191769ee752
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-16 08:58:13 -07:00
..
2026-07-16 08:58:13 -07:00
2026-07-13 10:32:12 -07:00
2026-07-16 08:41:34 -07:00
2026-07-16 08:47:20 -07:00
2026-07-15 14:41:05 -07:00
2026-07-13 10:32:12 -07:00
2026-07-16 08:33:57 -07:00
2026-07-16 08:14:44 -07:00
2026-07-13 10:32:12 -07:00
2026-07-13 10:32:12 -07:00
2026-06-08 15:19:27 -07:00
2026-07-15 08:44:11 -07:00