Files
fusion/scripts/lib/test-inventory-spec.json
gsxdsm 610d473e77 refactor(test): simplify-pass cleanups from 4-angle review
- content-hash: createRepoContentSnapshot — 2 repo-wide git spawns shared across all hash computations (was ~2 spawns x N packages x 2 passes, ~0.6-1.6s per cache-miss run); snapshot-equivalence test pins zero-spawn path
- test-changed: one hash memo + snapshot shared between applyCacheToPlan and recordCachePass (record pass now re-hashes nothing)
- ci-test-shard: listPackageTestFiles single source of truth for the test-file glob (was triplicated)
- check-test-inventory: curatedProjects defaults to projects (removes duplicated 11-entry list in spec)
- ensure-test-artifacts: drop detectMissingArtifacts passthrough alias
- drop dead statSync re-export; cross-reference comments on the two shared-input path lists

Skipped deliberately: --cold-start-probe/--check-timings-staleness removal (plan artifacts for U8 re-eval + scheduled refresh), best-fit dedup + threshold² (behavior-preserving refactor of verified shard math — follow-up), worker-budget duplication (pre-existing on main)
2026-06-03 19:12:28 -07:00

37 lines
1.3 KiB
JSON

{
"$comment": "Capture spec for scripts/check-test-inventory.mjs (plan U2). Each package lists the vitest project names to enumerate via `vitest list --json`. For @fusion/dashboard the curated-gate guard checks coverage against `curatedProjects`, which DEFAULTS to `projects` — only list it when the coverage set genuinely diverges from what --capture enumerates. Omitting `projects` captures the default (all) projects.",
"packages": [
{
"name": "@fusion/core",
"dir": "packages/core"
},
{
"name": "@fusion/engine",
"dir": "packages/engine",
"projects": ["engine-default", "engine-reliability", "engine-slow"]
},
{
"name": "@fusion/engine-slow",
"dir": "packages/engine",
"projects": ["engine-slow"]
},
{
"name": "@fusion/dashboard",
"dir": "packages/dashboard",
"projects": [
"dashboard-app-quality-foundation-api",
"dashboard-app-quality-foundation-ui",
"dashboard-app-quality-foundation-hooks-utils",
"dashboard-app-quality-components-a",
"dashboard-app-quality-components-b",
"dashboard-app-quality-app",
"dashboard-app-quality-chat",
"dashboard-app-quality-settings",
"dashboard-app-quality-backfill",
"dashboard-api-quality",
"dashboard-api-quality-backfill"
]
}
]
}