Commit Graph

5 Commits

Author SHA1 Message Date
gsxdsm
dc54acd746 test: fix TaskCard/GraphTaskNode useToast + TaskDetailModal CSS selector-list regex
- TaskCard badge/footer tests + GraphTaskNode tests: mock useToast (RuntimeFallbackBadge now calls it; tests render TaskCard without ToastProvider)
- TaskDetailModal.github-tracking-header: allow selector-list form in CSS regex (github+gitlab tracking rules consolidated)
2026-07-08 22:30:29 -07:00
gsxdsm
254e97da74 FN-7306: rename task-detail Chat tab to Activity
Renames the existing task-detail activity surface while preserving the stable chat tab id.

- Move the Activity tab to the first task-detail position and make it the default for every task state.
- Keep `chat` as the compatibility tab id for modal callers, plugin APIs, and deep links.
- Update task-detail tests and add a patch changeset for the published CLI package.

Files changed:
 .changeset/fn-7306-task-detail-activity-tab.md     |  7 +++
 .../dashboard/app/components/TaskDetailModal.tsx   | 35 ++++++-------
 .../TaskDetailModal.attachments-and-tabs.test.tsx  | 57 +++++++++++-----------
 .../TaskDetailModal.definition-actions.test.tsx    | 24 ++++-----
 ...TaskDetailModal.github-tracking-header.test.tsx |  2 +-
 .../TaskDetailModal.github-tracking-stale.test.tsx |  2 +-
 ...lModal.inline-editing-and-integrations.test.tsx |  4 +-
 ...skDetailModal.models-progress-workflow.test.tsx |  2 +-
 .../__tests__/TaskDetailModal.rendering.test.tsx   |  4 +-
 ...etailModal.responsive-and-dependencies.test.tsx |  6 +--
 .../__tests__/TaskDetailModal.summary-tab.test.tsx | 33 ++++++++-----
 .../components/__tests__/TaskDetailModal.test.tsx  |  4 +-
 packages/dashboard/app/hooks/useModalManager.ts    |  4 ++
 packages/dashboard/app/plugins/types.ts            |  7 ++-
 14 files changed, 107 insertions(+), 84 deletions(-)

Fusion-Task-Id: FN-7306
Fusion-Task-Lineage: c905134c-de74-4c46-9c5a-d3fbc8200093
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-06-30 14:58:07 -07:00
gsxdsm
9eff4d424e FN-6574: repair TaskDetailModal definition test lanes
Repair TaskDetailModal tests so Definition-surface assertions remain valid after Chat became the default tab.

- Add regression coverage for explicitly opening the Definition tab while the default tab remains Chat.
- Set definition-focused TaskDetailModal test renders to use initialTab="definition" across the split dashboard lanes.
- Document why Definition-only assertions opt into the Definition tab after the Chat-default-tab change.

Files changed:
 .../TaskDetailModal.attachments-and-tabs.test.tsx  | 33 +++++++++
 ...TaskDetailModal.github-tracking-header.test.tsx |  5 ++
 .../TaskDetailModal.github-tracking-stale.test.tsx | 11 +++
 ...lModal.inline-editing-and-integrations.test.tsx | 83 ++++++++++++++++++++++
 ...skDetailModal.models-progress-workflow.test.tsx | 33 +++++++++
 .../__tests__/TaskDetailModal.rendering.test.tsx   | 73 +++++++++++++++++++
 ...etailModal.responsive-and-dependencies.test.tsx | 37 ++++++++++
 .../components/__tests__/TaskDetailModal.test.tsx  | 17 +++++
 8 files changed, 292 insertions(+)

Fusion-Task-Id: FN-6574

Fusion-Task-Lineage: f8d5e038-058a-4d12-8384-2ef603988e3a
2026-06-17 14:52:56 -07:00
gsxdsm
f58fb8955a fix(engine-tests): eliminate temp-dir leak and raise subprocess guard for concurrent workspace runs
Two engine merger tests created mkdtempSync workspaces directly in tmpdir()
under the tracked `fusion-test-` prefix; under full-suite concurrent load
the post-run check-test-isolation flagged them as leaks. Route both
(`merger-no-op-fix-finalize.test.ts`, `merger-verification-fix-already-on-main.test.ts`)
through FUSION_TEST_WORKER_ROOT like sibling merger tests so they nest
inside the already-tracked worker root.

Bump engine vitest subprocess guard from 60s to 120s and testTimeout to
30s — plain git commands (branch -d, worktree remove) queued behind
system contention during `pnpm -r --workspace-concurrency=2` runs were
timing out. The guard only fires on hangs, so healthy tests pay nothing.

Also bundles in-progress dashboard mobile-breakpoint regex/CSS test
updates and docs index additions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 20:20:42 -07:00
Fusion
14811ed60d feat(FN-4224): tighten github tracking header to single-row layout in task
Restyles the GitHub tracking header in TaskDetailModal to a compact single-row layout with tighter spacing, adds test coverage for the header layout, and includes a regression verification pass alongside a changeset documenting the change.

Fusion-Task-Id: FN-4224
2026-05-12 17:34:26 -07:00