FN-6968: refresh test timing snapshots
Refresh the weekly test velocity baseline with current timing evidence. - Update the rendered baseline report with the latest capture timestamps and velocity deltas. - Replace stale slowest-file timing rows with the refreshed snapshot entries. - Append the latest velocity history sample used by the weekly report. Files changed: docs/test-velocity-baseline.md | 61 +- scripts/test-timings.json | 1772 +++++++++++++++++++++++++++++------- scripts/test-velocity-history.json | 112 +++ 3 files changed, 1580 insertions(+), 365 deletions(-) Fusion-Task-Id: FN-6968 Fusion-Task-Lineage: 940f3581-3650-4feb-8730-d6dbb760e30c
This commit is contained in:
@@ -5,17 +5,17 @@
|
||||
## Latest baseline
|
||||
|
||||
- Cycle: **2026-W26**
|
||||
- Captured at: **2026-06-23T18:43:21.941Z**
|
||||
- Timing snapshot: `scripts/test-timings.json` captured at **2026-06-03T23:45:49.672Z**
|
||||
- Captured at: **2026-06-25T05:47:54.804Z**
|
||||
- Timing snapshot: `scripts/test-timings.json` captured at **2026-06-25T05:45:08.116Z**
|
||||
- Quarantine ledger: `scripts/lib/test-quarantine.json`
|
||||
|
||||
## Metrics
|
||||
|
||||
| Metric | Current | Delta vs previous |
|
||||
|---|---:|---:|
|
||||
| Merge gate wall-time (`pnpm test:gate`) | 16.8s | +6.0s |
|
||||
| Boot smoke wall-time (`pnpm smoke:boot`) | 22.8s | +3.0s |
|
||||
| Changed-only test wall-time (`pnpm test`) | 19.6s | n/a |
|
||||
| Merge gate wall-time (`pnpm test:gate`) | 7.5s | -9.3s |
|
||||
| Boot smoke wall-time (`pnpm smoke:boot`) | 18.2s | -4.7s |
|
||||
| Changed-only test wall-time (`pnpm test`) | 9.4s | -10.2s |
|
||||
| Quarantine / flake count | 0 | 0 |
|
||||
| Deletion-due quarantines | 0 | n/a |
|
||||
|
||||
@@ -25,33 +25,32 @@
|
||||
|
||||
## Timing snapshot notes
|
||||
|
||||
- Timing snapshot is 19 days old; verify slowest-file attribution before treating the table as the current culprit.
|
||||
- 5 of the listed slowest files no longer exist at the recorded paths: `packages/engine/src/__tests__/reliability-interactions/shared-branch-group-lifecycle.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-automerge-precedence.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-merge-routing.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-promotion-gate.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-promotion.test.ts`. Refresh scripts/test-timings.json before choosing a slow-test rewrite.
|
||||
- No stale or missing timing metadata detected in the rendered slowest-file rows.
|
||||
|
||||
## Slowest 20 test files
|
||||
|
||||
| Rank | File | Package | Duration |
|
||||
|---:|---|---|---:|
|
||||
| 1 | `packages/engine/src/__tests__/reliability-interactions/shared-branch-group-lifecycle.test.ts` | @fusion/engine | 13.9s |
|
||||
| 2 | `packages/core/src/__tests__/agent-store.test.ts` | @fusion/core | 11.6s |
|
||||
| 3 | `packages/dashboard/src/__tests__/routes-agents.test.ts` | @fusion/dashboard | 11.2s |
|
||||
| 4 | `packages/core/src/__tests__/mission-store.test.ts` | @fusion/core | 10.7s |
|
||||
| 5 | `packages/core/src/__tests__/db.test.ts` | @fusion/core | 10.1s |
|
||||
| 6 | `packages/dashboard/src/__tests__/routes-git.test.ts` | @fusion/dashboard | 9.4s |
|
||||
| 7 | `packages/engine/src/__tests__/reliability-interactions/branch-group-automerge-precedence.test.ts` | @fusion/engine | 9.0s |
|
||||
| 8 | `packages/engine/src/__tests__/merger-ai.test.ts` | @fusion/engine | 8.7s |
|
||||
| 9 | `packages/engine/src/__tests__/reliability-interactions/branch-group-merge-routing.test.ts` | @fusion/engine | 8.4s |
|
||||
| 10 | `packages/engine/src/__tests__/reliability-interactions/branch-group-promotion-gate.test.ts` | @fusion/engine | 8.4s |
|
||||
| 11 | `packages/core/src/__tests__/task-documents.test.ts` | @fusion/core | 8.3s |
|
||||
| 12 | `packages/engine/src/runtimes/__tests__/in-process-runtime.test.ts` | @fusion/engine | 7.8s |
|
||||
| 13 | `packages/cli/src/__tests__/extension.test.ts` | @runfusion/fusion | 7.0s |
|
||||
| 14 | `packages/core/src/__tests__/run-audit.test.ts` | @fusion/core | 6.9s |
|
||||
| 15 | `packages/engine/src/__tests__/reliability-interactions/branch-group-promotion.test.ts` | @fusion/engine | 6.1s |
|
||||
| 16 | `packages/dashboard/src/__tests__/routes-planning.test.ts` | @fusion/dashboard | 5.6s |
|
||||
| 17 | `packages/core/src/__tests__/store-merge-queue.test.ts` | @fusion/core | 5.2s |
|
||||
| 18 | `packages/dashboard/app/components/__tests__/FileEditor.test.tsx` | @fusion/dashboard | 5.1s |
|
||||
| 19 | `packages/engine/src/__tests__/reliability-interactions/integration-worktree-state.test.ts` | @fusion/engine | 4.9s |
|
||||
| 20 | `packages/engine/src/__tests__/self-healing-already-merged.real-git.test.ts` | @fusion/engine | 4.9s |
|
||||
| 1 | `packages/dashboard/app/components/__tests__/SettingsModal.test.tsx` | @fusion/dashboard | 1m 01s |
|
||||
| 2 | `packages/dashboard/src/__tests__/insights-routes.test.ts` | @fusion/dashboard | 26.5s |
|
||||
| 3 | `packages/engine/src/runtimes/__tests__/in-process-runtime.test.ts` | @fusion/engine | 24.7s |
|
||||
| 4 | `packages/dashboard/app/components/__tests__/ChatView.test.tsx` | @fusion/dashboard | 24.4s |
|
||||
| 5 | `packages/dashboard/src/__tests__/workflow-routes.test.ts` | @fusion/dashboard | 22.0s |
|
||||
| 6 | `packages/core/src/__tests__/db.test.ts` | @fusion/core | 21.2s |
|
||||
| 7 | `packages/dashboard/app/components/__tests__/GitManagerModal.test.tsx` | @fusion/dashboard | 16.9s |
|
||||
| 8 | `packages/core/src/__tests__/mission-store.test.ts` | @fusion/core | 16.0s |
|
||||
| 9 | `packages/cli/src/__tests__/extension.test.ts` | @runfusion/fusion | 15.7s |
|
||||
| 10 | `packages/dashboard/app/components/__tests__/AgentPromptsManager.test.tsx` | @fusion/dashboard | 14.8s |
|
||||
| 11 | `packages/dashboard/app/components/__tests__/App.test.tsx` | @fusion/dashboard | 14.6s |
|
||||
| 12 | `packages/dashboard/app/components/__tests__/TaskDetailModal.inline-editing-and-integrations.test.tsx` | @fusion/dashboard | 14.1s |
|
||||
| 13 | `packages/dashboard/app/components/__tests__/TaskDetailModal.rendering.test.tsx` | @fusion/dashboard | 13.7s |
|
||||
| 14 | `packages/dashboard/src/__tests__/routes-auth.test.ts` | @fusion/dashboard | 13.6s |
|
||||
| 15 | `packages/core/src/__tests__/agent-store.test.ts` | @fusion/core | 13.4s |
|
||||
| 16 | `packages/engine/src/__tests__/workspace-merger-idempotency.test.ts` | @fusion/engine | 12.7s |
|
||||
| 17 | `packages/engine/src/__tests__/self-healing-workspace.test.ts` | @fusion/engine | 11.8s |
|
||||
| 18 | `packages/engine/src/__tests__/pr-response-run.test.ts` | @fusion/engine | 11.6s |
|
||||
| 19 | `packages/dashboard/app/components/__tests__/ListView.test.tsx` | @fusion/dashboard | 11.3s |
|
||||
| 20 | `plugins/fusion-plugin-compound-engineering/src/__tests__/sync.test.ts` | @fusion-plugin-examples/compound-engineering | 11.0s |
|
||||
|
||||
## Quarantine age buckets
|
||||
|
||||
@@ -72,16 +71,16 @@
|
||||
|
||||
| Row | Captured at | Gate | Boot smoke | `pnpm test` | Quarantine count |
|
||||
|---|---|---:|---:|---:|---:|
|
||||
| Previous | 2026-06-23T18:30:19.699Z | 10.8s | 19.8s | unavailable | 0 |
|
||||
| Latest | 2026-06-23T18:43:21.941Z | 16.8s | 22.8s | 19.6s | 0 |
|
||||
| Delta | — | +6.0s | +3.0s | n/a | 0 |
|
||||
| Previous | 2026-06-23T18:43:21.941Z | 16.8s | 22.8s | 19.6s | 0 |
|
||||
| Latest | 2026-06-25T05:47:54.804Z | 7.5s | 18.2s | 9.4s | 0 |
|
||||
| Delta | — | -9.3s | -4.7s | -10.2s | 0 |
|
||||
|
||||
_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 16.8s (+6.0s), boot smoke 22.8s (+3.0s), pnpm test 19.6s (n/a), 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 7.5s (-9.3s), boot smoke 18.2s (-4.7s), pnpm test 9.4s (-10.2s), quarantine ledger 0 (0). Slowest file: packages/dashboard/app/components/__tests__/SettingsModal.test.tsx at 1m 01s. Deletion-due quarantines: 0.
|
||||
```
|
||||
|
||||
## How to refresh
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -906,6 +906,118 @@
|
||||
"Timing snapshot is 19 days old; verify slowest-file attribution before treating the table as the current culprit.",
|
||||
"5 of the listed slowest files no longer exist at the recorded paths: `packages/engine/src/__tests__/reliability-interactions/shared-branch-group-lifecycle.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-automerge-precedence.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-merge-routing.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-promotion-gate.test.ts`, `packages/engine/src/__tests__/reliability-interactions/branch-group-promotion.test.ts`. Refresh scripts/test-timings.json before choosing a slow-test rewrite."
|
||||
]
|
||||
},
|
||||
{
|
||||
"capturedAt": "2026-06-25T05:47:54.804Z",
|
||||
"gateMs": 7471,
|
||||
"bootSmokeMs": 18157,
|
||||
"testMs": 9439,
|
||||
"quarantineCount": 0,
|
||||
"slowestTop20": [
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/SettingsModal.test.tsx",
|
||||
"ms": 60500,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/src/__tests__/insights-routes.test.ts",
|
||||
"ms": 26500,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/engine/src/runtimes/__tests__/in-process-runtime.test.ts",
|
||||
"ms": 24700,
|
||||
"package": "@fusion/engine"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/ChatView.test.tsx",
|
||||
"ms": 24400,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/src/__tests__/workflow-routes.test.ts",
|
||||
"ms": 22000,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/core/src/__tests__/db.test.ts",
|
||||
"ms": 21200,
|
||||
"package": "@fusion/core"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/GitManagerModal.test.tsx",
|
||||
"ms": 16900,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/core/src/__tests__/mission-store.test.ts",
|
||||
"ms": 16000,
|
||||
"package": "@fusion/core"
|
||||
},
|
||||
{
|
||||
"file": "packages/cli/src/__tests__/extension.test.ts",
|
||||
"ms": 15700,
|
||||
"package": "@runfusion/fusion"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/AgentPromptsManager.test.tsx",
|
||||
"ms": 14800,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/App.test.tsx",
|
||||
"ms": 14600,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/TaskDetailModal.inline-editing-and-integrations.test.tsx",
|
||||
"ms": 14100,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/TaskDetailModal.rendering.test.tsx",
|
||||
"ms": 13700,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/src/__tests__/routes-auth.test.ts",
|
||||
"ms": 13600,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "packages/core/src/__tests__/agent-store.test.ts",
|
||||
"ms": 13400,
|
||||
"package": "@fusion/core"
|
||||
},
|
||||
{
|
||||
"file": "packages/engine/src/__tests__/workspace-merger-idempotency.test.ts",
|
||||
"ms": 12700,
|
||||
"package": "@fusion/engine"
|
||||
},
|
||||
{
|
||||
"file": "packages/engine/src/__tests__/self-healing-workspace.test.ts",
|
||||
"ms": 11800,
|
||||
"package": "@fusion/engine"
|
||||
},
|
||||
{
|
||||
"file": "packages/engine/src/__tests__/pr-response-run.test.ts",
|
||||
"ms": 11600,
|
||||
"package": "@fusion/engine"
|
||||
},
|
||||
{
|
||||
"file": "packages/dashboard/app/components/__tests__/ListView.test.tsx",
|
||||
"ms": 11300,
|
||||
"package": "@fusion/dashboard"
|
||||
},
|
||||
{
|
||||
"file": "plugins/fusion-plugin-compound-engineering/src/__tests__/sync.test.ts",
|
||||
"ms": 11000,
|
||||
"package": "@fusion-plugin-examples/compound-engineering"
|
||||
}
|
||||
],
|
||||
"measurementFailures": [],
|
||||
"timingSnapshotCapturedAt": "2026-06-25T05:45:08.116Z",
|
||||
"timingNotes": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user