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
|
fbd9ad2f3b
|
FN-6617: add weekly test velocity baseline
Adds a report-only weekly baseline for test feedback-loop velocity.
- Add a test:velocity script that measures gate, boot smoke, and changed-only test durations and regenerates a #leads-ready report.
- Track committed baseline history, slowest-file summaries, and quarantine deletion-clock counts.
- Document the weekly refresh workflow in testing guidance and agent instructions.
Files changed:
AGENTS.md | 4 +-
docs/test-velocity-baseline.md | 92 ++++++
docs/testing.md | 18 ++
package.json | 1 +
scripts/__tests__/test-velocity-baseline.test.mjs | 121 ++++++++
scripts/test-velocity-baseline.mjs | 339 ++++++++++++++++++++++
scripts/test-velocity-history.json | 231 +++++++++++++++
7 files changed, 805 insertions(+), 1 deletion(-)
Fusion-Task-Id: FN-6617
Fusion-Task-Lineage: 50a07298-74ec-4481-b288-4fadb7d3d29b
|
2026-06-17 20:09:05 -07:00 |
|