gsxdsm
a766813ed9
FN-7239: scope executor prompts and quarantine stale pause test
...
Scope missing executor prompts safely while keeping graph coverage aligned with the post-cutover workflow route.
- Treat absent executor prompts as empty before worktree path scoping.
- Update graph retry, parity, and smoke expectations for plan review, completion summary, and post-merge traversal.
- Quarantine only the stale executor-pause direct-dispatch suite with a ledger entry and engine-default exclude.
Files changed:
.changeset/fn-7239-scope-prompt-guard.md | 7 ++++
.../engine/src/__tests__/executor-pause.test.ts | 10 +++++
.../src/__tests__/task-pipeline-smoke.test.ts | 7 ++++
.../workflow-graph-executor-parity.test.ts | 15 ++++++-
...ow-graph-executor-retry-coding-workflow.test.ts | 48 +++++++++++++++++-----
packages/engine/src/executor.ts | 15 ++++---
packages/engine/vitest.config.ts | 5 +++
scripts/lib/test-quarantine.json | 8 +++-
8 files changed, 97 insertions(+), 18 deletions(-)
Fusion-Task-Id: FN-7239
Fusion-Task-Lineage: 9382e4e0-7cfc-416a-93e8-6ba1c7cd7879
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-29 14:17:29 -07:00
gsxdsm
5ab4a5961c
FN-7119: rescue quarantined engine and CLI tests
...
Restore quarantined scheduler/reliability coverage while preserving override column-agent model selection.
- remove rescued engine and CLI tests from quarantine configs and the ledger
- add scheduler fake updateSettings coverage so heartbeat writes do not skew call-count assertions
- preserve override column-agent runtime models during initial execution and mid-flight task edits
- update the stale user-configured command guard registry and add a patch changeset
Files changed:
.changeset/fn-7119-column-agent-model.md | 7 +++
docs/testing.md | 2 +
packages/cli/vitest.config.ts | 6 +-
.../executor-column-agent-principal.test.ts | 34 +++++++++-
.../lease-recovery-central-claim.test.ts | 5 ++
.../owning-node-unavailable-interactions.test.ts | 5 ++
.../todo-inprogress-flapping.test.ts | 5 ++
.../src/__tests__/restart.integration.test.ts | 8 +++
.../__tests__/scheduler-ephemeral-toggle.test.ts | 5 ++
.../scheduler-node-unreachable-audit.test.ts | 5 ++
.../__tests__/scheduler-overlap-starvation.test.ts | 5 ++
.../user-configured-command-no-execsync.test.ts | 12 +---
packages/engine/src/executor.ts | 18 ++++--
packages/engine/vitest.config.ts | 26 +++-----
scripts/lib/test-quarantine.json | 73 +---------------------
15 files changed, 106 insertions(+), 110 deletions(-)
Fusion-Task-Id: FN-7119
Fusion-Task-Lineage: 7dc033c8-29d1-4c0e-bfc1-b0ff0d325f43
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai >
2026-06-27 10:50:33 -07:00
gsxdsm
9020f5774e
test: quarantine 11 failing CI full-suite tests
...
Quarantine test files consistently failing on the non-blocking full-suite
CI on main, per the AGENTS.md deletion-ratchet policy:
Engine-default (shard 1-2): ce-workflow-step-conventions,
executor-column-agent-principal, restart.integration,
scheduler-node-unreachable-audit, scheduler-overlap-starvation,
scheduler-ephemeral-toggle, user-configured-command-no-execsync
Engine-reliability (shard 1): lease-recovery-central-claim,
owning-node-unavailable-interactions, todo-inprogress-flapping
CLI (shard 3): extension.test.ts
Each has a matching entry in scripts/lib/test-quarantine.json with the
failing CI run link and quarantinedAt date. Tests will be deleted
after 14 days unless rescued with a root-cause fix.
2026-06-26 21:49:32 -07:00
gsxdsm
0afc66b6be
FN-7068: rescue quarantined flaky tests
...
Rescue quarantined dashboard and engine tests before the deletion deadline.
- Realign the DevServerView mobile CSS test with split mobile rules and balanced at-rule extraction.
- Complete FN-5488 self-healing TaskStore fakes for overlap-scope paths.
- Remove rescued dashboard and engine tests from quarantine configs and the ledger.
Files changed:
.../__tests__/DevServerView.mobile.test.tsx | 74 ++++++++++++++++++----
packages/dashboard/vitest.config.ts | 8 +--
...in-review-merge-stall-deadlock-recovery.test.ts | 7 ++
...f-healing-fn-5488-fast-path-regressions.test.ts | 6 ++
packages/engine/vitest.config.ts | 8 +--
scripts/lib/test-quarantine.json | 18 +-----
6 files changed, 79 insertions(+), 42 deletions(-)
Fusion-Task-Id: FN-7068
Fusion-Task-Lineage: b40a551f-8981-49a1-86a3-660f08cceb94
2026-06-26 13:32:35 -07:00
gsxdsm
5ce577842e
test: quarantine 3 failing CI full-suite tests
...
Quarantine three test files consistently failing on the non-blocking
full-suite CI on main, per the AGENTS.md deletion-ratchet policy:
- engine self-healing-fn-5488-fast-path-regressions.test.ts (shard 1)
- engine in-review-merge-stall-deadlock-recovery.test.ts (shard 2)
- dashboard DevServerView.mobile.test.tsx (shard 4)
Each has a matching entry in scripts/lib/test-quarantine.json with
the failing CI run link and quarantinedAt date. Tests will be deleted
after 14 days unless rescued with a root-cause fix.
2026-06-25 17:02:29 -07:00
gsxdsm
8dc9973997
FN-6937: remove stale session cross-tab quarantine
...
Remove the orphaned session-cross-tab quarantine ledger entry after confirming the test remains active and rescued.
- Document FN-6937's rescue proof and ledger/config lockstep expectation in testing guidance.
- Keep the dashboard Vitest quarantine list empty with a note explaining the stale ledger-only cleanup.
- Remove the session-cross-tab row from the flaky-test quarantine ledger.
Files changed:
docs/testing.md | 8 ++++++--
packages/dashboard/vitest.config.ts | 3 +++
scripts/lib/test-quarantine.json | 8 +-------
3 files changed, 10 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-6937
Fusion-Task-Lineage: 34a67bf3-2a7f-49ea-93ab-68fadc81f893
2026-06-23 00:26:16 -07:00
gsxdsm
af06170a51
FN-6778: add agent artifact registry tools
...
Adds engine and chat tools for registering, discovering, and viewing artifacts with inbox notifications.
- Add fn_artifact_register, fn_artifact_list, and fn_artifact_view tools for heartbeat, executor, and chat sessions.
- Send best-effort dashboard system inbox notifications when artifacts are registered.
- Classify artifact tools for action gating and coordination exemptions, with coverage for executor, heartbeat, permanent agent, and chat flows.
- Document the artifact registry behavior and update package metadata, quarantine ledger, and line-count baseline.
Files changed:
.changeset/fn-6778-artifact-agent-tools.md | 5 +
CONCEPTS.md | 3 +
docs/agents.md | 1 +
packages/core/src/db.ts | 1 +
.../src/__tests__/session-error-recovery.test.ts | 1 +
.../session-persistence-roundtrip.test.ts | 1 +
.../src/__tests__/session-reconnect.test.ts | 1 +
.../src/__tests__/session-resume-history.test.ts | 1 +
packages/dashboard/src/chat.ts | 6 +-
packages/dashboard/src/planning.ts | 4 +
packages/dashboard/src/test/mockCoreEngine.ts | 1 +
.../engine/src/__tests__/agent-action-gate.test.ts | 3 +
.../src/__tests__/agent-artifact-tools.test.ts | 458 +++++++++++++++++++++
.../src/__tests__/executor-step-session.test.ts | 48 +++
.../src/__tests__/gating-classifications.test.ts | 3 +
.../src/__tests__/heartbeat-executor.test.ts | 40 +-
.../src/__tests__/heartbeat-session-prompt.test.ts | 25 +-
.../src/__tests__/permanent-agent-gating.test.ts | 6 +
packages/engine/src/agent-heartbeat.ts | 6 +-
packages/engine/src/agent-tools.ts | 288 ++++++++++++-
packages/engine/src/executor.ts | 25 ++
packages/engine/src/gating-classifications.ts | 7 +
packages/engine/src/index.ts | 9 +
scripts/lib/test-quarantine.json | 8 +-
scripts/line-count-baseline.json | 54 +--
25 files changed, 945 insertions(+), 60 deletions(-)
Fusion-Task-Id: FN-6778
Fusion-Task-Lineage: 7eb4afcb-8140-4f86-9540-eb3b83e64148
2026-06-22 03:34:14 -07:00
gsxdsm
2ecf78af28
FN-6860: rescue dashboard quarantine coverage
...
Rescue dashboard process lifecycle coverage and clear stale quarantine state.
- Track dev server lifecycle work so stale probes and output parsing cannot race cleanup.
- Assert duplicate URL detection suppression and fallback probe cleanup across failure, restart, stop, and cleanup paths.
- Remove rescued dashboard tests from quarantine config and ledger, and document the loaded-shard proof.
Files changed:
docs/testing.md | 4 ++
.../src/__tests__/dev-server-process.test.ts | 28 +++++++-
packages/dashboard/src/dev-server-process.ts | 74 +++++++++++++++++-----
packages/dashboard/vitest.config.ts | 5 +-
scripts/lib/test-quarantine.json | 13 +---
5 files changed, 95 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-6860
Fusion-Task-Lineage: abd22a00-e08e-4f65-bebc-c663c715b40e
2026-06-21 13:25:41 -07:00
gsxdsm
f13aaa1a99
FN-6722: expose resolved GitHub issues
...
Expose resolved GitHub issue details in Command Center analytics and exports.
- Add resolved issue rows to local GitHub issue analytics with exact-vs-approximate timestamp metadata.
- Render a resolved issues table in the Command Center GitHub area without empty links when issue URLs are missing.
- Include resolved issue details in CSV export, route coverage, dashboard tests, docs, and the release changeset.
- Quarantine the unrelated dashboard dev-server process timer flake observed during workspace verification under the deletion ratchet.
Files changed:
...fn-6722-command-center-resolved-issue-detail.md | 5 +
docs/dashboard-guide.md | 3 +-
.../src/__tests__/github-issue-analytics.test.ts | 109 +++++++++++++++++++--
packages/core/src/github-issue-analytics.ts | 45 ++++++++-
packages/core/src/index.ts | 1 +
.../__tests__/CommandCenter.mobile-scroll.test.tsx | 4 +-
.../__tests__/CommandCenter.test.tsx | 1 +
.../components/command-center/areas/GithubArea.tsx | 67 +++++++++++++
.../command-center/areas/__tests__/areas.test.tsx | 55 +++++++++++
.../register-command-center-routes.test.ts | 61 +++++++++++-
packages/dashboard/src/command-center-csv.ts | 39 +++++++-
packages/dashboard/vitest.config.ts | 7 +-
scripts/lib/test-quarantine.json | 5 +
13 files changed, 382 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-6722
Fusion-Task-Lineage: 9fcbd8c2-f1bc-4b86-b5f5-593e5fd0e675
2026-06-21 09:00:40 -07:00
gsxdsm
c18e827b90
FN-6839: await CLI cached store shutdown
...
Rescue the retained CLI quarantine by making TaskStore shutdown deterministic before fixture cleanup.
- Await cached extension TaskStore closes and clear the cache before asynchronous shutdown drains.
- Update CLI fixtures to await direct and cached store closure, with a regression proving cached close is awaited.
- Remove rescued CLI quarantine entries/excludes and document the loaded-suite rescue with a patch changeset.
Files changed:
.changeset/fn-6839-close-cached-stores.md | 5 ++
CLAUDE.md | 1 +
docs/testing.md | 4 ++
.../extension-agent-set-instructions.test.ts | 2 +-
.../__tests__/extension-goal-tools-audit.test.ts | 2 +-
.../cli/src/__tests__/extension-goal-tools.test.ts | 2 +-
.../cli/src/__tests__/extension-insights.test.ts | 6 +--
.../__tests__/extension-mission-goal-tools.test.ts | 2 +-
.../cli/src/__tests__/extension-task-tools.test.ts | 16 ++++---
packages/cli/src/__tests__/extension.test.ts | 56 +++++++++++-----------
.../src/__tests__/research-extension-tools.test.ts | 4 +-
packages/cli/src/extension.ts | 16 +++----
packages/cli/vitest.config.ts | 6 +--
scripts/lib/test-quarantine.json | 15 ------
14 files changed, 68 insertions(+), 69 deletions(-)
Fusion-Task-Id: FN-6839
Fusion-Task-Lineage: ea0c7c77-bb59-4db4-931d-5e052a1043e5
2026-06-21 09:00:40 -07:00
gsxdsm
40cea655b8
Merge main into validator behavioral verification
...
Resolve conflicts from main's analytics schema additions (plugin
activations, per-model token buckets) against the PR's contract-assertion
type column:
- db.ts: renumber behavioral-verification migration 124 -> 126, bump
SCHEMA_VERSION to 126 so it follows main's migrations 124/125
- core/roadmap tests: adopt main's SCHEMA_VERSION-constant assertions
instead of stale literal 124
- test-quarantine.json: keep all four quarantine entries from both sides
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-21 00:22:19 -07:00
gsxdsm
c0d78f19c5
FN-6795: update quarantine ledger after rescue triage
...
Refresh the test quarantine records after loaded-lane rescue verification.
- document the FN-6795 CLI and core quarantine triage outcomes
- rescue passing core and CLI test files by removing their ledger/config excludes
- retain CLI package-lane-only timeout quarantines and add the newly observed bin test flake
Files changed:
docs/testing.md | 4 ++++
packages/cli/vitest.config.ts | 10 +++++++---
packages/core/vitest.config.ts | 4 +++-
scripts/lib/test-quarantine.json | 25 +++++--------------------
4 files changed, 19 insertions(+), 24 deletions(-)
Fusion-Task-Id: FN-6795
Fusion-Task-Lineage: b4460fc7-848f-4d54-89b4-cfd4d4533d57
2026-06-20 10:28:25 -07:00
gsxdsm
1a565a368b
FN-6744: rescue WorkflowNodeEditor merge seam guard
...
Rescue the WorkflowNodeEditor quarantine by making duplicate merge seam detection reliable during initial canvas load.
- Derive fragment seam conflicts from the loaded workflow IR until React Flow nodes materialize.
- Treat IR merge nodes as merge seams so duplicate merge fragments are rejected consistently.
- Cover desktop and mobile duplicate merge fragment insertion paths and remove the test from quarantine.
- Document the FN-6744 rescue evidence and deletion-ratchet update.
Files changed:
docs/testing.md | 6 +++-
.../app/components/WorkflowNodeEditor.tsx | 11 +++++--
.../__tests__/WorkflowNodeEditor.test.tsx | 34 ++++++++++++++++------
.../app/components/workflow-flow-mapping.ts | 10 +++++++
packages/dashboard/vitest.config.ts | 8 +++--
scripts/lib/test-quarantine.json | 5 ----
6 files changed, 54 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-6744
Fusion-Task-Lineage: 0f5b167a-8efc-4458-ac9d-e719320b751f
2026-06-19 18:38:17 -07:00
gsxdsm
d06d1052db
FN-6743: rescue QuickEntryBox focus restoration
...
Restore reliable QuickEntryBox post-submit focus and return its test to the dashboard suite.
- Replace the ref-gated focus effect with a state-driven post-submit focus request.
- Cover desktop Enter, Save, duplicate-confirmed submit, mobile non-focus, and failed-submit draft preservation.
- Remove QuickEntryBox from dashboard quarantine while keeping the remaining workflow editor quarantine.
Files changed:
.../dashboard/app/components/QuickEntryBox.tsx | 46 +++++++++++++++++-----
.../components/__tests__/QuickEntryBox.test.tsx | 29 +++++++++++++-
packages/dashboard/vitest.config.ts | 5 ++-
scripts/lib/test-quarantine.json | 5 ---
4 files changed, 69 insertions(+), 16 deletions(-)
Fusion-Task-Id: FN-6743
Fusion-Task-Lineage: 2d458631-3ff3-4d96-8d91-bc2a17538be2
2026-06-19 17:49:06 -07:00
gsxdsm
f01ede2523
FN-6742: rescue session cross-tab tests
...
Rescue the dashboard session cross-tab test before its deletion-ratchet deadline.
- Dispose the API router and session cleanup scheduler before closing test stores.
- Hide unused TaskStore EventEmitter hooks in the route-only harness to avoid background route subscribers reopening temp fixtures.
- Remove the session-cross-tab quarantine ledger entry and dashboard Vitest exclude in lockstep.
- Document the rescue evidence and teardown pattern for future dashboard session tests.
Files changed:
docs/testing.md | 6 ++++-
.../src/__tests__/session-cross-tab.test.ts | 30 +++++++++++++++++++---
packages/dashboard/vitest.config.ts | 5 +++-
scripts/lib/test-quarantine.json | 5 ----
4 files changed, 36 insertions(+), 10 deletions(-)
Fusion-Task-Id: FN-6742
Fusion-Task-Lineage: e26d70eb-f139-45f7-8ddd-bde2d172c291
2026-06-19 16:47:34 -07:00
gsxdsm
8d2b396e85
FN-6741: rescue core quarantine entries
...
Rescue the loaded @fusion/core quarantine batch while keeping the remaining lock flake quarantined.
- Remove rescued core test files from the quarantine ledger and Vitest exclude list.
- Close the settings-export TaskStore before fixture cleanup to release resources deterministically.
- Re-quarantine the store-concurrent-writes broad-lane SQLite lock flake observed during merge verification.
- Document the rescue evidence and remaining deletion-ratchet follow-up.
Files changed:
docs/testing.md | 8 ++++++-
.../core/src/__tests__/settings-export.test.ts | 5 ++++
packages/core/vitest.config.ts | 11 +++++----
scripts/lib/test-quarantine.json | 27 +---------------------
4 files changed, 19 insertions(+), 32 deletions(-)
Fusion-Task-Id: FN-6741
Fusion-Task-Lineage: 064367a6-f1c4-4685-a766-37bf2204a42c
2026-06-19 16:47:34 -07:00
gsxdsm
87f18f87ed
FN-6705: add plugin activation analytics
...
Record plugin activation events and expose them to Command Center analytics.
- Add plugin activation persistence, aggregation helpers, and exports.
- Record load/reload activation events through the plugin loader and store APIs.
- Surface plugin activation counts in the Command Center Ecosystem area and API route.
- Cover migrations, aggregation behavior, plugin loader recording, route auth, UI rendering, and quarantined flaky suites.
Files changed:
.changeset/fn-6705-plugin-activation-analytics.md | 5 +
docs/architecture.md | 2 +-
docs/dashboard-guide.md | 2 +-
packages/cli/vitest.config.ts | 8 +
packages/core/src/__tests__/db-migrate.test.ts | 34 ++---
packages/core/src/__tests__/db.test.ts | 59 ++++----
packages/core/src/__tests__/goals-schema.test.ts | 6 +-
packages/core/src/__tests__/insight-store.test.ts | 12 +-
.../src/__tests__/merge-request-record.test.ts | 3 +-
packages/core/src/__tests__/mission-store.test.ts | 6 +-
.../__tests__/plugin-activation-analytics.test.ts | 67 ++++++++
packages/core/src/__tests__/plugin-loader.test.ts | 168 ++++++++++++++++++++-
packages/core/src/__tests__/run-audit.test.ts | 6 +-
.../core/src/__tests__/store-merge-queue.test.ts | 3 +-
.../src/__tests__/store-plugin-activations.test.ts | 52 +++++++
packages/core/src/__tests__/task-documents.test.ts | 3 +-
packages/core/src/db.ts | 35 ++++-
packages/core/src/index.ts | 8 +
packages/core/src/plugin-activation-analytics.ts | 104 +++++++++++++
packages/core/src/plugin-loader.ts | 27 ++++
packages/core/src/store.ts | 24 ++-
packages/core/src/types.ts | 22 +++
packages/core/vitest.config.ts | 12 ++
.../command-center/areas/EcosystemArea.tsx | 40 +++--
.../command-center/areas/__tests__/areas.test.tsx | 52 ++++++-
.../register-command-center-routes.auth.test.ts | 1 +
.../register-command-center-routes.test.ts | 29 ++++
.../src/routes/register-command-center-routes.ts | 20 +++
.../src/store/__tests__/roadmap-store.test.ts | 9 +-
scripts/boot-smoke.mjs | 24 ++-
scripts/lib/test-quarantine.json | 55 +++++++
31 files changed, 799 insertions(+), 99 deletions(-)
Fusion-Task-Id: FN-6705
Fusion-Task-Lineage: 12ed6227-f935-4038-bbe9-a605a054850e
2026-06-19 16:47:33 -07:00
gsxdsm
8927173ae0
FN-6726: prevent Command Center token totals from overflowing
...
Contain Command Center token totals so large formatted values stay inside their stat surfaces.
- Add shrink and wrap containment to stat and live metric value styles.
- Cover large comma-grouped token totals across Overview, Tokens, and Team surfaces.
- Guard the emitted CSS declarations and quarantine an unrelated WorkflowNodeEditor flake observed during verification.
Files changed:
.../components/command-center/CommandCenter.css | 10 +++++
.../__tests__/CommandCenter.test.tsx | 9 ++++
.../CommandCenter.token-validity.css.test.ts | 21 ++++++++++
.../command-center/areas/__tests__/areas.test.tsx | 48 ++++++++++++++++++----
packages/dashboard/vitest.config.ts | 5 +++
scripts/lib/test-quarantine.json | 5 +++
6 files changed, 89 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-6726
Fusion-Task-Lineage: 8a26ca5c-fdbe-4e68-a9d2-ae93340fe685
2026-06-19 16:47:33 -07:00
copilot-swe-agent[bot]
78bd016743
fix(merge): resolve merge conflicts with origin/main
...
- Renumber behavioral verification schema migration from 118→124
(main added migrations 118-123 for usage_events, knowledge_pages,
deployments/incidents, token usage, source-issue closure, LOC stats)
- Combine backend + timeoutMsOverride params in verification-utils.ts
- Accept main's quarantine rescue for AI-merge suites (FN-6433)
- Update schema version assertions to 124 across test files
2026-06-19 23:47:20 +00:00
gsxdsm
c16c9fd234
FN-6697: preserve terminal shortcut keyboard focus
...
Preserve xterm focus while terminal shortcut buttons send control and literal input.
- Prevent shortcut button mousedown from stealing focus away from the xterm helper textarea.
- Refocus the terminal after modifier, literal, arrow, and Ctrl/Alt shortcut actions.
- Add desktop and touch-primary regression coverage for shortcut byte delivery with hardware-keyboard focus.
- Quarantine an unrelated QuickEntryBox focus-timing flake observed during workspace verification.
Files changed:
.../dashboard/app/components/TerminalModal.tsx | 79 ++++++++---
.../components/__tests__/TerminalModal.test.tsx | 151 +++++++++++++++++++++
packages/dashboard/vitest.config.ts | 9 +-
scripts/lib/test-quarantine.json | 5 +
4 files changed, 225 insertions(+), 19 deletions(-)
Fusion-Task-Id: FN-6697
Fusion-Task-Lineage: 558cfb44-ca48-4223-97d1-c3b6bc39b2fd
2026-06-19 05:25:02 -07:00
gsxdsm
9d07e85232
FN-6690: preload lazy-view CSS chunks
...
Ensure persisted lazy dashboard views request their extracted CSS before first paint.
- Carry CSS asset paths through the Vite view chunk manifest.
- Inject stylesheet links alongside modulepreload links for persisted lazy views.
- Cover Command Center CSS preloading and served CSS availability in dashboard tests.
- Quarantine the unrelated session cross-tab cleanup flake observed during verification.
Files changed:
.changeset/fn-6690-lazy-view-css.md | 5 +
.../__tests__/board-mobile-initial-render.test.tsx | 16 ++-
.../src/__tests__/server-view-preload.test.ts | 152 ++++++++++++++++++++-
.../src/__tests__/view-chunk-manifest.test.ts | 57 ++++++--
packages/dashboard/src/server.ts | 16 ++-
packages/dashboard/src/view-chunk-manifest.ts | 26 +++-
packages/dashboard/vitest.config.ts | 6 +-
scripts/lib/test-quarantine.json | 5 +
8 files changed, 253 insertions(+), 30 deletions(-)
Fusion-Task-Id: FN-6690
Fusion-Task-Lineage: 6ac0d06f-14db-4302-98f8-0e742172ed7f
2026-06-19 03:49:56 -07:00
gsxdsm
b480699e06
FN-6642: rescue dashboard flaky test coverage
...
Rescue the dashboard quarantine candidates by restoring stable shared mocks and refreshing quarantine evidence.
- Remove QuickEntryBox and chat-routes from the dashboard quarantine config and ledger.
- Add iterable chat task document tool mocks across dashboard session test helpers.
- Refresh the test velocity baseline and history with zero quarantined tests.
Files changed:
docs/test-velocity-baseline.md | 20 ++--
.../src/__tests__/session-error-recovery.test.ts | 2 +
.../session-persistence-roundtrip.test.ts | 2 +
.../src/__tests__/session-reconnect.test.ts | 2 +
.../src/__tests__/session-resume-history.test.ts | 2 +
packages/dashboard/src/test/mockCoreEngine.ts | 6 ++
packages/dashboard/vitest.config.ts | 13 ++-
scripts/lib/test-quarantine.json | 10 --
scripts/test-velocity-history.json | 111 +++++++++++++++++++++
9 files changed, 144 insertions(+), 24 deletions(-)
Fusion-Task-Id: FN-6642
Fusion-Task-Lineage: 76e51d76-ce9a-4e68-9aa0-ad83cdf351a9
2026-06-18 09:16:32 -07:00
gsxdsm
301ae7f0d3
FN-6636: rescue Paperclip spawn tests
...
Rescue the Paperclip CLI spawn coverage by making fake child events deterministic and re-enabling the suite.
- Route mintAgentApiKeyViaCli cases through the shared fake spawn helper so close and error events are emitted after listener registration.
- Document the async import/listener-order requirement that caused the quarantine.
- Remove paperclip-client.test.ts from the quarantine ledger and Vitest exclude list so the rescued tests run.
Files changed:
.../src/__tests__/paperclip-client.test.ts | 134 +++++++--------------
.../vitest.config.ts | 2 -
scripts/lib/test-quarantine.json | 5 -
3 files changed, 44 insertions(+), 97 deletions(-)
Fusion-Task-Id: FN-6636
Fusion-Task-Lineage: 79038ab3-0aa6-465e-9c6e-f6bc83fcd407
2026-06-18 06:56:36 -07:00
gsxdsm
dae0bde6f1
FN-6633: guide chat agents to ask questions for options
...
Encourage dashboard chat agents to turn option sets into selectable ask-question cards.
- Expand chat-lane prompt guidance so options, choices, and alternatives use `fn_ask_question` instead of prose-only lists.
- Cover the guidance in chat manager tests and assert the prompt is passed to resolved sessions.
- Record the patch changeset and quarantine unrelated flaky dashboard tests observed during verification.
Files changed:
.changeset/fn-6633-chat-question-guidance.md | 5 +++++
packages/dashboard/src/__tests__/chat-manager.test.ts | 14 +++++++++++++-
packages/dashboard/src/chat.ts | 5 ++++-
packages/dashboard/vitest.config.ts | 9 ++++++++-
scripts/lib/test-quarantine.json | 10 ++++++++++
5 files changed, 40 insertions(+), 3 deletions(-)
Fusion-Task-Id: FN-6633
Fusion-Task-Lineage: e59371d3-b198-4fe8-a70c-b94994060c59
2026-06-18 06:31:26 -07:00
gsxdsm
58a34e9cf0
FN-6631: fix Command Center completion gauges
...
Fix Command Center completion analytics and add futuristic activity visualizations.
- Compute SDLC completion rate as a triage cohort conversion capped between zero and one.
- Add a radial completion gauge plus a live activity strip with compact throughput sparkline styling.
- Cover the analytics and chart behavior with targeted tests, docs, and a patch changeset.
Files changed:
.changeset/fn-6631-command-center-rate-gauge.md | 5 +
docs/dashboard-guide.md | 4 +-
.../core/src/__tests__/activity-analytics.test.ts | 32 +++++-
packages/core/src/activity-analytics.ts | 23 +++-
.../components/command-center/CommandCenter.css | 128 ++++++++++++++++++++-
.../components/command-center/CommandCenter.tsx | 45 +++++++-
.../app/components/command-center/SdlcFunnel.tsx | 17 ++-
.../__tests__/CommandCenter.test.tsx | 12 +-
.../command-center/__tests__/SdlcFunnel.test.tsx | 2 +
.../command-center/__tests__/charts.test.tsx | 26 ++++-
.../command-center/charts/RadialGauge.tsx | 50 ++++++++
.../components/command-center/charts/charts.css | 83 +++++++++++++
.../vitest.config.ts | 2 +
scripts/lib/test-quarantine.json | 8 +-
14 files changed, 402 insertions(+), 35 deletions(-)
Fusion-Task-Id: FN-6631
Fusion-Task-Lineage: 0d09f18a-5f93-4dc8-8786-889f32eb63e8
2026-06-18 06:25:08 -07:00
gsxdsm
1020b3f83f
FN-6606: restore CE sync lane coverage
...
Restore the compound-engineering broad lane tests after the timeout could not be reproduced on the stabilized shared test infrastructure.
- Re-enable the compound-engineering sync and work-bridge tests by clearing their Vitest quarantine excludes.
- Remove the stale quarantine ledger entries now that the broad package lane stayed stable under verification.
Files changed:
plugins/fusion-plugin-compound-engineering/vitest.config.ts | 10 ++++------
scripts/lib/test-quarantine.json | 13 +------------
2 files changed, 5 insertions(+), 18 deletions(-)
Fusion-Task-Id: FN-6606
Fusion-Task-Lineage: f357c626-c181-44a7-a463-c53644566ca1
2026-06-17 20:19:55 -07:00
gsxdsm
c4878514f9
FN-6600: harden core worker-root teardown retries
...
Harden the core Vitest worker-root cleanup path and rescue the related broad-suite quarantines.
- Increase bounded retries for transient ENOTEMPTY/EBUSY worker-root cleanup races.
- Add teardown coverage proving transient ENOTEMPTY retries remove the worker root.
- Remove rescued core quarantine entries from the ledger and Vitest exclude list.
- Document the FN-6600 core cleanup rescue pattern in testing guidance.
Files changed:
docs/testing.md | 2 ++
.../core/src/__test-utils__/vitest-teardown.ts | 7 +++++-
.../vitest-teardown-worker-root-cleanup.test.ts | 27 ++++++++++++++++++++++
packages/core/vitest.config.ts | 6 +++--
scripts/lib/test-quarantine.json | 15 ------------
5 files changed, 39 insertions(+), 18 deletions(-)
Fusion-Task-Id: FN-6600
Fusion-Task-Lineage: 107fb5cf-82c8-4e65-915d-0ef69725369b
2026-06-17 19:19:05 -07:00
gsxdsm
5b9ff047d3
FN-6599: preserve chat thread during streaming attach
...
Keep existing chat history visible when attaching to an in-flight streaming response.
- Commit attach-triggered message loads for the streaming session before active session refs settle.
- Avoid clearing cached main chat messages on attach cache misses while fetching prior thread history.
- Add regression coverage for main chat and QuickChat streaming thread visibility, plus quarantine ledger updates.
Files changed:
.changeset/fn-6599-chat-streaming-thread.md | 5 +
docs/architecture.md | 1 +
docs/dashboard-guide.md | 2 +-
packages/core/vitest.config.ts | 1 +
.../__tests__/ChatView.streaming-thread.test.tsx | 168 +++++++++++++++++++++
.../dashboard/app/hooks/__tests__/useChat.test.ts | 51 +++++++
.../app/hooks/__tests__/useQuickChat.test.ts | 39 +++++
packages/dashboard/app/hooks/useChat.ts | 37 +++--
packages/dashboard/app/hooks/useQuickChat.ts | 27 ++--
scripts/lib/test-quarantine.json | 5 +
10 files changed, 307 insertions(+), 29 deletions(-)
Fusion-Task-Id: FN-6599
Fusion-Task-Lineage: b2c94391-6a5b-4048-836d-e4bc56e16786
2026-06-17 17:49:20 -07:00
gsxdsm
48da420414
FN-6593: delete unresolved flaky test quarantines
...
Delete unresolved quarantined flaky tests under the deletion ratchet while preserving newer active quarantines.
- Remove four flaky test files that were not rescued before the ratchet follow-up.
- Drop their matching Vitest excludes and quarantine ledger entries.
- Preserve later sync, work-bridge, and core quarantine records from main.
Files changed:
.../src/__tests__/github-tracking-hook.test.ts | 592 ---------------------
packages/dashboard/vitest.config.ts | 8 +-
.../src/__tests__/cli-agent-executor.test.ts | 404 --------------
packages/engine/vitest.config.ts | 5 +-
.../src/__tests__/orchestrator-flow.test.ts | 156 ------
.../src/__tests__/skill-wiring.test.ts | 101 ----
.../vitest.config.ts | 6 +-
scripts/lib/test-quarantine.json | 20 -
8 files changed, 13 insertions(+), 1279 deletions(-)
Fusion-Task-Id: FN-6593
Fusion-Task-Lineage: 1165ba24-894a-4cc9-b678-50ae1625ba6b
2026-06-17 17:37:08 -07:00
gsxdsm
cc793987b2
FN-6596: guard compound engineering debug launches
...
Guard Compound Engineering debug stage launches against stale stage settings and artifacts.
- Add source-level coverage proving stale enabledStages snapshots do not block registered CE stages, including debug.
- Add dist freshness checks for the disabledStages opt-out launch model so stale compiled plugin artifacts fail fast.
- Mirror newly observed core suite-load flakes in the quarantine ledger and Vitest excludes.
Files changed:
packages/core/vitest.config.ts | 5 ++
.../src/__tests__/dist-freshness.test.ts | 38 +++++++++++++++
.../src/__tests__/stage-launch-guard.test.ts | 57 ++++++++++++++++++++++
scripts/lib/test-quarantine.json | 10 ++++
4 files changed, 110 insertions(+)
Fusion-Task-Id: FN-6596
Fusion-Task-Lineage: 3cd75e5f-c6f8-4bde-8202-54eeac82b894
2026-06-17 17:21:22 -07:00
gsxdsm
822d5d1872
fix(FN-6587): stabilize test lanes under production env
...
Normalize spawned Vitest processes to NODE_ENV=test so React/jsdom lanes do not inherit release-shell production mode. Split the compound-engineering plugin Vitest projects so Node-only setup and teardown only run in Node lanes, and quarantine the remaining broad-lane CE timeout flakes under the deletion ratchet.
2026-06-17 17:13:13 -07:00
gsxdsm
d8b80d0bfe
FN-6587: quarantine compound-engineering timeout flakes
...
Quarantine compound-engineering timeout flakes from the broad test workflow.
- Add the compound-engineering orchestrator and skill-wiring tests to the quarantine ledger.
- Exclude the quarantined tests from the compound-engineering node Vitest project without changing timeouts or retries.
- Document the quarantine requirement next to the Vitest excludes.
Files changed:
.../fusion-plugin-compound-engineering/vitest.config.ts | 15 ++++++++++++++-
scripts/lib/test-quarantine.json | 10 ++++++++++
2 files changed, 24 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-6587
Fusion-Task-Lineage: 5aeb0202-8330-4a93-bdab-675c81b9cb54
2026-06-17 14:52:56 -07:00
gsxdsm
669b106548
FN-6514: restore QuickEntryBox test isolation
...
Rescues the QuickEntryBox suite by restoring jsdom globals instead of keeping it quarantined.
- Snapshot and restore QuickEntryBox viewport, visibility, matchMedia, and object URL descriptors after each test.
- Add a guard test that proves mutated jsdom globals return to their original descriptors.
- Remove the QuickEntryBox quarantine entries while documenting the rescue pattern.
Files changed:
docs/testing.md | 2 +
.../components/__tests__/QuickEntryBox.test.tsx | 50 ++++++++++++++++++++++
packages/dashboard/vitest.config.ts | 7 ++-
scripts/lib/test-quarantine.json | 5 ---
4 files changed, 55 insertions(+), 9 deletions(-)
Fusion-Task-Id: FN-6514
Fusion-Task-Lineage: 12f20ad8-19ee-4168-91a9-33193b1ab5f7
2026-06-16 22:13:46 -07:00
gsxdsm
0db81349bb
FN-6492: clamp task list text output
...
Bound fn_task_list responses now stay as plain text across board-tool surfaces.\n\n- Add a shared task-list text clamp with an explicit truncation marker.\n- Route CLI, dashboard planning-board, and engine triage task-list output through the shared formatter.\n- Cover bounded and column-filtered output with core and CLI regression tests.\n- Record the patch changeset and quarantine the observed engine CLI executor flake.\n\nFiles changed:\n .changeset/fn-6492-task-list-text-bound.md | 5 ++\n packages/cli/src/__tests__/extension.test.ts | 79 +++++++++++++++++++++-\n packages/cli/src/extension.ts | 7 +-\n .../core/src/__tests__/task-list-format.test.ts | 75 ++++++++++++++++++++\n packages/core/src/index.ts | 1 +\n packages/core/src/task-list-format.ts | 45 ++++++++++++\n packages/dashboard/src/planning-board-tools.ts | 8 ++-\n packages/engine/src/triage.ts | 7 +-\n packages/engine/vitest.config.ts | 5 ++\n scripts/lib/test-quarantine.json | 5 ++\n 10 files changed, 232 insertions(+), 5 deletions(-)
Fusion-Task-Id: FN-6492
Fusion-Task-Lineage: 8b347efb-bc17-4bbe-937c-4f07c63df318
2026-06-16 19:31:33 -07:00
gsxdsm
198fb17277
FN-6496: preserve chat history during streaming attach
...
Keep existing chat thread messages visible while reconnecting to streamed assistant responses.
- Hydrate or reload prior session messages before attaching an in-flight stream in full chat.
- Add QuickChat session-specific message loading so resumed streams do not hide earlier turns.
- Cover full chat and QuickChat streaming attach behavior with regression tests.
- Add the required patch changeset and quarantine unrelated flaky dashboard tests observed during verification.
Files changed:
.changeset/fn-6496-chat-stream-prior-thread.md | 5 +
.../dashboard/app/hooks/__tests__/useChat.test.ts | 286 ++++++++++++++++++++-
.../app/hooks/__tests__/useQuickChat.test.ts | 147 ++++++++++-
packages/dashboard/app/hooks/useChat.ts | 17 +-
packages/dashboard/app/hooks/useQuickChat.ts | 62 ++---
packages/dashboard/vitest.config.ts | 13 +-
scripts/lib/test-quarantine.json | 13 +-
7 files changed, 502 insertions(+), 41 deletions(-)
Fusion-Task-Id: FN-6496
Fusion-Task-Lineage: eb371b39-9810-48b7-a395-30066c9bc3be
2026-06-16 19:25:32 -07:00
gsxdsm
a38752c6bb
FN-6486: rescue quarantined flaky tests
...
Rescue the same-day core and CLI flaky quarantines by fixing their fixture seams instead of appeasing timeouts.
- Make the core concurrent-write lock helper release synchronously inside its child process so package load cannot delay the transient lock release.
- Close real CLI TaskStore fixtures before removing temp roots and switch mock cleanup to non-hoisted unmocking.
- Remove both test files from package quarantine excludes and clear the quarantine ledger while documenting the rescue pattern.
Files changed:
docs/testing.md | 2 ++
packages/cli/src/__tests__/extension-task-tools.test.ts | 17 +++++++++++++----
packages/cli/vitest.config.ts | 4 +++-
.../core/src/__tests__/store-concurrent-writes.test.ts | 8 +++++++-
packages/core/vitest.config.ts | 4 +++-
scripts/lib/test-quarantine.json | 13 +------------
6 files changed, 29 insertions(+), 19 deletions(-)
Fusion-Task-Id: FN-6486
Fusion-Task-Lineage: c90358c4-0549-4c68-8d17-2e2a336433b5
2026-06-16 15:08:24 -07:00
gsxdsm
589c8e8045
FN-6483: quarantine flaky CLI extension task tests
...
Quarantine the load-sensitive CLI extension task tools suite instead of widening Vitest timeouts.
- Add the extension task tools test file to the CLI Vitest quarantine exclude list.\n- Record the FN-6483 quarantine evidence in the deletion-ratchet ledger while preserving the existing core quarantine entry.\n\nFiles changed:\n packages/cli/vitest.config.ts | 5 +++++\n scripts/lib/test-quarantine.json | 5 +++++\n 2 files changed, 10 insertions(+)
Fusion-Task-Id: FN-6483
Fusion-Task-Lineage: 4a3be3b4-b2b4-4e05-afd0-564aa0d28c68
2026-06-16 15:08:24 -07:00
gsxdsm
0093678ee6
FN-6481: require release triage authorization
...
Block release-class tasks from automatic triage dispatch unless they come from a user-authored source with explicit authorization.
- Add release intent classification and authorization-marker enforcement before final triage transitions.
- Record activity/log details when release tasks are parked awaiting manual approval.
- Surface the new release-authorization activity in dashboard activity views.
- Cover release gating behavior with engine tests and document the architecture pattern.
- Add a changeset for the published CLI package.
Files changed:
.changeset/fn-6481-release-triage-authorization.md | 5 +
.../release-triage-requires-user-authorization.md | 33 +++++
packages/core/src/types.ts | 2 +
packages/core/vitest.config.ts | 4 +
packages/dashboard/app/components/ActivityFeed.tsx | 5 +
.../dashboard/app/components/ActivityLogModal.tsx | 6 +
.../__tests__/triage-release-authorization.test.ts | 158 +++++++++++++++++++++
.../engine/src/triage-release-authorization.ts | 100 +++++++++++++
packages/engine/src/triage.ts | 51 +++++++
scripts/lib/test-quarantine.json | 8 +-
10 files changed, 371 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-6481
Fusion-Task-Lineage: 0bddb77a-87e5-4fa5-b31a-e773bdae7a29
2026-06-16 15:08:24 -07:00
gsxdsm
a26d79cbb6
FN-6454: delete expired quarantined dashboard tests
...
Apply the dashboard quarantine deletion ratchet by removing stale quarantined suites and clearing the active skip ledger.
- Delete dashboard component and API test files that remained quarantined under the ratchet.
- Empty the dashboard Vitest quarantine exclude list so future quarantines must be newly mirrored.
- Clear the quarantine ledger entries after deleting their associated files.
Files changed:
...hatView.regular-composer-no-right-line.test.tsx | 108 -
.../components/__tests__/MissionManager.test.tsx | 5654 ------------------
.../app/components/__tests__/ModalReentry.test.tsx | 439 --
.../components/__tests__/ModelSelectorTab.test.tsx | 1325 -----
.../components/__tests__/NewAgentDialog.test.tsx | 2043 -------
.../__tests__/OAuthReloginBanner.test.tsx | 237 -
.../__tests__/PlanningModeModal.favorites.test.tsx | 540 --
.../__tests__/PlanningModeModal.questions.test.tsx | 1230 ----
.../PlanningModeModal.swipe-back.test.tsx | 239 -
.../components/__tests__/SkillsView.css.test.ts | 89 -
.../app/components/__tests__/mobile-css.test.tsx | 143 -
.../dashboard/src/__tests__/mission-e2e.test.ts | 6176 --------------------
packages/dashboard/src/__tests__/planning.test.ts | 3633 ------------
packages/dashboard/vitest.config.ts | 40 +-
scripts/lib/test-quarantine.json | 70 +-
15 files changed, 8 insertions(+), 21958 deletions(-)
Fusion-Task-Id: FN-6454
Fusion-Task-Lineage: f18e940d-f8ee-4ade-aedb-714b8e39e2a4
2026-06-15 02:29:08 -07:00
gsxdsm
e526ad2b2c
FN-6447: rescue session reconnect teardown
...
Rescue the session reconnect SSE test by shutting down route-owned background work before temp cleanup.
- Isolate the focused API harness from TaskStore EventEmitter startup workers.
- Dispose API routes and scheduled AI session cleanup before deleting the test temp root.
- Remove session-reconnect from the dashboard quarantine ledger and vitest skip list.
Files changed:
.../src/__tests__/session-reconnect.test.ts | 22 ++++++++++++++++++----
packages/dashboard/vitest.config.ts | 6 ++++--
scripts/lib/test-quarantine.json | 5 -----
3 files changed, 22 insertions(+), 11 deletions(-)
Fusion-Task-Id: FN-6447
Fusion-Task-Lineage: a3fef28c-b92b-4f47-9181-a63bb31e4f48
2026-06-14 15:29:35 -07:00
gsxdsm
c12e7e39fb
FN-6444: rescue dashboard route API tests
...
Rescue deterministic dashboard route/API tests from the curated skip-list and quarantine the remaining stale suites.
- Remove dashboard src route/API tests from the curated skip-list once they either run in backfill or move to quarantine.
- Add dated quarantine coverage for stale mission, planning, and session reconnect suites.
- Update rescued route/API test expectations and FNXC comments to match current deterministic behavior.
Files changed:
.../dashboard/src/__tests__/chat-manager.test.ts | 4 ++
.../dashboard/src/__tests__/evals-routes.test.ts | 8 +++-
.../src/__tests__/github-tracking-delete.test.ts | 4 ++
...ithub-tracking-periodic-reconcile-sweep.test.ts | 8 +++-
.../src/__tests__/insights-routes.test.ts | 12 ++++--
.../__tests__/routes-run-audit-goal-events.test.ts | 6 ++-
.../src/__tests__/routes-run-cited-goals.test.ts | 6 ++-
.../shared-branch-group-entry-points.test.ts | 6 +--
packages/dashboard/src/__tests__/usage.test.ts | 4 ++
packages/dashboard/vitest.config.ts | 6 +++
scripts/lib/dashboard-curated-skiplist.json | 44 ----------------------
scripts/lib/test-quarantine.json | 15 ++++++++
12 files changed, 66 insertions(+), 57 deletions(-)
Fusion-Task-Id: FN-6444
Fusion-Task-Lineage: f314da67-d05e-48c5-9c9c-890c28cf0e5b
2026-06-14 15:29:35 -07:00
gsxdsm
175aab15ac
FN-6441: rescue and quarantine dashboard component tests
...
Rescue passing dashboard component tests and move still-failing orphaned tests under the quarantine ratchet.
- Remove the FN-6441 dashboard component batch from the curated skip-list.
- Keep passing PlanningModeModal, TaskReviewTab, and TerminalModal coverage documented in app backfill.
- Register remaining failing dashboard component/CSS tests in the dated quarantine ledger and Vitest excludes.
- Teach the dashboard curated inventory guard to accept dated quarantine entries without returning them to the skip-list.
Files changed:
.../PlanningModeModal.ui-interactions.test.tsx | 9 ++-
.../components/__tests__/TaskReviewTab.test.tsx | 4 ++
.../components/__tests__/TerminalModal.test.tsx | 4 ++
packages/dashboard/vitest.config.ts | 14 +++++
scripts/__tests__/check-test-inventory.test.mjs | 32 +++++++++++
scripts/check-test-inventory.mjs | 67 +++++++++++++++++-----
scripts/lib/dashboard-curated-skiplist.json | 56 ------------------
scripts/lib/test-quarantine.json | 58 ++++++++++++++++++-
8 files changed, 172 insertions(+), 72 deletions(-)
Fusion-Task-Id: FN-6441
Fusion-Task-Lineage: 19065d1f-31eb-45fc-a6ce-083773b094e4
2026-06-14 15:29:35 -07:00
gsxdsm
93b2288d37
FN-6433: rescue non-CLI quarantined tests
...
Rescue and ratchet non-CLI quarantine state across engine, core, and dashboard suites.
- Empty the core, dashboard, and engine quarantine exclude arrays after proving rescued suites run under package load.
- Replace broad AI-merge active-session registry cleanup with path-scoped unregistering in engine tests.
- Delete the duplicate soft-delete blocker residue suite and clear the quarantine ledger.
- Document the non-CLI quarantine sweep pattern for future rescues.
Files changed:
docs/testing.md | 2 +
packages/core/vitest.config.ts | 10 +-
packages/dashboard/vitest.config.ts | 12 +-
.../merger-ai-cleanup-active-session.test.ts | 20 +++-
.../engine/src/__tests__/merger-ai-cleanup.test.ts | 5 +-
.../soft-delete-blocker-residue.test.ts | 128 ---------------------
packages/engine/vitest.config.ts | 12 +-
scripts/lib/test-quarantine.json | 65 +----------
8 files changed, 40 insertions(+), 214 deletions(-)
Fusion-Task-Id: FN-6433
Fusion-Task-Lineage: 18c37475-e6e1-4358-9350-eca65cf53b68
2026-06-14 15:29:35 -07:00
gsxdsm
2fc6d4d667
FN-6430: rescue CLI quarantine tests
...
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
2026-06-14 15:29:35 -07:00
gsxdsm
ffaef67549
FN-6421: quarantine flaky CLI integration tests
...
Quarantine load-sensitive CLI vitest suites instead of widening default test timeouts.
- Add extension agent provisioning and serve suites to the CLI vitest quarantine list.
- Record quarantine ledger entries with standalone pass evidence and deletion-clock dates.
- Keep FNXC rationale next to the excluded CLI tests for future cleanup.
Files changed:
packages/cli/vitest.config.ts | 6 ++++++
scripts/lib/test-quarantine.json | 10 ++++++++++
2 files changed, 16 insertions(+)
Fusion-Task-Id: FN-6421
Fusion-Task-Lineage: de6db6a5-aad7-4e25-9bf4-7734dc6d8d05
2026-06-13 20:15:54 -07:00
gsxdsm
85a25b3598
FN-6416: document heap test quarantine context
...
Clarify why the heap-wrapper timeout test remains quarantined under the deletion ratchet.
- Update the dashboard vitest quarantine comment to reference the heap wrapper exclusion requirement.
- Expand the quarantine ledger reason with the FN-6416 context and leaked temp-worker cleanup observation.
Files changed:
packages/dashboard/vitest.config.ts | 4 ++--
scripts/lib/test-quarantine.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
Fusion-Task-Id: FN-6416
Fusion-Task-Lineage: 627c1fd9-60d8-415d-88b5-a4e946de0110
2026-06-13 19:53:51 -07:00
gsxdsm
066c919ace
test: quarantine slow and flaky test lanes
...
Move observed load-sensitive and slow tests out of the default lanes per the deletion-ratchet policy, keep the quarantine ledger in sync, and preserve corrupt databases when recovery fails during verification.
2026-06-13 19:22:00 -07:00
gsxdsm
b4541a97f3
FN-6391: restore routes settings test coverage
...
Restore the rescued dashboard routes settings test to the active suite.
- Remove routes-settings from the dashboard Vitest quarantine excludes.
- Delete its quarantine ledger entry now that the test is no longer quarantined.
Files changed:
packages/dashboard/vitest.config.ts | 1 -
scripts/lib/test-quarantine.json | 5 -----
2 files changed, 6 deletions(-)
Fusion-Task-Id: FN-6391
Fusion-Task-Lineage: 41068faa-f1e7-4f7b-a8cd-fc123611ba42
2026-06-13 16:30:28 -07:00
gsxdsm
4797eac348
Merge origin/main into feat/validator-behavioral-verification
...
Resolve conflicts from concurrent main work:
- db.ts: renumber behavioral-verification migration 115 -> 118 after main's
workflow-work-items (115), graphResumeRetryCount (116), autoMergeProvenance (117);
SCHEMA_VERSION = 118. Update all schema-version test assertions to 118
(keep SCHEMA_VERSION constant where used).
- vitest.config / test-quarantine.json: union both branches' quarantine sets
(FN-6206 behavioral-verification files + main's merger-ai-cleanup/merger-ai/
QuickEntryBox/soft-delete-blocker-residue/routes-settings entries).
- settings-sync routes: keep workflowId-qualified field keys + persisted global
pull; drop duplicate workflowApplyResult from auto-merge interleave.
- Keep behavioral-verification changes in mission-execution-loop imports,
useNodeSettingsSync, save-split, driver, and sync tests.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-13 15:48:54 -07:00
gsxdsm
97a49ac196
FN-6382: unquarantine stabilized flaky tests
...
Restore quarantined tests by fixing their flaky harness seams instead of extending the deletion ratchet.
- Mark active Vitest worker roots and skip live worker roots during prune cleanup.
- Make bubblewrap backend coverage deterministic with an injectable runner and restore it to the engine gate.
- Remove rescued core and bubblewrap tests from the quarantine ledger and Vitest excludes.
Files changed:
.../core/src/__test-utils__/vitest-teardown.ts | 10 +++++-
packages/core/vitest.config.ts | 8 +----
.../__tests__/sandbox/bubblewrap-backend.test.ts | 29 +++++++++------
packages/engine/src/sandbox/bubblewrap-backend.ts | 9 +++--
packages/engine/vitest.config.ts | 1 -
scripts/__tests__/test-changed.test.mjs | 23 ++++++++++++
scripts/lib/test-quarantine.json | 34 ++----------------
scripts/test-changed.mjs | 41 ++++++++++++++++++++++
8 files changed, 102 insertions(+), 53 deletions(-)
Fusion-Task-Id: FN-6382
Fusion-Task-Lineage: 018dc7ac-1ef1-495e-a5fd-96ea44fcd43b
2026-06-13 11:39:37 -07:00