From ff06443bd7add93b65c3e9fa569499e7e6837c79 Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Mon, 22 Jun 2026 17:52:26 -0700 Subject: [PATCH] FN-6921: refresh test velocity baseline Refresh the weekly test velocity report with the latest measured results. - Update the baseline capture timestamp, deltas, quarantine count, and #leads summary text. - Record the latest velocity measurement row in the historical JSON log. - Preserve already-landed branch changes by applying only the remaining FN-6921 measurement update after duplicate-commit detection. Files changed: docs/test-velocity-baseline.md | 22 ++++---- scripts/test-velocity-history.json | 111 +++++++++++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 11 deletions(-) Fusion-Task-Id: FN-6921 Fusion-Task-Lineage: e0f08944-0709-43de-ba25-57903c4a58b6 --- docs/test-velocity-baseline.md | 22 +++--- scripts/test-velocity-history.json | 111 +++++++++++++++++++++++++++++ 2 files changed, 122 insertions(+), 11 deletions(-) diff --git a/docs/test-velocity-baseline.md b/docs/test-velocity-baseline.md index f4658da749..257f9573e7 100644 --- a/docs/test-velocity-baseline.md +++ b/docs/test-velocity-baseline.md @@ -5,7 +5,7 @@ ## Latest baseline - Cycle: **2026-W26** -- Captured at: **2026-06-22T04:22:44.873Z** +- Captured at: **2026-06-22T08:03:10.119Z** - Timing snapshot: `scripts/test-timings.json` captured at **2026-06-03T23:45:49.672Z** - Quarantine ledger: `scripts/lib/test-quarantine.json` @@ -13,15 +13,15 @@ | Metric | Current | Delta vs previous | |---|---:|---:| -| Merge gate wall-time (`pnpm test:gate`) | 8.3s | +2.9s | -| Boot smoke wall-time (`pnpm smoke:boot`) | unavailable | n/a | -| Changed-only test wall-time (`pnpm test`) | 48.8s | +41.5s | -| Quarantine / flake count | 0 | 0 | +| Merge gate wall-time (`pnpm test:gate`) | 6.5s | -1.8s | +| Boot smoke wall-time (`pnpm smoke:boot`) | 18.8s | n/a | +| Changed-only test wall-time (`pnpm test`) | 9.8s | -39.0s | +| Quarantine / flake count | 1 | +1 | | Deletion-due quarantines | 0 | n/a | ## Measurement failures -- Boot smoke (`pnpm smoke:boot`): exit 1 after 406ms +- None recorded. ## Slowest 20 test files @@ -52,7 +52,7 @@ | Age bucket | Count | |---|---:| -| 0-6 days | 0 | +| 0-6 days | 1 | | 7-13 days | 0 | | deletion due (>=14 days) | 0 | | unknown/future | 0 | @@ -67,16 +67,16 @@ | Row | Captured at | Gate | Boot smoke | `pnpm test` | Quarantine count | |---|---|---:|---:|---:|---:| -| Previous | 2026-06-18T16:12:01.248Z | 5.4s | 18.1s | 7.2s | 0 | -| Latest | 2026-06-22T04:22:44.873Z | 8.3s | unavailable | 48.8s | 0 | -| Delta | — | +2.9s | n/a | +41.5s | 0 | +| Previous | 2026-06-22T04:22:44.873Z | 8.3s | unavailable | 48.8s | 0 | +| Latest | 2026-06-22T08:03:10.119Z | 6.5s | 18.8s | 9.8s | 1 | +| Delta | — | -1.8s | n/a | -39.0s | +1 | _Future weekly rows append to `scripts/test-velocity-history.json`; compare the latest row against the previous row before posting to #leads._ ## Post to #leads ```text -FN-6612 weekly test velocity: gate 8.3s (+2.9s), boot smoke unavailable (n/a), pnpm test 48.8s (+41.5s), quarantine ledger 0 (0). Slowest file: packages/engine/src/__tests__/reliability-interactions/shared-branch-group-lifecycle.test.ts at 13.9s. Deletion-due quarantines: 0. +FN-6612 weekly test velocity: gate 6.5s (-1.8s), boot smoke 18.8s (n/a), pnpm test 9.8s (-39.0s), quarantine ledger 1 (+1). Slowest file: packages/engine/src/__tests__/reliability-interactions/shared-branch-group-lifecycle.test.ts at 13.9s. Deletion-due quarantines: 0. ``` ## How to refresh diff --git a/scripts/test-velocity-history.json b/scripts/test-velocity-history.json index 2c29dd0cf4..1aacc5e11a 100644 --- a/scripts/test-velocity-history.json +++ b/scripts/test-velocity-history.json @@ -453,6 +453,117 @@ } ], "timingSnapshotCapturedAt": "2026-06-03T23:45:49.672Z" + }, + { + "capturedAt": "2026-06-22T08:03:10.119Z", + "gateMs": 6461, + "bootSmokeMs": 18784, + "testMs": 9753, + "quarantineCount": 1, + "slowestTop20": [ + { + "file": "packages/engine/src/__tests__/reliability-interactions/shared-branch-group-lifecycle.test.ts", + "ms": 13900, + "package": "@fusion/engine" + }, + { + "file": "packages/core/src/__tests__/agent-store.test.ts", + "ms": 11600, + "package": "@fusion/core" + }, + { + "file": "packages/dashboard/src/__tests__/routes-agents.test.ts", + "ms": 11200, + "package": "@fusion/dashboard" + }, + { + "file": "packages/core/src/__tests__/mission-store.test.ts", + "ms": 10700, + "package": "@fusion/core" + }, + { + "file": "packages/core/src/__tests__/db.test.ts", + "ms": 10100, + "package": "@fusion/core" + }, + { + "file": "packages/dashboard/src/__tests__/routes-git.test.ts", + "ms": 9400, + "package": "@fusion/dashboard" + }, + { + "file": "packages/engine/src/__tests__/reliability-interactions/branch-group-automerge-precedence.test.ts", + "ms": 9000, + "package": "@fusion/engine" + }, + { + "file": "packages/engine/src/__tests__/merger-ai.test.ts", + "ms": 8700, + "package": "@fusion/engine" + }, + { + "file": "packages/engine/src/__tests__/reliability-interactions/branch-group-merge-routing.test.ts", + "ms": 8400, + "package": "@fusion/engine" + }, + { + "file": "packages/engine/src/__tests__/reliability-interactions/branch-group-promotion-gate.test.ts", + "ms": 8400, + "package": "@fusion/engine" + }, + { + "file": "packages/core/src/__tests__/task-documents.test.ts", + "ms": 8300, + "package": "@fusion/core" + }, + { + "file": "packages/engine/src/runtimes/__tests__/in-process-runtime.test.ts", + "ms": 7800, + "package": "@fusion/engine" + }, + { + "file": "packages/cli/src/__tests__/extension.test.ts", + "ms": 7000, + "package": "@runfusion/fusion" + }, + { + "file": "packages/core/src/__tests__/run-audit.test.ts", + "ms": 6900, + "package": "@fusion/core" + }, + { + "file": "packages/engine/src/__tests__/reliability-interactions/branch-group-promotion.test.ts", + "ms": 6100, + "package": "@fusion/engine" + }, + { + "file": "packages/dashboard/src/__tests__/routes-planning.test.ts", + "ms": 5600, + "package": "@fusion/dashboard" + }, + { + "file": "packages/core/src/__tests__/store-merge-queue.test.ts", + "ms": 5200, + "package": "@fusion/core" + }, + { + "file": "packages/dashboard/app/components/__tests__/FileEditor.test.tsx", + "ms": 5100, + "package": "@fusion/dashboard" + }, + { + "file": "packages/engine/src/__tests__/reliability-interactions/integration-worktree-state.test.ts", + "ms": 4900, + "package": "@fusion/engine" + }, + { + "file": "packages/engine/src/__tests__/self-healing-already-merged.real-git.test.ts", + "ms": 4900, + "package": "@fusion/engine" + } + ], + "measurementFailures": [], + "timingSnapshotCapturedAt": "2026-06-03T23:45:49.672Z" } ] }