diff --git a/docs/test-velocity-baseline.md b/docs/test-velocity-baseline.md index 257f9573e7..8fa0fa7449 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-22T08:03:10.119Z** +- Captured at: **2026-06-23T07:29:54.383Z** - Timing snapshot: `scripts/test-timings.json` captured at **2026-06-03T23:45:49.672Z** - Quarantine ledger: `scripts/lib/test-quarantine.json` @@ -13,10 +13,10 @@ | Metric | Current | Delta vs previous | |---|---:|---:| -| 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 | +| Merge gate wall-time (`pnpm test:gate`) | 15.9s | +9.5s | +| Boot smoke wall-time (`pnpm smoke:boot`) | 21.1s | +2.3s | +| Changed-only test wall-time (`pnpm test`) | 1m 07s | +57.2s | +| Quarantine / flake count | 0 | -1 | | Deletion-due quarantines | 0 | n/a | ## Measurement failures @@ -52,7 +52,7 @@ | Age bucket | Count | |---|---:| -| 0-6 days | 1 | +| 0-6 days | 0 | | 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-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 | +| Previous | 2026-06-22T08:03:10.119Z | 6.5s | 18.8s | 9.8s | 1 | +| Latest | 2026-06-23T07:29:54.383Z | 15.9s | 21.1s | 1m 07s | 0 | +| Delta | — | +9.5s | +2.3s | +57.2s | -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 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. +FN-6612 weekly test velocity: gate 15.9s (+9.5s), boot smoke 21.1s (+2.3s), pnpm test 1m 07s (+57.2s), quarantine ledger 0 (-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 1aacc5e11a..8998068cd3 100644 --- a/scripts/test-velocity-history.json +++ b/scripts/test-velocity-history.json @@ -564,6 +564,117 @@ ], "measurementFailures": [], "timingSnapshotCapturedAt": "2026-06-03T23:45:49.672Z" + }, + { + "capturedAt": "2026-06-23T07:29:54.383Z", + "gateMs": 15947, + "bootSmokeMs": 21059, + "testMs": 66916, + "quarantineCount": 0, + "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" } ] }