Skip to content

test(ui): remove redundant MCP and cold-chat setup - #185745

Merged
steipete merged 2 commits into
mainfrom
solid2/w-test-ci-mcp-fixture
Oct 27, 2026
Merged

steipete merged 2 commits into
mainfrom
solid2/w-test-ci-mcp-fixture

Conversation

@steipete

@steipete steipete commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

UI test jobs repeat expensive setup for checks that can use an existing component fixture or cold browser page.

User Impact

No user-visible behavior changes. This removes two test setup layers while preserving the covered contracts. There are no workflow, runner, fanout, dependency, or production changes.

Why This Change Was Made

The responsive suite started a private Vite server solely to check MCP App iframe backgrounds. The same native computed-style check now uses the existing real MCP component mount in the Chromium project. Both dashboard and transparent-inline assertions remain. A distinctive inherited --card color makes the old fallback observably wrong; the single local run also verified the historical CSS expression resolves to that card color.

The standalone mock suite opened a second cold browser context for generic chat startup and sending. Those exact assertions now run in its existing cold HTTP-isolation context before full Profile and Terminal navigations. Cold entry, pane upgrade/readiness, build identity, deterministic reply, composer clearing, HTTP escape detection, and all screenshots remain. The per-file mock server remains shared; one duplicate context/page/navigation is removed.

Evidence

Removed case/setup Exact keeper
Responsive suite: keeps inline MCP App reloads transparent without changing dashboard surfaces and its sole private Vite lifecycle Same case name in mcp-app-view.browser.test.ts; same two computed colors, actual MCP mount and CSS inheritance
Board suite: starts with aligned build identity and renders a deterministic reply after generic chat.send keeps cold chat startup, sending, profile and presence inside the standalone mock; unchanged startup/pane/send/reply assertions before Profile and Terminal navigation
Check Result
New MCP native Chromium file, one run 1/1 passed; 11 ms callback, 5.15 s Vitest
Changed responsive file, one run 65/65 passed; 8.98 s, including Chromium and WebKit images
Historical background control Old fallback produced dashboard RGB and inherited card RGB; current assertions passed
pnpm tsgo:ui Passed
Formatting and scoped lint Original four-file checks and focused catalog repair passed
git diff --check Passed
Isolated review Combined original change: scoped-clean P0–P2, two passes; focused repair: scoped-clean P0–P2, one pass; final source verification passed
Catalog ordering repair Local 4/4 passed once; final real-Gateway CI passed the repaired pending case (10.798 s), all four orderings and exact equality retained
Final exact-head CI Run 40486474087 attempt 1: completed/success, all 12 selected UI jobs passed
Board runtime Both exact-head runs: 13/13 passed; final combined cold-chat case 12.211 s; final file 79.851 s
Startup budget Not remeasured: production/startup graph unchanged; focused CI-repair runner prepared its required private-QA runtime

The temporary historical-style override and diagnostic logging were removed after the single passing MCP run. The delivered test retains both original expected colors and the distinctive inherited card color. Initial proof ran each changed file once. The focused CI-repair runner prepared its required private-QA runtime; no separate build or broad suite was requested. The Solid refactor checklist has zero production reactive/effect/owner changes.

Initial setup cut across four files: 4,488 → 4,430 (−58), including the new 28-line browser file. MCP-related files: 3,559 → 3,514 (−45); board fixture: 929 → 916 (−13). All 34 board assertions and all 8 screenshot calls remain. The browser test file count increases by one, while private responsive Vite starts fall from one to zero and standalone contexts from ten to nine. The 19-line catalog readiness repair makes the complete five-file PR 4,888 → 4,849 (−39); production remains unchanged.

CI phase evidence and limits

The following is the historical reference from scheduled main run 40468589754, head fde1a2ef8667cd00499694dbfb806ba7e7e2aa88. It is not this PR's merge base or an after run. All 13 UI job logs were retained and every selected row was terminal. It charged 94.10 runner minutes (91.27 excluding conditional performance/locale), with 10 passes and 3 failures, and a 697 s completion path. It neither proves the 106-minute campaign baseline nor satisfies the 593 s current critical-path cap.

A newer retained scheduled-main run, 40475262163, head b3b0f1bb8105cf784f87f47a8f31a9564888f2e3, had all 13 UI rows terminal at capture: 149.40 runner minutes, 9 passes, 3 failures, 1 cancellation, and 1,219 s completion path (whole workflow still in progress at capture). Its failed/cancelled work remains charged. These differing failed runs are attribution evidence, not an A/B comparison or savings claim.

Both exact-head runs are measured, but this PR's savings are not established. The −30% target against 106 minutes is not claimed. Callback timings and removed setup counts are not runner-minute savings. API job spans include teardown and are not billing invoices. Instrumented interval unions preserve overlap; unobserved work stays unclassified rather than being called test CPU.

All 13 jobs: additive phase minutes, cache/browser refinement, and fixture/Gateway setup

Additive job and owner phases

All cells are runner minutes. Env/deps and browser are refined in the next table. Setup/callback/cleanup/queue/mixed/unclassified replace the original inclusive test cell and sum to it. Unclassified on a missing-log row means the entire test window is unresolved, not test execution.

Job Checkout Env/deps Build/restore Browser E2E selection Requirements WebKit Gateway prep Setup only Callback only Cleanup only Queue only Mixed Test unclassified Upload Other/env Post-job teardown Total
build-artifacts 0.1667 0.3000 3.4500 0.0500 0.0000 0.0000 0.0000 0.0000 0.5576 0.0420 0.0263 0.0000 0.0000 5.2574 0.2333 1.3667 0.0833 11.5333
checks-ui-e2e-real-gateway (1/2) 0.1667 0.3000 1.6333 0.0333 0.0000 0.0000 0.0000 0.0000 1.7227 1.8055 0.1196 0.0000 1.3484 3.1038 0.0500 0.0333 0.0667 10.3833
checks-ui-e2e-real-gateway (2/2) 0.2833 0.3167 1.6167 0.0500 0.0000 0.0000 0.0000 0.0000 1.2650 2.2874 0.1417 0.0000 0.8903 1.5656 0.0500 0.0333 0.0667 8.5667
checks-ui-e2e (2/7) 0.1500 0.3500 0.0000 0.0500 0.0000 0.0167 0.0000 0.0000 0.1539 6.6152 0.0137 0.0000 0.3276 0.5063 0.0000 0.0333 0.0667 8.2833
checks-ui-e2e (5/7) 0.1667 0.3833 0.0000 0.0500 0.0000 0.0000 0.2167 0.0000 0.0977 6.2506 0.0110 0.0000 0.3931 0.3809 0.0000 0.0333 0.0833 8.0667
checks-ui-e2e (1/7) 0.6167 0.3667 0.0000 0.0333 0.0000 0.0167 0.0000 0.0000 0.0332 5.6173 0.0086 0.0000 0.6835 0.3574 0.0333 0.0333 0.0500 7.8500
checks-ui-e2e (4/7) 0.1500 0.3833 0.0000 0.0333 0.0167 0.0000 0.0000 0.0000 0.1667 5.4107 0.0153 0.0000 0.3840 0.9899 0.0167 0.0333 0.0667 7.6667
checks-ui-e2e (6/7) 0.1500 0.3833 0.0000 0.0333 0.0000 0.0167 0.0000 0.0000 0.0591 5.6709 0.0338 0.0000 0.4330 0.7365 0.0333 0.0333 0.0500 7.6333
checks-ui-e2e (3/7) 0.1667 0.3833 0.0000 0.0333 0.0000 0.0167 0.0000 0.0000 0.0578 5.5977 0.0249 0.0000 0.4382 0.3481 0.0000 0.0333 0.0833 7.1833
checks-ui (3/3) 0.5333 0.4333 0.0000 0.0333 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 3.9333 0.0000 0.0833 0.0667 5.0833
checks-ui (1/3) 0.2500 0.4667 0.0000 0.0500 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 3.9833 0.0000 0.2000 0.0667 5.0167
checks-ui (2/3) 0.1667 0.4000 0.0000 0.0500 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 3.2833 0.0000 0.0500 0.0500 4.0000
control-ui-performance 0.2500 0.6833 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 1.8167 0.0000 0.0333 0.0500 2.8333
Total 3.2167 5.1500 6.7000 0.5000 0.0167 0.0667 0.2167 0.0000 4.1139 39.2973 0.3949 0.0000 4.8981 26.2625 0.4167 2.0000 0.8500 94.1000

Additive environment and browser refinements

These rows replace Env/deps and Browser above; do not add them again. Cache includes only observed restore scopes. Install tail preserves a reconciliation scope crossing a rounded API boundary. Residual is uninstrumented action overhead.

Job Env/deps Cache only Reconcile only Mixed Residual Browser Browser cache Ensure Install tail Mixed Residual
control-ui-performance 0.6833 0.4658 0.0770 0.0000 0.1406 0.0000 0.0000 0.0000 0.0000 0.0000 0.0000
checks-ui-e2e (1/7) 0.3667 0.3054 0.0005 0.0000 0.0607 0.0333 0.0165 0.0000 0.0136 0.0000 0.0032
checks-ui-e2e (3/7) 0.3833 0.3175 0.0112 0.0000 0.0547 0.0333 0.0268 0.0000 0.0032 0.0000 0.0033
checks-ui-e2e (6/7) 0.3833 0.3148 0.0084 0.0000 0.0602 0.0333 0.0252 0.0000 0.0046 0.0000 0.0036
checks-ui-e2e (4/7) 0.3833 0.3093 0.0043 0.0000 0.0698 0.0333 0.0216 0.0000 0.0085 0.0000 0.0032
checks-ui (3/3) 0.4333 0.3530 0.0143 0.0000 0.0661 0.0333 0.0241 0.0038 0.0016 0.0000 0.0038
checks-ui-e2e (5/7) 0.3833 0.3193 0.0068 0.0000 0.0572 0.0500 0.0291 0.0102 0.0073 0.0000 0.0035
checks-ui-e2e-real-gateway (2/2) 0.3167 0.2751 0.0143 0.0000 0.0273 0.0500 0.0401 0.0052 0.0000 0.0000 0.0046
checks-ui-e2e-real-gateway (1/2) 0.3000 0.2516 0.0150 0.0000 0.0334 0.0333 0.0253 0.0040 0.0000 0.0000 0.0041
checks-ui (2/3) 0.4000 0.3404 0.0068 0.0000 0.0528 0.0500 0.0236 0.0127 0.0102 0.0000 0.0035
build-artifacts 0.3000 0.2348 0.0139 0.0000 0.0513 0.0500 0.0183 0.0092 0.0000 0.0000 0.0225
checks-ui-e2e (2/7) 0.3500 0.2817 0.0080 0.0000 0.0602 0.0500 0.0349 0.0045 0.0064 0.0000 0.0042
checks-ui (1/3) 0.4667 0.3987 0.0079 0.0000 0.0600 0.0500 0.0312 0.0047 0.0105 0.0000 0.0037
Total 5.1500 4.1674 0.1884 0.0000 0.7943 0.5000 0.3168 0.0543 0.0658 0.0000 0.0631

Setup-only refinement and non-additive Gateway observations

Fixture-only, Gateway-only and their overlap partition just the setup-only cell above. Gateway-start/readiness unions at the right are nested observations, not additional time; they may also overlap callbacks in mixed windows.

Job Fixture only (min) Gateway only (min) Fixture + Gateway overlap (min) Setup total (min) Gateway starts Start union (s) Readiness union (s)
checks-ui-e2e (1/7) 0.0332 0.0000 0.0000 0.0332 0 0.0000 0.0000
checks-ui-e2e (3/7) 0.0578 0.0000 0.0000 0.0578 0 0.0000 0.0000
checks-ui-e2e (6/7) 0.0591 0.0000 0.0000 0.0591 0 0.0000 0.0000
checks-ui-e2e (4/7) 0.1667 0.0000 0.0000 0.1667 0 0.0000 0.0000
checks-ui-e2e (5/7) 0.0977 0.0000 0.0000 0.0977 0 0.0000 0.0000
checks-ui-e2e-real-gateway (2/2) 0.2540 0.0020 1.0090 1.2650 18 93.3048 89.8252
checks-ui-e2e-real-gateway (1/2) 0.7779 0.0562 0.8886 1.7227 19 118.2566 113.4833
build-artifacts 0.4930 0.0000 0.0647 0.5576 1 3.8805 3.6789
checks-ui-e2e (2/7) 0.1539 0.0000 0.0000 0.1539 0 0.0000 0.0000

First exact-head after run and CI repair

Run 40482487639 tested e59a6d8bf0a2eab745e51b5c83f06dd5ef8547bc: 11/12 selected UI jobs passed, with 167.5167 runner minutes (full selected and comparable subtotal), and 1,183 s from preflight completion to the last UI row. Build, performance and locale jobs were skipped. These totals include failed work; the workload differs from the historical table and exceeds the current 593 s target. This run does not establish a cost win.

The board fixture passed all 13 tests, including the consolidated cold-chat case (14.250 s). The sole failing test was Control UI catalog bootstrap > real chat route recovers current account state after pending snapshot ordering, at the final exact request-count assertion (3 versus 2). The same named test passed on both compared scheduled-main runs, so it is not classified as inherited.

The follow-up test-only repair waits for the existing native transcript-ready signal after the final reload and for the saved-composer marker to disappear before sampling the no-new-read baseline. All four ordering cases and the exact count equality remain. Source tracing shows saved controls can precede authoritative startup; no deterministic red control was added, and a passing replay alone is not claimed as causal proof. Repair formatting, scoped lint, UI typecheck and diff checks passed. The isolated repair review is scoped-clean P0–P2. The single focused file replay passed all four cases (69.024 s file; 135.80 s Vitest); replacement-head broad CI passed all 12 selected UI jobs in run 40486474087.

First exact-head after run: all 12 charged jobs and additive phase refinements

Additive job and owner phases

All cells are runner minutes. Env/deps and browser are refined in the next table. Setup/callback/cleanup/queue/mixed/unclassified replace the original inclusive test cell and sum to it. Unclassified on a missing-log row means the entire test window is unresolved, not test execution.

Job Checkout Env/deps Build/restore Browser E2E selection Requirements WebKit Gateway prep Setup only Callback only Cleanup only Queue only Mixed Test unclassified Upload Other/env Post-job teardown Total
checks-ui-e2e-real-gateway (2/2) 0.6667 0.4667 2.7333 0.0667 0.0000 0.0000 0.0000 0.0000 2.8288 5.0592 0.5323 0.0000 2.7476 4.4154 0.0500 0.0500 0.0667 19.6833
checks-ui-e2e (4/7) 0.8667 1.0167 0.0000 0.0833 0.0167 0.0167 0.4500 0.0000 0.3256 13.1246 0.0507 0.0000 0.9021 2.4138 0.0167 0.0500 0.0667 19.4000
checks-ui-e2e (1/7) 0.5833 0.5000 0.0000 0.0833 0.0000 0.0333 0.3000 0.0000 0.2014 13.5760 0.0401 0.0000 1.5754 0.8404 0.0500 0.0500 0.0667 17.9000
checks-ui-e2e (2/7) 0.6333 0.5333 0.0000 0.0667 0.0000 0.0167 0.0000 0.0000 0.3261 13.6779 0.0418 0.0000 0.9291 1.0418 0.0000 0.0500 0.0833 17.4000
checks-ui-e2e (5/7) 0.5833 0.6333 0.0000 0.0833 0.0167 0.0333 0.0000 1.9500 0.9572 11.2086 0.0610 0.0000 0.6990 0.6741 0.0167 0.0500 0.0833 17.0500
checks-ui-e2e (6/7) 0.6500 0.4000 0.0000 0.0500 0.0000 0.0167 0.0000 0.0000 0.2313 11.2357 0.0520 0.0000 0.8782 1.3528 0.0167 0.0333 0.0833 15.0000
checks-ui-e2e (3/7) 0.6000 0.9000 0.0000 0.0667 0.0000 0.0167 0.0000 0.0000 0.1910 10.1086 0.0407 0.0000 1.9311 0.9786 0.0167 0.0167 0.0833 14.9500
checks-ui-e2e-real-gateway (1/2) 0.6500 0.2833 1.9167 0.0333 0.0000 0.0000 0.0000 0.0000 2.6622 3.3052 0.1600 0.0000 1.6716 3.8010 0.1000 0.0333 0.0667 14.6833
checks-ui (1/3) 0.6667 0.4000 0.0000 0.0500 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 9.6333 0.0000 0.2333 0.0667 11.0500
checks-ui (2/3) 0.7000 0.5667 0.0000 0.0667 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 6.5167 0.0000 0.0833 0.0667 8.0000
checks-ui (3/3) 0.6833 0.5333 0.0000 0.0333 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 6.2667 0.0000 0.0833 0.0833 7.6833
checks-ui-e2e (7/7) 0.6667 0.9167 0.0000 0.0833 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 3.0000 0.0000 0.0167 0.0333 4.7167
Total 7.9500 7.1500 4.6500 0.7667 0.0333 0.1333 0.7500 1.9500 7.7236 81.2959 0.9785 0.0000 11.3341 40.9346 0.2667 0.7500 0.8500 167.5167

Additive environment and browser refinements

These rows replace Env/deps and Browser above; do not add them again. Cache includes only observed restore scopes. Install tail preserves a reconciliation scope crossing a rounded API boundary. Residual is uninstrumented action overhead.

Job Env/deps Cache only Reconcile only Mixed Residual Browser Browser cache Ensure Install tail Mixed Residual
checks-ui (1/3) 0.4000 0.3049 0.0243 0.0000 0.0708 0.0500 0.0403 0.0000 0.0054 0.0000 0.0043
checks-ui-e2e-real-gateway (2/2) 0.4667 0.3734 0.0356 0.0000 0.0577 0.0667 0.0548 0.0067 0.0000 0.0000 0.0052
checks-ui (3/3) 0.5333 0.4244 0.0180 0.0000 0.0910 0.0333 0.0249 0.0030 0.0016 0.0000 0.0038
checks-ui-e2e-real-gateway (1/2) 0.2833 0.2335 0.0166 0.0000 0.0332 0.0333 0.0301 0.0000 0.0000 0.0000 0.0033
checks-ui (2/3) 0.5667 0.4443 0.0243 0.0000 0.0981 0.0667 0.0364 0.0241 0.0017 0.0000 0.0045
checks-ui-e2e (4/7) 1.0167 0.7092 0.0316 0.0000 0.2759 0.0833 0.0590 0.0102 0.0061 0.0000 0.0080
checks-ui-e2e (5/7) 0.6333 0.4550 0.0321 0.0000 0.1462 0.0833 0.0622 0.0146 0.0025 0.0000 0.0041
checks-ui-e2e (3/7) 0.9000 0.6841 0.0129 0.0000 0.2031 0.0667 0.0415 0.0032 0.0158 0.0000 0.0062
checks-ui-e2e (2/7) 0.5333 0.4221 0.0229 0.0000 0.0883 0.0667 0.0444 0.0162 0.0024 0.0000 0.0037
checks-ui-e2e (7/7) 0.9167 0.6842 0.1028 0.0000 0.1297 0.0833 0.0717 0.0043 0.0035 0.0000 0.0038
checks-ui-e2e (1/7) 0.5000 0.3516 0.0165 0.0000 0.1319 0.0833 0.0539 0.0164 0.0091 0.0000 0.0040
checks-ui-e2e (6/7) 0.4000 0.2966 0.0221 0.0000 0.0813 0.0500 0.0373 0.0089 0.0002 0.0000 0.0036
Total 7.1500 5.3833 0.3596 0.0000 1.4072 0.7667 0.5563 0.1077 0.0483 0.0000 0.0543

Setup-only refinement and non-additive Gateway observations

Fixture-only, Gateway-only and their overlap partition just the setup-only cell above. Gateway-start/readiness unions at the right are nested observations, not additional time; they may also overlap callbacks in mixed windows.

Job Fixture only (min) Gateway only (min) Fixture + Gateway overlap (min) Setup total (min) Gateway starts Start union (s) Readiness union (s)
checks-ui-e2e-real-gateway (2/2) 0.7967 0.0016 2.0305 2.8288 18 220.6367 213.2377
checks-ui-e2e-real-gateway (1/2) 0.9468 0.1102 1.6052 2.6622 19 181.1706 174.5702
checks-ui-e2e (4/7) 0.3256 0.0000 0.0000 0.3256 0 0.0000 0.0000
checks-ui-e2e (5/7) 0.8113 0.0000 0.1459 0.9572 1 8.7545 8.2169
checks-ui-e2e (3/7) 0.1910 0.0000 0.0000 0.1910 0 0.0000 0.0000
checks-ui-e2e (2/7) 0.3261 0.0000 0.0000 0.3261 0 0.0000 0.0000
checks-ui-e2e (1/7) 0.2014 0.0000 0.0000 0.2014 0 0.0000 0.0000
checks-ui-e2e (6/7) 0.2313 0.0000 0.0000 0.2313 0 0.0000 0.0000

Final replacement-head result

Run 40486474087, attempt 1, head e78e02e49aef6882fbe3f2ec940ece8f36c2a81f, completed successfully: 12/12 selected UI jobs passed, including both real-Gateway shards. The observed CI merge checkout was 4cad9645aa144faf29ce389d191992acdbeeb906 with main parent c5be6441d3a1e4a562cafd9eedd8d0f774e17a64. The formerly failing pending-snapshot catalog case passed in 10.798 s. Board coverage remained 13/13; the consolidated cold-chat case took 12.211 s (79.851 s full file).

Observation UI runner minutes Completion path Result
First PR head, run 40482487639 167.5167 1,183 s 11 passed, 1 failed
Reviewed replacement, run 40486474087 135.2167 946 s All 12 passed
Both observed PR heads, cumulative charge 302.7333 — Failed work included

Build-artifacts, performance and locale rows were skipped on the replacement run; they contribute no active runner time. This is not a controlled before/after comparison: the merge context and workload differ, and these totals do not establish savings against the 106-minute campaign baseline. The final run exceeds both the original 660 s and current 593 s critical-path targets; the −30% total-cost target is still unmet. This change removes one private Vite lifecycle and one cold browser context while retaining their contracts; it does not claim the campaign target.

Final exact-head phase minutes for all 12 charged UI jobs

Additive job and owner phases

All cells are runner minutes. Env/deps and browser are refined in the next table. Setup/callback/cleanup/queue/mixed/unclassified replace the original inclusive test cell and sum to it. Unclassified on a missing-log row means the entire test window is unresolved, not test execution.

Job Checkout Env/deps Build/restore Browser E2E selection Requirements WebKit Gateway prep Setup only Callback only Cleanup only Queue only Mixed Test unclassified Upload Other/env Post-job teardown Total
checks-ui-e2e (1/7) 0.7000 0.5500 0.0000 0.0500 0.0000 0.0333 0.3000 0.0000 0.1131 11.4519 0.0210 0.0000 1.4816 0.7991 0.0500 0.0500 0.0500 15.6500
checks-ui-e2e (5/7) 0.6333 0.5667 0.0000 0.0667 0.0167 0.0167 0.0000 0.0000 0.1737 11.9014 0.0242 0.0000 0.7752 0.6421 0.0167 0.0333 0.0833 14.9500
checks-ui-e2e-real-gateway (2/2) 0.6167 0.2833 1.8667 0.0500 0.0000 0.0000 0.0000 0.0000 2.0949 3.9412 0.2974 0.0000 2.2005 2.7659 0.0333 0.0500 0.0833 14.2833
checks-ui-e2e (4/7) 0.6667 0.5833 0.0000 0.0667 0.0000 0.0333 0.0000 0.0000 0.1765 9.7299 0.0366 0.0000 0.6524 1.6546 0.0167 0.0333 0.0667 13.7167
checks-ui-e2e-real-gateway (1/2) 0.6000 0.2833 1.7167 0.0333 0.0000 0.0000 0.0000 0.0000 2.3269 2.4845 0.1979 0.0000 2.0421 3.6152 0.0333 0.0333 0.0667 13.4333
checks-ui-e2e (2/7) 0.6167 0.5833 0.0000 0.0667 0.0000 0.0333 0.0000 0.0000 0.2772 9.6385 0.0270 0.0000 0.5484 0.8089 0.0167 0.0500 0.0667 12.7333
checks-ui-e2e (3/7) 0.1667 0.4333 0.0000 0.0500 0.0000 0.0167 0.0000 1.3667 0.6190 5.5949 0.0491 0.0000 0.7181 0.5189 0.0000 0.0500 0.0500 9.6333
checks-ui-e2e (6/7) 0.6500 0.4167 0.0000 0.0500 0.0000 0.0167 0.2333 0.0000 0.1268 6.6883 0.0191 0.0000 0.4906 0.6752 0.0000 0.0333 0.0667 9.4667
checks-ui (1/3) 0.6333 0.5667 0.0000 0.0667 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 7.4500 0.0000 0.2667 0.0667 9.0500
checks-ui (2/3) 0.6667 0.5167 0.0000 0.0667 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 7.4500 0.0000 0.0667 0.0667 8.8333
checks-ui (3/3) 0.6333 0.5500 0.0000 0.0500 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 5.7000 0.0000 0.1000 0.0833 7.1167
checks-ui-e2e (7/7) 0.6833 0.8000 0.0000 0.1167 0.0000 0.0000 0.0000 0.0000 unobserved unobserved unobserved unobserved unobserved 4.6500 0.0000 0.0333 0.0667 6.3500
Total 7.2667 6.1333 3.5833 0.7333 0.0167 0.1500 0.5333 1.3667 5.9082 61.4307 0.6723 0.0000 8.9089 36.7300 0.1667 0.8000 0.8167 135.2167

Additive environment and browser refinements

These rows replace Env/deps and Browser above; do not add them again. Cache includes only observed restore scopes. Install tail preserves a reconciliation scope crossing a rounded API boundary. Residual is uninstrumented action overhead.

Job Env/deps Cache only Reconcile only Mixed Residual Browser Browser cache Ensure Install tail Mixed Residual
checks-ui (3/3) 0.5500 0.4377 0.0246 0.0000 0.0877 0.0500 0.0354 0.0086 0.0019 0.0000 0.0041
checks-ui (2/3) 0.5167 0.4285 0.0085 0.0000 0.0797 0.0667 0.0308 0.0169 0.0147 0.0000 0.0043
checks-ui (1/3) 0.5667 0.4545 0.0158 0.0000 0.0964 0.0667 0.0367 0.0106 0.0153 0.0000 0.0040
checks-ui-e2e (1/7) 0.5500 0.4429 0.0104 0.0000 0.0966 0.0500 0.0314 0.0027 0.0122 0.0000 0.0037
checks-ui-e2e (5/7) 0.5667 0.4434 0.0142 0.0000 0.1091 0.0667 0.0498 0.0040 0.0088 0.0000 0.0041
checks-ui-e2e (7/7) 0.8000 0.5448 0.0565 0.0000 0.1987 0.1167 0.0895 0.0081 0.0156 0.0000 0.0035
checks-ui-e2e (3/7) 0.4333 0.3437 0.0158 0.0000 0.0737 0.0500 0.0292 0.0153 0.0022 0.0000 0.0033
checks-ui-e2e (4/7) 0.5833 0.4854 0.0064 0.0000 0.0915 0.0667 0.0408 0.0059 0.0154 0.0000 0.0046
checks-ui-e2e (2/7) 0.5833 0.4849 0.0157 0.0000 0.0827 0.0667 0.0480 0.0084 0.0056 0.0000 0.0048
checks-ui-e2e (6/7) 0.4167 0.3392 0.0000 0.0000 0.0774 0.0500 0.0302 0.0006 0.0141 0.0000 0.0051
checks-ui-e2e-real-gateway (2/2) 0.2833 0.2260 0.0179 0.0000 0.0394 0.0500 0.0347 0.0119 0.0000 0.0000 0.0034
checks-ui-e2e-real-gateway (1/2) 0.2833 0.2323 0.0156 0.0000 0.0354 0.0333 0.0298 0.0003 0.0000 0.0000 0.0033
Total 6.1333 4.8634 0.2016 0.0000 1.0684 0.7333 0.4863 0.0931 0.1056 0.0000 0.0483

Setup-only refinement and non-additive Gateway observations

Fixture-only, Gateway-only and their overlap partition just the setup-only cell above. Gateway-start/readiness unions at the right are nested observations, not additional time; they may also overlap callbacks in mixed windows.

Job Fixture only (min) Gateway only (min) Fixture + Gateway overlap (min) Setup total (min) Gateway starts Start union (s) Readiness union (s)
checks-ui-e2e (1/7) 0.1131 0.0000 0.0000 0.1131 0 0.0000 0.0000
checks-ui-e2e (5/7) 0.1737 0.0000 0.0000 0.1737 0 0.0000 0.0000
checks-ui-e2e (3/7) 0.5527 0.0000 0.0663 0.6190 1 3.9763 3.7125
checks-ui-e2e (4/7) 0.1765 0.0000 0.0000 0.1765 0 0.0000 0.0000
checks-ui-e2e (2/7) 0.2772 0.0000 0.0000 0.2772 0 0.0000 0.0000
checks-ui-e2e (6/7) 0.1268 0.0000 0.0000 0.1268 0 0.0000 0.0000
checks-ui-e2e-real-gateway (2/2) 0.4121 0.0056 1.6773 2.0949 18 183.3336 176.9768
checks-ui-e2e-real-gateway (1/2) 1.1529 0.0651 1.1089 2.3269 19 148.3494 141.8880

Unobserved owner phases remain unclassified, not zero. Callback-only intervals include awaited work and are not pure CPU. Fixture/Gateway overlaps and Gateway unions are non-additive. Dependency-cache observations: 11 exact hits and one skipped scope; Chromium restore hit in all 12 jobs. All exact job logs were retained for phase analysis.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-27T10:12:34.823359Z e78e02e New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) October 27, 2026 09:50
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 27, 2026
@clawsweeper

clawsweeper Bot commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR moves MCP background coverage into a native browser component test and consolidates cold-chat checks into the existing standalone isolation scenario.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A useful, focused consolidation with no identified defect; evidence consists of source inspection, reported browser-harness results, and exact-head CI rather than a shipped-entry-point demonstration.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored test-only cleanup requires no separate product demonstration; supplied evidence covers the native MCP fixture and responsive suite, with board execution delegated to exact-head CI.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Repeated UI test setup consumes CI work without adding a distinct covered contract.
Reason: The maintainer-authored direction removes demonstrably redundant setup while keeping component CSS, cold-start, send, and isolation coverage.

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR removes redundant test setup while preserving distinct regression contracts; no actionable defect was found.

Priority: P3
Reviewed head: e59a6d8bf0a2eab745e51b5c83f06dd5ef8547bc

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The consolidated cold-chat/Profile/Terminal scenario has no supplied local execution result and remains pending in exact-head E2E CI.
Agent review details

How this fits together

Control UI test fixtures mount production components or navigate the standalone mock application, then assert rendered styles, startup readiness, replies, and network isolation.

flowchart TD
  A[UI test runner] --> B[Native browser fixture]
  A --> C[Standalone mock server]
  B --> D[Real MCP component and CSS]
  C --> E[Cold chat then Profile and Terminal]
  D --> F[Computed background assertions]
  E --> G[Readiness reply and isolation assertions]
Loading

Technical review

Best possible solution:

Retain the consolidation and land it through the existing exact-head CI gates.

Do we have a high-confidence way to reproduce the issue?

This is test consolidation; source inspection confirms the redundant server lifecycle and separate cold-chat page on the base without executing target code.

Is this the best way to solve the issue?

The patch uses existing fixture owners, preserves the observable assertions, and removes the replaced setup without introducing production machinery.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 520212756599.

Provenance checked

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vincent Koc: Raw commit df29979 adds ui/src/pages/chat/chat-responsive.browser.test.ts:5 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: df29979405b4; files: ui/src/pages/chat/chat-responsive.browser.test.ts)

PR surface

Tests -58. Total -58 across 4 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 4 67 125 -58
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 4 67 125 -58

Labels

Label changes:

  • add P3: Focused test-maintenance cleanup with unchanged production behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: Focused test-maintenance cleanup with unchanged production behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 27, 2026, 5:54 AM ET / 09:54 UTC.

@steipete
steipete disabled auto-merge October 27, 2026 10:06
@steipete
steipete merged commit 22c2978 into main Oct 27, 2026
115 of 121 checks passed
@steipete
steipete deleted the solid2/w-test-ci-mcp-fixture branch October 27, 2026 10:36
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 28, 2026
* test(ui): remove redundant MCP and cold-chat setup

* test(ui): await live catalog before checking reopen reads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: M status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant