Skip to content

experiment(control-ui): board sandbox startup and cached height [do not merge] - #189777

Closed
steipete wants to merge 4 commits into
mainfrom
steipete/coldload-board-cached-first-paint
Closed

steipete wants to merge 4 commits into
mainfrom
steipete/coldload-board-cached-first-paint

Conversation

@steipete

@steipete steipete commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

A signed-in warm dashboard reload still replaces board skeletons with a late sandbox widget.

Why This Change Was Made

This experiment tested early exact-proxy startup and bounded cached height, preserving the sandbox security contract.

User Impact

STOP: the experiment fails admission and is being closed. Do not merge.

Evidence

Head: 2750fa29222b082a7c4e205184140915ae4b6cdb. Baseline: 183327d2319a5e86ad8a9b17e58320e172770305. Experiment: #189777. No merge or ready PR.

The candidate fails the predeclared gate. Complete widget pixels improve by a paired median 236.778 ms (10/11 better), below the required 300 ms. Dashboard hello handling regresses by a paired median 62.376 ms in 9/11 pairs, above max(10 ms, 3%) = 15.404 ms. The A/A hello distribution has mixed signs (6/11 worse, paired median +15.173 ms). Earlier first-colored-pixel detection overstates the primary improvement because three candidate captures are clipped before their complete widget frame. No sandbox-security change is proposed.

Scope and method

One quiet AWS c7a.4xlarge, 16 CPUs, repo Chromium 156.0.8078.4; CPU idle before A/A 93.31%, before A/B 91.95%. Eleven interleaved A/A pairs and eleven interleaved baseline/candidate pairs on each route. All warm captures assert /chat/main/dashboard/<id>, board in the main region and archived transcript in the side region, after the real Swap UI action and navigation. Three thousand synthetic sessions; involving-me/category/created, 97 groups/102 order entries, five collapsed groups, empty groups always, previews off, active pins and archived probe sessions. No private capture or real credentials/state were used.

This is the native warm-reload proof fixture with 80 ms CDP latency shaping, not a calibrated per-RPC live-fast profile or the canonical Team-scale bench. That is a remaining proof gap, not a successful campaign performance gate. Earlier side-board comparisons and attribution are disqualified for this target; none are used below. Native screenshots sample presentation frames; endpoints are sampled upper bounds, not exact nanosecond paint instants.

Complete widget endpoint

The complete endpoint requires all final fixture background, card and core-text pixels within the final board region (three exact-color masks, each ratio 1). Selected full frames were visually inspected. The first-colored endpoint only detects initial widget color and is insufficient for final geometry.

Comparison / endpoint Baseline median [Q1, Q3], ms Candidate/control median [Q1, Q3], ms Paired delta median [Q1, Q3], ms Better
AA complete 2365.049 [2340.319, 2428.905] 2340.212 [2283.385, 2385.104] -63.018 [-118.463, 31.499] 8/11
AB complete 2390.056 [2305.597, 2490.329] 2153.014 [2087.859, 2252.125] -236.778 [-343.622, -129.058] 10/11
A/B first color (rejected endpoint) 2390.056 [2305.597, 2490.329] 2149.938 [2036.830, 2193.793] -317.557 [-366.092, -191.549] 10/11

Complete per-pair deltas, candidate minus baseline, ms:

AA: -63.018, -81.019, 186.096, -47.872, -24.401, -75.171, -155.906, -233.754, 87.398, -161.331, 314.608.

AB: -162.192, -367.934, -236.778, -220.906, -80.683, -364.251, -95.923, -322.993, -317.557, -455.888, 154.919.

The outer ResizeObserver rectangle is stable in 11/11 for both arms, so it does not establish an improvement. Candidate warm-03, -07 and -08 have incomplete first-colored frames. In warm-03, frame 7 is visibly clipped at the right/bottom; frame 8 shows the full widget 116.662 ms later. Mask ratios change from [0.564147, 0.886704, 0.996429] to [1, 1, 1]. Therefore the painted-geometry gate is unproven despite stable outer contentRect.

Secondary metrics, both routes

All values are ms except CLS. Final rows is the recorded DOM endpoint, not a painted-final-row guarantee. No unavailable samples were converted to zero. Only dashboard hello satisfies the declared regression rule; mixed-sign overlapping distributions elsewhere are not called regressions.

Comparison Route Metric Baseline median [Q1,Q3] Candidate/control median [Q1,Q3] Paired median [Q1,Q3] Worse
AA chat helloHandledMs 479.468 [460.375, 716.357] 474.056 [450.326, 571.768] -38.551 [-90.293, 32.309] 5/11
AA chat fcpMs 1167.354 [1135.519, 1204.279] 1181.549 [1150.042, 1191.045] 34.181 [-43.382, 60.093] 7/11
AA chat firstPaintedRowsMs 1167.368 [1137.440, 1205.435] 1183.533 [1153.457, 1193.413] 36.057 [-41.860, 59.965] 7/11
AA chat finalRowsDomMs 497.943 [477.554, 521.731] 491.737 [488.582, 529.800] 17.689 [-33.375, 31.609] 6/11
AA chat loafBlockingMs 462.600 [429.150, 515.850] 421.900 [406.150, 445.800] -75.700 [-104.500, -1.450] 3/11
AA chat cls 0.000107 [0.000107, 0.000482] 0.000107 [0.000107, 0.000294] 0.000000 [0.000000, 0.000000] 0/11
AA dashboard helloHandledMs 711.317 [535.721, 742.986] 727.827 [622.851, 750.350] 15.173 [-74.917, 152.501] 6/11
AA dashboard fcpMs 1070.159 [1048.620, 1094.780] 1056.754 [1049.493, 1093.570] -4.065 [-32.759, 13.074] 4/11
AA dashboard firstPaintedRowsMs 1591.437 [1525.518, 1629.537] 1595.376 [1569.430, 1611.463] 19.922 [-40.186, 58.055] 6/11
AA dashboard finalRowsDomMs 493.735 [471.328, 522.218] 491.627 [474.944, 506.369] 8.626 [-35.026, 25.533] 6/11
AA dashboard loafBlockingMs 482.300 [418.500, 516.350] 477.400 [450.550, 490.200] -12.100 [-67.700, 65.350] 5/11
AA dashboard cls 0.000300 [0.000107, 0.000300] 0.000300 [0.000204, 0.000300] 0.000000 [0.000000, 0.000096] 3/11
AB chat helloHandledMs 494.618 [474.021, 664.041] 479.511 [459.405, 541.153] -42.277 [-56.155, 13.562] 3/11
AB chat fcpMs 1181.504 [1104.635, 1231.638] 1145.724 [1076.500, 1174.586] -22.489 [-141.834, 32.278] 4/11
AB chat firstPaintedRowsMs 1183.534 [1107.508, 1233.513] 1147.491 [1079.432, 1177.558] -20.002 [-141.971, 31.929] 4/11
AB chat finalRowsDomMs 488.329 [472.108, 531.271] 501.291 [455.639, 532.513] -16.196 [-51.171, 31.990] 4/11
AB chat loafBlockingMs 447.600 [428.200, 504.400] 451.900 [419.000, 473.750] -2.800 [-52.150, 36.200] 4/11
AB chat cls 0.000107 [0.000107, 0.000482] 0.000107 [0.000107, 0.000482] 0.000000 [-0.000187, 0.000000] 2/11
AB dashboard helloHandledMs 513.477 [470.223, 703.913] 720.268 [492.874, 752.750] 62.376 [33.554, 211.314] 9/11
AB dashboard fcpMs 1040.118 [1016.934, 1060.621] 1069.615 [1043.934, 1134.364] 54.927 [12.949, 96.374] 8/11
AB dashboard firstPaintedRowsMs 1535.497 [1515.444, 1605.429] 1611.416 [1551.473, 1679.454] 47.988 [-35.964, 164.010] 7/11
AB dashboard finalRowsDomMs 505.301 [480.186, 526.723] 500.516 [483.803, 524.221] 18.376 [-42.886, 42.649] 7/11
AB dashboard loafBlockingMs 439.400 [427.650, 464.100] 470.600 [418.500, 491.500] 25.400 [-9.150, 67.250] 6/11
AB dashboard cls 0.000107 [0.000107, 0.000300] 0.000300 [0.000107, 0.000300] 0.000000 [0.000000, 0.000193] 4/11

Every secondary per-pair delta

AA chat helloHandledMs: -104.386, -38.551, 33.762, -76.200, 36.813, -273.967, 30.857, -274.058, 103.083, -42.653, 18.789.

AA chat fcpMs: -149.740, -110.436, 68.026, 43.886, 26.496, -27.411, 34.181, 68.446, 73.815, -59.353, 52.159.

AA chat firstPaintedRowsMs: -147.986, -111.951, 68.162, 44.100, 27.913, -27.967, 36.057, 67.942, 75.983, -55.753, 51.989.

AA chat finalRowsDomMs: -54.686, -33.851, 31.662, -32.900, 34.813, -0.167, 31.557, 25.742, 78.783, -44.653, 17.689.

AA chat loafBlockingMs: -143.000, -94.500, -9.000, -109.700, 38.100, -216.900, 6.100, -99.300, 98.800, -40.700, -75.700.

AA chat cls: 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, -0.000374, 0.000000, -0.000374, 0.000000, 0.000000, 0.000000.

AA dashboard helloHandledMs: 15.173, 287.322, -21.307, 56.297, -94.970, -289.574, 229.420, -274.907, 75.581, -54.865, 235.318.

AA dashboard fcpMs: -90.762, -53.339, 59.367, -8.302, -54.519, -1.462, 14.651, -4.065, 69.376, -12.180, 11.497.

AA dashboard firstPaintedRowsMs: -536.027, 19.922, 48.093, -16.103, -64.270, -95.974, 223.920, 19.993, 379.781, -15.865, 68.018.

AA dashboard finalRowsDomMs: 16.873, -63.378, 34.193, 13.797, -23.570, 8.626, -84.980, 61.093, 45.281, -12.265, -46.482.

AA dashboard loafBlockingMs: 21.300, 103.100, -41.300, -12.100, -118.700, -94.100, 92.400, -131.500, 51.000, -30.800, 79.700.

AA dashboard cls: 0.000000, 0.000193, 0.000000, 0.000000, 0.000000, -0.000193, 0.000193, -0.000193, 0.000000, 0.000000, 0.000193.

AB chat helloHandledMs: -57.115, 109.608, -19.696, -285.945, -254.951, -55.194, -16.302, -42.277, 43.426, -49.427, 74.766.

AB chat fcpMs: -107.598, -240.543, 17.718, 46.838, 46.944, 201.056, -22.489, -79.792, -21.548, -176.071, -230.723.

AB chat firstPaintedRowsMs: -107.915, -240.192, 19.904, 43.955, 48.149, 199.806, -20.002, -79.777, -19.974, -176.027, -232.034.

AB chat finalRowsDomMs: -49.415, -94.592, -16.196, 29.955, 58.249, 145.006, -7.402, -37.777, 34.026, -52.927, -91.434.

AB chat loafBlockingMs: -0.800, 53.500, -2.800, -189.700, -186.300, 18.900, -19.100, -74.200, 80.900, -30.100, 98.500.

AB chat cls: 0.000000, 0.000374, 0.000000, -0.000374, -0.000374, -0.000374, 0.000000, 0.000000, 0.000000, 0.000000, 0.000374.

AB dashboard helloHandledMs: 62.376, -325.190, 79.788, 195.933, 296.933, 31.297, 226.696, 35.810, 53.809, -320.783, 314.647.

AB dashboard fcpMs: 44.065, 148.130, 54.927, -168.546, -10.358, 103.504, 36.256, 89.244, 71.159, 151.623, -268.350.

AB dashboard firstPaintedRowsMs: -12.024, 183.910, 47.988, -203.967, 24.033, 399.997, -59.904, 76.010, 144.109, 444.017, -471.953.

AB dashboard finalRowsDomMs: 18.376, 39.810, 45.488, -105.867, -21.267, 4.597, -64.504, 420.210, 57.709, 37.217, -120.753.

AB dashboard loafBlockingMs: 65.500, -162.200, 25.400, 69.000, 133.800, -8.900, 26.400, -9.400, -4.800, -167.700, 78.500.

AB dashboard cls: 0.000000, -0.000193, 0.000000, 0.000193, 0.000193, 0.000000, 0.000193, 0.000000, 0.000000, -0.000193, 0.000193.

Connect-first: 88/88; one document per warm load; zero recorded application errors. Dashboard snapshot: 57,415 → 57,480 bytes (+65 bytes, +0.1132%); chat snapshot: 55,438 bytes unchanged. Heights are numeric and bounded to 48 entries, retired with the existing board snapshot scope. No new database, server record, protocol or display replay.

Attribution: five valid warm dashboard-main loads

All timestamps below are relative to navigation. These are independent per-phase medians, not an additive sum of median timestamps. Trace response receipt can queue; host ResourceTiming responseEnd is listed separately. ParseHTML includes nested script evaluation. Renderer commits prove isolation, not operating-system process startup time.

Event Median [Q1,Q3], ms
BoardView JS request 404.950 [401.548, 432.779]
BoardView JS response 530.173 [456.037, 563.942]
BoardView JS finished 530.284 [456.121, 564.048]
BoardView CSS response (separate asset) 451.826 [443.877, 478.930]
Proxy navigation start 1239.628 [1201.005, 1360.162]
Iframe connected (observer, not exact creation) 1253.600 [1215.000, 1373.400]
Proxy request 1246.008 [1207.725, 1366.662]
Proxy cached response 1246.055 [1207.774, 1366.720]
Proxy renderer commit 1246.437 [1208.185, 1367.093]
Proxy document load 1258.252 [1220.392, 1378.660]
Proxy ParseHTML inclusive duration 6.607 [6.558, 6.770]
Nested inline script evaluation duration 5.349 [5.321, 5.524]
Widget document fetch request 1254.065 [1215.464, 1373.932]
Widget document host ResourceTiming responseEnd 1259.600 [1221.200, 1380.100]
Widget document response trace receipt 1328.950 [1268.204, 1424.846]
Widget document finish trace receipt 1364.333 [1281.099, 1438.758]
Exact proxy ready at host 1328.100 [1267.500, 1424.000]
Inner renderer commit 1374.844 [1291.457, 1448.903]
Inner document load 1384.356 [1300.112, 1458.186]
Host resource-loaded receipt 1385.200 [1326.000, 1460.800]
Host presentation-ready flag 1386.700 [1327.400, 1462.300]
First size message 2232.300 [2087.700, 2346.200]
Inner first trace paint 2323.044 [2230.876, 2392.760]
Interval Median [Q1,Q3], ms
proxyNavigationToCommitMs 6.931 [6.895, 7.005]
proxyCommitToLoadMs 11.815 [11.671, 12.085]
proxyLoadToHostReadyMs 64.804 [47.108, 65.737]
proxyReadyToInnerCommitMs 24.903 [23.957, 31.265]
innerCommitToLoadMs 9.512 [9.283, 9.519]
innerLoadToHostReceiptMs 2.614 [0.844, 8.787]
receiptToPresentationReadyMs 1.500 [1.500, 1.500]
innerLoadToFirstSizeMs 847.944 [811.960, 879.017]
innerLoadToFirstTracePaintMs 849.576 [846.520, 950.735]

The exact proxy is already cached in all five loads: HTTP 200, fromCache true, encoded network bytes zero. Its matching-policy immutable response uses public max-age=31536000, immutable; scripts are inline. No proxy cache-header change is needed. Widget HTML deliberately remains no-store. Proxy and inner renderer processes differ from their parents in all five traces; OS process launch and exact createElement timestamps/module evaluation are unavailable. Proxy navigation→commit is only 6.931 ms; the largest measured remaining interval is inner load→first size/trace paint (~848/850 ms). This attribution does not prove that interval can be moved without affecting sandbox lifecycle/security.

Candidate ownership and cost

Cached numeric heights seed the existing board envelope; the snapshot hydration owner prepares the existing exact-proxy host before lazy BoardView. BoardSandboxFrame adopts the same iframe without navigation/recreation. Existing exact source/origin/ticket/lease checks remain; warm placeholders are quiet, cold skeletons remain. No cached sandbox DOM/pixels are replayed. The growth is too large for this failed result: UI runtime +510/−85 = +425 net, versus the ≤80 target. Diagnostic scripts add 261 lines. The requested production filter reports +793/−86 = +707 net across 26 files, because it also includes diagnostics, .test.tsx and allocation text. Total changed files: 30; tests +217/−25 = +192 net.

Touched runtime owners: board view/frame/cell state and CSS; generic and board-specific widget sandbox hosts/prewarm; chat board cache, hydration and existing snapshot record/envelope. Diagnostics: scripts/perf/warm-reload-proof.ts and warm-reload-board-trace.ts. Tests cover board view/frame/resilience, snapshot owner and native reload; no source change after the reviewed head.

Proof and explicit gaps

AWS validation lease cbx_58db682d5301, run run_18968689986cc2d145a5840fedad0ce8: 107 focused unit tests pass. Single-file pnpm test --maxWorkers=1 wall times: board-view 27 tests / 7.39 s; board-widget-frame 18 / 4.50 s; resilience 10 / 4.37 s; pane-loading 7 / 10.11 s; snapshot-store 45 / 4.85 s. UI types pass (16.03 s), script types pass (22.22 s).

Native regression: baseline warm dashboard reports a skeleton (expected zero, actual one); candidate four real-Gateway cases pass (99.69 s), but those earlier native tests exercised the board side panel and do not substitute for the final main-board visual comparison. Baseline regression command wall time 189.19 s including builds. Two dashboard-alias mock first-header rAF cases remain red (27.25 s): no board widget at that DOM checkpoint. DOM-at-rAF is not composited-paint proof; the gap remains unresolved.

Fresh autoreview was clean through P2 before commit. Full check-changed is not green: earlier own type/lint findings were fixed, four dead exports reproduce on the exact baseline, but the complete command was not subsequently green. Candidate build also reports a 21-request chat boot budget versus limit 20; baseline classification remains incomplete. Full UI e2e, canonical Team-scale calibrated-latency comparison, and exact-head broad CI green were not completed because the performance admission failed. PR broad jobs were skipped while draft. No readiness/landing claim.

Final attribution/comparison lease cbx_f3c509574586 (c7a.4xlarge), initial run run_3ed94532379712cbf64b111c24b5c006 and same-lease continuation; all owned leases released, including final release receipt server i-0d8acdb06bfe998fd. All owned fixture Gateways shut down; no local Gateway remains.

Maintainer handoff

Keep this candidate closed. Useful findings: immutable proxy transfer is already free on warm loads; first host presentation-ready is not actual completed widget paint; early context work can delay hello. A future smaller experiment would need to isolate the inner document first-paint/size delay and preserve visible iframe geometry without moving expensive work onto hello. No new display contract or weakened sandbox check is requested.

Synthetic first-app-paint captures

Baseline (warm skeleton) and candidate (quiet static board surface). These illustrate placeholder behavior, not a passed content-time or geometry gate. Both full captures were inspected and contain synthetic fixture data only.

Baseline warm first app paint

Candidate warm first app paint

@clawsweeper

clawsweeper Bot commented Oct 31, 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.

@openclaw-barnacle openclaw-barnacle Bot added scripts Repository scripts size: M labels Oct 31, 2026
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Oct 31, 2026
@clawsweeper

clawsweeper Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR adds optional board sandbox tracing and geometry observations to the existing warm-reload proof rig.

Example: Run the isolated dashboard workload with --route dashboard --trace-board.

  • Before: The rig saves reload frames and its existing performance report.
  • After: Each capture also saves board-trace.json and board-phases.json.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The experiment has a useful, bounded scope, but available validation is thin and its new recorder drops a declared lifecycle milestone.
Proof confidence 🦪 silver shellfish (2/6) The maintainer-authored PR is outside the ordinary contributor proof gate; its body reports smoke checks but supplies no inspectable trace-enabled capture and explicitly leaves remote attribution pending.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Performance · Worth it: Yes · Fix scope: Complete
User problem: A returning dashboard displays placeholders before widget content appears and then changes height.
Reason: The maintainer-directed scope is a bounded attribution experiment using the established rig and predeclared acceptance criteria; its present deliverable is instrumentation, not a product speedup.

Merge readiness

⛔ Needs changes before merge - 1 item remains

Keep this PR open as a maintainer-directed experiment with an explicit do-not-merge hold; one source-reproducible defect drops a requested tracing phase.

Priority: P3
Reviewed head: bf77c8a36299a1845273fcc769135a2319354bec

Before merge

  • Record the fixture's direct content-ready event (P2) - With --trace-board on the dashboard route, warm-reload-fixture.ts:501 posts warm-reload-proof:dashboard-content-ready directly from the inner srcdoc widget to window.top. Its MessageEvent.source is therefore the inner widget window, whereas this filter accepts only an outer .board-widget__frame window. The event is always rejected, so board-phases.json and the Chromium trace omit the content-ready phase even though the existing reload probe records firstDashboardContentDomMs. Handle this synthetic fixture event through its existing milestone owner or arrange its observation separately from outer-sandbox protocol messages.

Findings

  • [P2] Record the fixture's direct content-ready event — scripts/perf/warm-reload-board-trace.ts:211-216

Tests

  • Missing end-to-end proof: No supplied trace-enabled Gateway capture demonstrates all declared phases, including the inner widget's content-ready event.
Agent review details

How this fits together

The developer proof rig drives Chromium against an isolated built Gateway and synthetic dashboard widget, collecting browser observations into local evidence artifacts.

flowchart TD
  A[Warm reload proof rig] --> B[Chromium dashboard]
  B --> C[Outer sandbox iframe]
  C --> D[Inner widget document]
  D --> B
  B --> E[Phase probe and CDP trace]
  E --> F[Local evidence artifacts]
Loading

Technical review

Best possible solution:

Correct the content-ready observation through the existing fixture and milestone owners, then let measured attribution determine whether a runtime repair is justified.

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

The dropped tracing milestone follows directly from the fixture's window.top.postMessage producer, the nested sandbox structure, and the new outer-frame source filter; no target code was executed.

Is this the best way to solve the issue?

Extending the existing isolated rig is appropriate for attribution, but the content-ready event must reach its phase recorder before these artifacts can describe the complete widget lifecycle.

Full review comments:

  • [P2] Record the fixture's direct content-ready event — scripts/perf/warm-reload-board-trace.ts:211-216
    With --trace-board on the dashboard route, warm-reload-fixture.ts:501 posts warm-reload-proof:dashboard-content-ready directly from the inner srcdoc widget to window.top. Its MessageEvent.source is therefore the inner widget window, whereas this filter accepts only an outer .board-widget__frame window. The event is always rejected, so board-phases.json and the Chromium trace omit the content-ready phase even though the existing reload probe records firstDashboardContentDomMs. Handle this synthetic fixture event through its existing milestone owner or arrange its observation separately from outer-sandbox protocol messages.
    Confidence: 0.99

Overall correctness: patch is incorrect
Overall confidence: 0.96

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

  • Pinned change scope: The introduced diff adds an opt-in trace module and hooks it into the existing rig; it contains no application runtime startup or cached-height repair. (scripts/perf/warm-reload-proof.ts:46, bf77c8a36299)
  • Explicit experimental hold: The full current PR body says this draft must not merge, claims only trace/probe and source-load smoke checks, and leaves attribution and candidate validation pending; discussion contains only bot status comments. (bf77c8a36299)
  • Dropped content-ready phase: The synthetic widget sends warm-reload-proof:dashboard-content-ready directly to window.top from its inner document, while the new phase listener requires event.source to equal an outer .board-widget__frame contentWindow. (scripts/perf/warm-reload-board-trace.ts:212, bf77c8a36299)
  • Existing content milestone owner: The fixture producer is scripts/perf/warm-reload-fixture.ts:501; the existing browser probe already records this direct top-window event as firstDashboardContentDomMs without requiring an outer-frame sender. (scripts/perf/warm-reload-browser-probe.ts:57, bf77c8a36299)
  • Feature history and current main: Peter Steinberger authored the original rig, signed-in comparison refactor, and subsequent recovery tooling. The rig blob on fetched main matches the introduction base, and the new board trace module is absent there. Historical content searches encountered unavailable objects; the visible history and current blobs establish the relevant ownership and scope. (scripts/perf/warm-reload-proof.ts:360, d431ea3ef802)
  • Prior renderer experiment: experiment(control-ui): warm sandbox renderer [do not merge] #179400 was explicitly rejected after its different empty-srcdoc renderer-warming candidate worsened visible chart paint; its measured outcome supports attribution before proposing another startup change, rather than treating renderer warming as an established fix.

Likely related people:

  • Peter Steinberger: Raw commit 5df2f45 adds scripts/perf/warm-reload-proof.ts:312 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 5df2f450779f; files: scripts/perf/warm-reload-proof.ts)

PR surface

Other +253. Total +253 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 0 0 0 0
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 2 253 0 +253
Total 2 253 0 +253

Review metrics

Metric Value Why it matters
Diagnostic option 1 new boolean flag: --trace-board, default false Additional browser tracing and phase observers run only when explicitly requested.

Labels

Label changes:

  • add P3: This is paused, opt-in developer instrumentation with no application runtime change or established current-user outage.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is paused, opt-in developer instrumentation with no application runtime change or established current-user outage.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

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 31, 2026, 5:43 PM ET / 21:43 UTC.

@steipete
steipete force-pushed the steipete/coldload-board-cached-first-paint branch from bf77c8a to d2621cb Compare October 31, 2026 22:55
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: XL and removed size: M labels Oct 31, 2026
@steipete
steipete force-pushed the steipete/coldload-board-cached-first-paint branch from d2621cb to 3b0060a Compare October 31, 2026 23:10
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. scripts Repository scripts size: XL status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant