Skip to content

Commit 1b26747

Browse files
committed
perf(ci): refit Control UI E2E duration hints to the grown suite
The table was fitted on 2026-08-23 and has rotted. Measured across the checks-ui-e2e logs of runs 33063115103 and 33055390669, the suite has grown from 247 to 281 files and from 1430s to 2422s of body, and every surviving hint now reads 1.5-1.9x low (chat-tool-turn-outcome 17s -> 32s, workspace-validation 19s -> 33s, chat-rail-columns 25s -> 36s). The new slowest file, chat-flow.clipboard at 49.6s, was not listed at all. Stale low hints are worse than no hints: the packer treats those files as cheap relative to byte-proxied ones and stacks them together. Replaying the measured per-file medians, the widest control-UI shard packs at 243s under the current table against a 220s ideal, and 233s once refreshed. Regenerated from measurement rather than patched, and widened from 31 to the 80 slowest files so the table covers the suites that actually set the tallest shard. Everything below rides the byte proxy, which is fine for the ~4s median file but mispredicts by up to 3.6x on the tail.
1 parent 1659e18 commit 1b26747

1 file changed

Lines changed: 84 additions & 35 deletions

File tree

‎test/vitest/vitest.ui-e2e.sequencer.ts‎

Lines changed: 84 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -4,47 +4,96 @@ import { statSync } from "node:fs";
44
import { basename } from "node:path";
55
import { BaseSequencer, type TestSpecification } from "vitest/node";
66

7-
// Measured wall seconds per file, medianed over CI runs 32617320781 and
8-
// 32617488420 (2026-08-23) after normalizing each run by its own VM speed; the
9-
// two runs agreed within p10 0.88 / p90 1.17, so these are stable enough to pack
10-
// against. Only the slowest suites are listed: they dominate the tallest shard,
11-
// while the 3.5s median file is interchangeable and rides the byte proxy below.
7+
// Measured wall seconds per file, medianed over the checks-ui-e2e job logs of
8+
// CI runs 33063115103 and 33055390669 (2026-08-27). The suite grew from 247 to
9+
// 281 files and from 1430s to 2422s of body since the previous fit, and every
10+
// prior hint had drifted 1.5-1.9x low, so the table is regenerated rather than
11+
// patched. The 80 slowest files are listed because they carry the tallest
12+
// shard; the ~4s median file is interchangeable and rides the byte proxy below.
1213
// Source bytes alone correlate at r=0.79 with duration and mispredict by up to
13-
// 3.6x (0.20-0.73 s/KB), which left the widest shard at 182s against a 130s
14-
// ideal. Refresh by summing `<file> (n tests) <ms>` per file from the
15-
// checks-ui-e2e job logs of two runs.
14+
// 3.6x, so proxying everything leaves the widest shard well above ideal.
15+
// Refresh by summing `<file> (n tests) <ms>` per file across two runs' logs.
1616
const UI_E2E_FILE_SECONDS_HINTS = new Map<string, number>([
17-
["activity-run-inspector.e2e.test.ts", 15],
18-
["agent-file-lifecycle.e2e.test.ts", 22],
19-
["board-fixture.e2e.test.ts", 16],
20-
["chat-composer-capability-menu.e2e.test.ts", 15],
21-
["chat-flow.history-recovery.e2e.test.ts", 18],
22-
["chat-flow.media-files.e2e.test.ts", 15],
23-
["chat-flow.messaging.e2e.test.ts", 20],
24-
["chat-flow.models-reasoning.e2e.test.ts", 18],
17+
["activity-run-inspector.e2e.test.ts", 23],
18+
["agent-file-lifecycle.e2e.test.ts", 35],
19+
["appearance-settings-defaults.e2e.test.ts", 19],
20+
["board-fixture.e2e.test.ts", 25],
21+
["board-mcp-app.e2e.test.ts", 12],
22+
["board-split-transcript.e2e.test.ts", 14],
23+
["browser-dictation-status.e2e.test.ts", 14],
24+
["browser-talk-start-stop.e2e.test.ts", 25],
25+
["channels-whatsapp-logout.e2e.test.ts", 11],
26+
["chat-code-block-fences.e2e.test.ts", 16],
27+
["chat-composer-capability-menu.e2e.test.ts", 22],
28+
["chat-composer-catalog.e2e.test.ts", 14],
29+
["chat-composer-redesign.e2e.test.ts", 11],
30+
["chat-flow.active-run-follow-ups.e2e.test.ts", 24],
31+
["chat-flow.clipboard.e2e.test.ts", 50],
32+
["chat-flow.history-recovery.e2e.test.ts", 20],
33+
["chat-flow.media-files.e2e.test.ts", 19],
34+
["chat-flow.messaging.e2e.test.ts", 31],
35+
["chat-flow.models-reasoning.e2e.test.ts", 28],
2536
["chat-flow.navigation-presentation.e2e.test.ts", 15],
26-
["chat-flow.streaming.e2e.test.ts", 22],
27-
["chat-stream-runtime-budgets.e2e.test.ts", 34],
28-
["chat-rail-columns.e2e.test.ts", 25],
37+
["chat-flow.queue-edit.e2e.test.ts", 12],
38+
["chat-flow.sidebar-presentation.e2e.test.ts", 12],
39+
["chat-flow.streaming.e2e.test.ts", 20],
40+
["chat-pull-requests.e2e.test.ts", 14],
41+
["chat-rail-columns.e2e.test.ts", 36],
42+
["chat-reply-preview-recovery.e2e.test.ts", 15],
2943
["chat-retained-pane-hydration.e2e.test.ts", 15],
30-
["chat-sidebar-panel-contract.e2e.test.ts", 27],
31-
["chat-tool-turn-outcome.e2e.test.ts", 17],
32-
["desktop-panel.e2e.test.ts", 16],
33-
["device-scope-upgrade.e2e.test.ts", 18],
44+
["chat-run-lifecycle.e2e.test.ts", 13],
45+
["chat-session-diff.e2e.test.ts", 15],
46+
["chat-sidebar-panel-contract.e2e.test.ts", 35],
47+
["chat-stream-runtime-budgets.e2e.test.ts", 30],
48+
["chat-tool-turn-outcome.e2e.test.ts", 32],
49+
["chat-transcript-disclosure-anchor.e2e.test.ts", 40],
50+
["claude-sessions.e2e.test.ts", 13],
51+
["cloud-workers-settings.e2e.test.ts", 12],
52+
["cloud-workspace-conflict.e2e.test.ts", 22],
53+
["composer-draft-store.e2e.test.ts", 16],
54+
["config-safe-write.e2e.test.ts", 14],
55+
["cron-filters.e2e.test.ts", 17],
56+
["desktop-panel.e2e.test.ts", 27],
57+
["device-scope-upgrade.e2e.test.ts", 19],
58+
["device-token-reconnect.e2e.test.ts", 12],
59+
["github-link-hovercard.e2e.test.ts", 11],
60+
["initial-connect-splash.e2e.test.ts", 16],
61+
["lobster-pet-dismiss-menu-overflow.e2e.test.ts", 12],
62+
["locale-offline-retry.e2e.test.ts", 13],
63+
["mobile-pairing.e2e.test.ts", 12],
64+
["model-providers.e2e.test.ts", 13],
65+
["model-setup.e2e.test.ts", 12],
3466
["native-link-routing.e2e.test.ts", 16],
35-
["native-nav-sidebar-toggle.e2e.test.ts", 18],
36-
["new-session-page.catalog-reconnect.e2e.test.ts", 20],
37-
["new-session-page.prompt-attachments.e2e.test.ts", 21],
38-
["new-session-page.workspace-memory.e2e.test.ts", 17],
39-
["new-session-page.workspace-validation.e2e.test.ts", 19],
40-
["question-flow.e2e.test.ts", 15],
41-
["service-worker-update.e2e.test.ts", 17],
42-
["session-management.groups.e2e.test.ts", 21],
43-
["session-management.sidebar.e2e.test.ts", 23],
44-
["session-placement.move.e2e.test.ts", 25],
67+
["native-nav-sidebar-toggle.e2e.test.ts", 24],
68+
["new-session-page.catalog-reconnect.e2e.test.ts", 23],
69+
["new-session-page.cloud-dispatch.e2e.test.ts", 38],
70+
["new-session-page.device-dispatch.e2e.test.ts", 17],
71+
["new-session-page.operator-scopes.e2e.test.ts", 17],
72+
["new-session-page.prompt-attachments.e2e.test.ts", 18],
73+
["new-session-page.workspace-memory.e2e.test.ts", 21],
74+
["new-session-page.workspace-validation.e2e.test.ts", 33],
75+
["operator-admin.e2e.test.ts", 12],
76+
["question-flow.e2e.test.ts", 24],
77+
["service-worker-update.e2e.test.ts", 22],
78+
["session-dashboard.e2e.test.ts", 14],
79+
["session-management.archive.e2e.test.ts", 16],
80+
["session-management.delete.e2e.test.ts", 16],
81+
["session-management.group-defaults.e2e.test.ts", 16],
82+
["session-management.groups.e2e.test.ts", 31],
83+
["session-management.sidebar.e2e.test.ts", 26],
84+
["session-ownership.e2e.test.ts", 39],
85+
["session-placement.move.e2e.test.ts", 34],
4586
["session-progress-hovercard.e2e.test.ts", 19],
46-
["sidebar-customization.e2e.test.ts", 16],
47-
["update-lifecycle.e2e.test.ts", 16],
87+
["settings-prefs-reconnect.e2e.test.ts", 19],
88+
["sidebar-account-footer.e2e.test.ts", 17],
89+
["sidebar-customization.e2e.test.ts", 17],
90+
["sidebar-interactions.e2e.test.ts", 11],
91+
["sidebar-transient-surfaces.e2e.test.ts", 13],
92+
["theme-muted-contrast.e2e.test.ts", 18],
93+
["theme-typography.e2e.test.ts", 15],
94+
["update-coalesced.e2e.test.ts", 16],
95+
["update-confirmation.e2e.test.ts", 17],
96+
["update-lifecycle.e2e.test.ts", 20],
4897
]);
4998

5099
// Median seconds per KB across all 247 measured suites. Unlisted files -- new

0 commit comments

Comments
 (0)