fix(issue-161): consolidate test harnesses and prune media#195
Conversation
Review — quality-cleanup PR (issue #161)Reviewed the code + verified the risky bits independently (media reference safety, the one production line, and the store/coordinator mock migrations). Net: the three code changes are solid and low-risk; the main thing worth a decision is the What I verified ✅
One thing to decide 🧭Should the Minor notes (non-blocking)
VerdictCode is effectively merge-ready. Recommend resolving the |
|
Ignored openspec |
|
Thank you very much! <3 |
Summary
Closes #161.
console.warn.openspec/planning artifacts out of the remote branch via.gitignore.Finding coverage
electron/mcp/coordinator-test-harness.tsand migrated coordinator tests.src/store/test-helpers.tsand migrated high-duplication store tests.[steps.recv]warning.Deferred media variants
Kept ambiguous unreferenced PNG screenshots for maintainer confirmation/follow-up:
screens/diff-dialog-plain.pngscreens/islands-focus-view-l.pngscreens/islands-focus-view-l2.pngscreens/islands-plan-review.pngscreens/minimal-focus-view.pngscreens/minimal-overview.pngscreens/parallel-tasks.pngscreens/status-dot-tooltip-example.pngscreens/workbench-focus-view.pngscreens/workbench-overview.pngValidation
openspec validate address-quality-audit-cleanup --strict(local only;openspec/ignored in PR)npm test -- electron/mcp/coordinator-sequence.test.ts electron/mcp/coordinator.test.ts→ 272 tests passednpm test -- electron/mcp/prompt-detect.test.ts electron/mcp/server.test.ts electron/remote/coordinator-scoping.test.ts→ 141 tests passednpm test -- src/store/ui.test.ts src/store/appearance-mode.test.ts src/store/focus.test.ts src/store/navigation.test.ts src/store/agents.test.ts src/store/notifications.test.ts src/store/taskStatus.test.ts src/store/tasks.test.ts src/store/sidebar-order.test.ts→ 208 tests passednpm run typecheckconsole.warncheck → no[steps.recv]warning and no routineelectron/ipc/steps.tswarningdu -sh screens→ 18M after cleanup (54M before)npm run checknpm test→ 76 files passed, 2 skipped; 1467 tests passed, 24 skipped