Skip to content

experiment(control-ui): preload cached dashboard renderers [stopped] - #190820

Closed
steipete wants to merge 3 commits into
mainfrom
steipete/coldload-board-widgets-warm
Closed

steipete wants to merge 3 commits into
mainfrom
steipete/coldload-board-widgets-warm

Conversation

@steipete

@steipete steipete commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Stopped experiment; do not merge. A signed-in warm reload of a dashboard deep link still cycles through loading placeholders for an already-loaded board. This candidate consistently reduces that exposure, but fails the transcript first-painted-row secondary gate. No product change is being landed.

Why This Change Was Made

The observed 60 shimmer identities come from three consecutive board placeholders with 20 nodes each: the panel boundary, board session surface, and board view. The per-widget discussion overlay is not involved in the reproduced HTML-widget workload. Cached implementation imports leave the rendered Solid lazy wrappers' readiness cold.

The candidate prepares the route entry and both existing lazy wrappers together in the dashboard component loader, removing the speculative implementation-import path. The existing first-frame e2e then observes the real widget iframe in the first cached-layout sample. This uses the existing cache and loading owners; no screenshot cache, persisted field, config, protocol, sandbox, or authorization change is introduced.

User Impact

Dashboard viewport shimmer-node exposure falls 40.5%, and sampled widget readiness moves 211 ms earlier (both improve in 11/11 pairs). However, dashboard first-painted rows move later in 9/11 pairs, with a +24.10 ms paired median. Their IQRs are also narrowly separated: base [553.52, 597.47] versus candidate [599.48, 627.44] ms. The configured adverse threshold is max(10 ms, 3% of 587.50 ms) = 17.63 ms.

The corrected A/A control does not reproduce this pattern: paired median +15.77 ms, 6/11 later and 5/11 earlier, overlapping IQRs. The primary lever is real, but this candidate misses the no-regression gate. The remaining iframe document load is still visible; this does not establish the campaign's complete cached-page exit criterion.

Evidence

Candidate 2b4c0e0020b1a306e2a51878c95fa4507a0baa1c; baseline 88177be90aa808ab934feb357b7b5bcd7ab4eefd. All comparison samples use one AWS c7a.4xlarge lease cbx_a9d43f5c7bea (16 CPUs / 30.6 GiB), repo Chromium 156, an isolated real loopback Gateway, synthetic signed-in admission, 3,000 sessions, archived probe routes, bundled Workboard plus synthetic native plugin modules, and the operator's category/owner/pin/sidebar settings. Unprofiled, 80 ms CDP shaping, 8-second capture, AB/BA order alternation; eleven pairs on each route. The post-peer-setup two-second preflight was 73.9% idle; report-end load was 1.16 / 1.27 / 1.29 on 16 CPUs. No other workload was scheduled on the lease.

The qualifying A/A capture uses two distinct, byte-identical baseline directories, preserving the UI-root swaps used in A/B. An earlier partial same-directory A/A was discarded because it skipped those swaps. A separate setup failure was traced to the rig's debugger-paused synthetic peer missing a Gateway heartbeat. Removing the debugger pause retained native live peers, declaration acknowledgements, and the exact three-viewer guard; no heartbeat or security check was relaxed.

Every completed A/B reload records one document and zero capture errors. Snapshot growth is 0 bytes: chat 62,973 → 62,973; dashboard 64,786 → 64,786. Widget readiness means first sampled non-inert board frames; content-ready is the HTML widget's own marker. Frame strips are Chromium-delivered compositor surfaces, not display-vsync completeness.

Initial critical-path attribution

These two earlier diagnostic reloads identify the owner; they are not qualification pairs. Values are milliseconds on the browser diagnostic clock.

Milestone Warm 1 Warm 2
First board placeholder 599.6 499.6
Board surface placeholder 1018.3 672.1
Iframe creation / document fetch 1135.4 / 1135.6 893.3 / 893.5
Document HTTP 200 1230.1 1040.3
Sandbox proxy ready 1230.7 1040.8
Inner resource loaded 1348.3 1139.2
Placeholder removed / frame non-inert 1449.1 1147.1
Hello handled 660.9 641.1

The pre-iframe share is 61–63% of first-placeholder → reveal, correcting an earlier 61–72% range with a different endpoint. Board/layout data is already cached. Another capture starts an iframe before hello; hello is not a universal admission prerequisite. Board/panel JS and the immutable sandbox shell are cache hits. HTML has one fresh ticket-bound fetch. Host state is posted synchronously on outer load/render; the non-sandbox verifyAuthorization callback is not used on this sandbox path. Server ticket admission remains unchanged. This static HTML fixture makes no widget data RPC, so it cannot establish data-heavy MCP app costs.

Validation and scope

The existing cached-dashboard e2e was extended by four net lines. Candidate 2/2 passed (30.29 s wall), while the same assertion on pre-fix code produced 1 pass / 1 intended failure (37.86 s wall), using pnpm test ui/src/e2e/dashboard-cold-load.e2e.test.ts --maxWorkers=1 on attribution lease cbx_053afc460164. That lease is released. The affected UI/test source stayed unchanged through the subsequent rebases. Final-head focused route, board-surface, and sidebar suites passed 40/40 (12.40 s test-wrapper time; 13.13 s remote phase) on cbx_a9d43f5c7bea. Independent review is clean through P2, including the fixture repair. Formatter and diff checks passed.

The lane stopped after the native secondary failed. The queued live-capped Team-scale bench, full UI e2e, changed-file/startup/deadcode gates, and ready-PR product CI were not run; no broad-acceptance or canonical live-capped qualification claim is made. Draft product CI is skipped. An earlier setup lease cbx_999fe90e7a2d is also released.

UI runtime delta is +12 LOC, needed to prepare the actual rendered wrappers before the first layout. The superseded speculative preload block is deleted. Prescribed non-test stat: 164 additions / 15 deletions, net +149: +12 UI runtime, +135 reproducible diagnostics, +2 allocation-record lines. The allocation grants exactly four regression-test lines. No changelog edit; release-note context would be fewer dashboard loading stages, subject to resolving transcript-paint cost.

Touched runtime owners: ui/src/pages/chat/route.ts, board-session-surface.tsx, chat-pane-sidebar-view.tsx. Supporting scope: dashboard cold-load e2e, four scripts/perf/ probe/comparison files, test-line allocation, and Control UI docs.

All deltas are candidate minus base; negative is earlier/lower. Distribution values are median [Q1, Q3].

chat — eleven A/B pairs

Metric Base Candidate Paired delta Better / worse
boardWidgetSkeletonMs 0.00 [0.00, 0.00] 0.00 [0.00, 0.00] 0.00 [0.00, 0.00] 0 / 0
allBoardWidgetsVisibleMs unavailable unavailable unavailable 0 / 0
widgetContentReadyMs unavailable unavailable unavailable 0 / 0
helloHandledMs 589.80 [566.06, 594.57] 589.05 [573.99, 617.81] -15.39 [-27.72, 44.75] 6 / 5
fcpMs 86.64 [84.82, 88.45] 87.18 [86.73, 87.78] 1.59 [-1.28, 2.29] 4 / 7
firstPaintedRowsMs 563.50 [533.52, 589.51] 559.45 [531.52, 567.46] -15.89 [-49.96, 41.91] 6 / 5
finalRowsDomMs 464.00 [440.57, 485.06] 462.55 [439.17, 472.96] -11.79 [-40.41, 39.91] 6 / 5
visibleTranscriptMs 464.00 [440.52, 485.01] 462.55 [439.17, 472.91] -11.89 [-40.46, 39.96] 6 / 5
loafBlockingMs 254.70 [231.80, 262.05] 226.50 [217.30, 239.90] -19.60 [-37.80, 1.75] 8 / 3
cls 0.0000 [0.0000, 0.0000] 0.0000 [0.0000, 0.0000] 0.0000 [0.0000, 0.0000] 0 / 0
Pair boardWidgetSkeletonMs allBoardWidgetsVisibleMs widgetContentReadyMs helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs visibleTranscriptMs loafBlockingMs cls
1 +0.00 — — -24.19 +1.87 -19.99 -17.59 -17.69 -35.00 +0.0000
2 +0.00 — — -15.39 +1.59 -15.89 -11.79 -11.89 -19.60 +0.0000
3 +0.00 — — +68.39 +1.83 +47.89 +46.59 +46.59 -8.20 +0.0000
4 +0.00 — — -25.76 -1.82 -55.96 -47.46 -47.56 -38.60 +0.0000
5 +0.00 — — +58.18 +4.80 +23.98 +22.38 +22.38 +11.70 +0.0000
6 +0.00 — — -35.19 -0.92 -75.99 -64.59 -64.59 -48.30 +0.0000
7 +0.00 — — +3.78 +2.71 +59.98 +50.88 +50.78 +44.30 +0.0000
8 +0.00 — — -51.57 -1.63 -43.97 -33.37 -33.37 -37.00 +0.0000
9 +0.00 — — +96.53 +0.01 +67.93 +68.83 +68.83 +26.60 +0.0000
10 +0.00 — — -29.68 -5.67 -80.08 -63.48 -63.48 -50.80 +0.0000
11 +0.00 — — +31.32 +3.19 +35.92 +33.22 +33.32 -12.00 +0.0000

dashboard — eleven A/B pairs

Metric Base Candidate Paired delta Better / worse
boardWidgetSkeletonMs 12004.00 [11379.00, 12708.00] 7148.00 [7089.00, 7223.00] -4686.00 [-5507.00, -4293.00] 11 / 0
allBoardWidgetsVisibleMs 1141.17 [1079.84, 1180.26] 930.06 [897.09, 941.10] -210.05 [-287.26, -146.39] 11 / 0
widgetContentReadyMs 1144.08 [1085.99, 1229.73] 942.71 [929.66, 1004.41] -210.78 [-257.75, -114.54] 11 / 0
helloHandledMs 658.74 [625.44, 666.54] 648.36 [624.58, 656.04] -16.65 [-38.36, 30.61] 6 / 5
fcpMs 64.70 [63.53, 73.57] 72.64 [62.96, 75.08] 0.41 [-1.74, 2.29] 5 / 6
firstPaintedRowsMs 587.50 [553.52, 597.47] 615.56 [599.48, 627.44] 24.10 [5.99, 71.96] 2 / 9
finalRowsDomMs 546.10 [513.82, 554.47] 573.11 [549.54, 584.79] 25.00 [-0.79, 68.01] 3 / 8
visibleTranscriptMs 546.00 [513.77, 554.42] 573.01 [549.49, 584.74] 25.00 [-0.74, 68.01] 3 / 8
loafBlockingMs 231.60 [212.95, 241.95] 244.00 [237.60, 247.60] 12.40 [-11.50, 34.20] 4 / 7
cls 0.0000 [0.0000, 0.0072] 0.0072 [0.0072, 0.0072] 0.0072 [0.0000, 0.0072] 0 / 6
Pair boardWidgetSkeletonMs allBoardWidgetsVisibleMs widgetContentReadyMs helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs visibleTranscriptMs loafBlockingMs cls
1 -8200.00 -385.10 -367.10 +36.70 -1.44 +24.10 +25.00 +25.00 +12.40 +0.0072
2 -4454.00 -210.05 -243.75 -16.65 -0.34 +16.05 +12.55 +12.55 +5.90 +0.0072
3 -5330.00 -194.14 -129.54 +31.26 -2.04 +75.96 +72.46 +72.56 +39.70 +0.0000
4 -4686.00 -242.14 -322.74 -45.94 +0.41 -3.94 -7.74 -7.64 -46.70 +0.0072
5 -4326.00 -149.55 -99.55 +23.35 +1.73 +72.05 +66.55 +66.65 +45.70 +0.0000
6 -5776.00 -300.45 -271.75 -34.35 -3.48 +11.95 +6.15 +6.15 -3.90 +0.0072
7 -3708.00 -99.88 -58.08 +49.02 +1.80 +88.02 +85.72 +85.82 +62.60 +0.0000
8 -5288.00 -274.08 -231.88 -47.18 +10.90 +0.02 -9.18 -9.18 -19.10 +0.0072
9 -3356.00 -117.43 -88.43 -17.13 -2.98 +47.97 +50.47 +50.47 +14.80 +0.0000
10 -5684.00 -311.38 -210.78 -42.38 +11.36 -8.08 -18.18 -18.18 -20.80 +0.0072
11 -4260.00 -143.23 -164.43 +29.97 +2.77 +71.87 +69.47 +69.37 +28.70 +0.0000

Corrected A/A control

Both arms are baseline code, served from distinct identical directories. Deltas are copy B minus copy A. All eleven pairs are retained.

chat — A/A

Metric Copy A Copy B Paired delta Earlier / later
boardWidgetSkeletonMs 0.00 [0.00, 0.00] 0.00 [0.00, 0.00] 0.00 [0.00, 0.00] 0 / 0
allBoardWidgetsVisibleMs unavailable unavailable unavailable 0 / 0
widgetContentReadyMs unavailable unavailable unavailable 0 / 0
helloHandledMs 587.38 [564.57, 609.09] 594.41 [571.91, 607.86] 7.03 [-15.43, 38.05] 5 / 6
fcpMs 86.70 [86.16, 87.55] 87.69 [85.65, 89.13] 0.09 [-1.42, 2.55] 5 / 6
firstPaintedRowsMs 555.50 [529.57, 565.54] 559.51 [521.55, 563.56] 11.99 [-41.97, 31.95] 4 / 7
finalRowsDomMs 464.14 [435.67, 467.62] 463.81 [428.60, 469.43] 8.50 [-36.87, 29.80] 4 / 7
visibleTranscriptMs 464.04 [435.67, 467.62] 463.81 [428.55, 469.33] 8.40 [-36.87, 29.80] 4 / 7
loafBlockingMs 243.20 [222.00, 248.00] 245.90 [221.35, 258.15] 10.10 [-20.45, 25.65] 5 / 6
cls 0.0000 [0.0000, 0.0000] 0.0000 [0.0000, 0.0000] 0.0000 [0.0000, 0.0000] 0 / 0
Pair boardWidgetSkeletonMs allBoardWidgetsVisibleMs widgetContentReadyMs helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs visibleTranscriptMs loafBlockingMs cls
1 +0.00 — — +27.86 -1.05 +28.16 +27.96 +27.86 -19.70 +0.0000
2 +0.00 — — -13.31 -0.97 +11.99 +7.19 +7.09 +10.10 +0.0000
3 +0.00 — — +7.60 +2.38 +8.10 +8.50 +8.40 -21.20 +0.0000
4 +0.00 — — -0.26 -1.78 -67.96 -61.06 -61.06 -41.80 +0.0000
5 +0.00 — — +52.86 +6.93 +40.06 +38.16 +38.06 +62.30 +0.0000
6 +0.00 — — -60.58 +0.09 -43.98 -40.48 -40.58 -5.90 +0.0000
7 +0.00 — — +64.77 -2.71 +31.97 +30.77 +30.77 +25.50 +0.0000
8 +0.00 — — -17.56 -4.87 -39.96 -33.26 -33.16 +24.70 +0.0000
9 +0.00 — — +48.24 +2.71 +39.94 +39.64 +39.64 +42.60 +0.0000
10 +0.00 — — -37.13 +1.36 -48.03 -44.13 -44.23 -36.70 +0.0000
11 +0.00 — — +7.03 +5.62 +31.93 +28.83 +28.83 +25.80 +0.0000

dashboard — A/A

Metric Copy A Copy B Paired delta Earlier / later
boardWidgetSkeletonMs 12456.00 [11167.00, 13740.00] 12534.00 [12061.00, 13946.00] -356.00 [-873.00, 1286.00] 7 / 4
allBoardWidgetsVisibleMs 1183.16 [1098.39, 1230.68] 1169.43 [1130.20, 1312.33] -9.81 [-67.68, 89.29] 6 / 5
widgetContentReadyMs 1162.97 [1119.84, 1263.42] 1162.43 [1113.77, 1344.89] -4.40 [-87.08, 128.64] 6 / 5
helloHandledMs 670.82 [642.83, 677.62] 674.03 [646.94, 717.64] 16.89 [-26.73, 42.99] 5 / 6
fcpMs 64.24 [63.04, 66.79] 69.07 [63.64, 73.15] 2.60 [-1.74, 7.70] 3 / 8
firstPaintedRowsMs 595.47 [573.58, 603.52] 599.33 [571.59, 663.49] 15.77 [-24.03, 33.89] 5 / 6
finalRowsDomMs 554.27 [532.69, 562.02] 557.13 [531.24, 666.34] 17.27 [-23.98, 76.10] 5 / 6
visibleTranscriptMs 554.27 [532.59, 561.97] 557.13 [531.24, 621.19] 16.19 [-23.98, 31.54] 5 / 6
loafBlockingMs 238.00 [225.75, 245.65] 247.40 [224.90, 266.35] 11.20 [-26.00, 40.60] 5 / 6
cls 0.0000 [0.0000, 0.0072] 0.0000 [0.0000, 0.0036] 0.0000 [-0.0036, 0.0000] 3 / 2
Pair boardWidgetSkeletonMs allBoardWidgetsVisibleMs widgetContentReadyMs helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs visibleTranscriptMs loafBlockingMs cls
1 -520.00 -9.81 -22.61 +16.89 -12.93 +16.09 +119.59 +16.19 +11.20 +0.0000
2 -946.00 -68.26 -142.06 -29.46 +9.31 -20.16 -20.96 -20.96 -37.10 +0.0000
3 +1216.00 +77.97 +36.87 +21.97 +1.42 +15.77 +17.27 +17.37 +17.00 -0.0072
4 -140.00 -27.91 -32.11 -24.01 +6.62 -19.91 -20.91 -20.91 -33.50 +0.0000
5 +1356.00 +100.61 +107.61 +42.41 +1.06 +35.81 +32.61 +32.71 +44.50 -0.0072
6 -1336.00 -103.28 -158.28 -36.28 -4.54 -35.98 -36.38 -36.38 -18.50 +0.0072
7 -356.00 +12.46 +149.66 +43.56 +2.60 +31.96 +30.26 +30.36 +36.70 +0.0000
8 -800.00 -67.10 -4.40 -23.90 +8.78 -27.90 -27.00 -27.00 -18.20 +0.0072
9 +5668.00 +520.03 +491.73 +206.83 +6.00 +239.93 +237.03 +237.03 +198.80 -0.0072
10 -4510.00 -507.07 -495.07 -229.27 -8.67 -283.87 -281.87 -281.67 -268.80 +0.0000
11 +3714.00 +457.43 +468.23 +219.93 +18.50 +271.93 +271.93 +272.03 +246.40 +0.0000

Inspected synthetic before/after strips

Pair 5 is near the median exposure reduction and also shows the early-layout cost. All content is synthetic. Common timestamps hold the last delivered representative surface; they are not extra sampled frames. No private capture or real account content is included.

Earlier interval: baseline reaches its cached dashboard layout while the candidate still holds the preceding loading surface.

Earlier cached-layout tradeoff

Later interval: candidate widget content is visible while baseline still has the board placeholder.

Later widget readiness improvement

Cleanup

All three leases (cbx_053afc460164, cbx_999fe90e7a2d, cbx_a9d43f5c7bea) are released. The last owned-port check had no 19600–19699 listener; no local Gateway was started. All raw captures/reports and inspected synthetic strips are retained locally. No merge or deployment was performed. The lane branch remains available for the lead.

@clawsweeper

clawsweeper Bot commented Nov 2, 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: S labels Nov 2, 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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Nov 2, 2026
@clawsweeper

clawsweeper Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds an opt-in browser probe that records dashboard loading placeholders, widget fetches, iframe lifecycle events, and sandbox messages.

Example: A synthetic dashboard warm reload displays 60 shimmer animations.

  • Before: The existing capture does not identify their skeleton variants and ancestor classes.
  • After: The optional probe adds a boardWidgetTimeline containing presentation changes and widget lifecycle events.

Review scores

Measure Result What it means
Overall readiness 🦪 silver shellfish (2/6) The focused probe has no definite correctness finding, but supplied execution evidence is limited to an uninspectable smoke assertion.
Proof confidence 🦪 silver shellfish (2/6) This maintainer-authored diagnostic draft is outside the ordinary contributor proof gate; its claimed iframe and skeleton smoke has no attached output to inspect.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Performance · Worth it: Yes
User problem: Warm dashboard reloads show loading placeholders whose contributing owners are not yet established.
Reason: The maintainer-directed experiment gathers narrowly scoped evidence before another runtime optimization and explicitly avoids claiming a user-facing fix.

Merge readiness

✅ Ready for maintainer review

Keep this PR open as a maintainer-directed attribution experiment, respecting its explicit do-not-merge status; no definite introduced defect was found.

Priority: P3
Reviewed head: 36f7e072eac4fa3e3ae21fabcbced81614bb1bac

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: No inspectable capture shows the added timeline from the real-Gateway warm-reload run; only a smoke-pass statement is supplied.
Agent review details

How this fits together

The existing warm-reload rig injects this script into its isolated Chromium page; browser lifecycle and presentation observations become diagnostic events in the captured report.

flowchart LR
  A[Warm reload rig] --> B[Browser init probe]
  C[Dashboard placeholders] --> B
  D[Widget fetch and iframe lifecycle] --> B
  B --> E[Board widget timeline]
  E --> F[Capture report]
Loading

Technical review

Best possible solution:

Keep attribution within the existing warm-reload rig and let its results guide a separate, measured runtime fix.

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

This PR investigates loading attribution rather than fixing an established defect; target code was not executed during this read-only review.

Is this the best way to solve the issue?

A standalone init probe uses the existing injection and report owners without introducing a competing runtime path; all added observations serve the stated attribution scope.

AGENTS.md: found and applied where relevant.

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

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

  • Pinned introduced change: The introduced diff adds only the optional browser probe and changes no shipped UI runtime, dependency, workflow, or authorization implementation. (scripts/perf/board-widgets.init.js:1, 36f7e072eac4)
  • Existing injection and collection owners: Current main already accepts extra init scripts through page.addInitScript; readProbe copies the browser probe object into the captured result, allowing the added boardWidgetTimeline to travel through the existing report path. (scripts/perf/warm-reload-proof.ts:915, ac6af4df2972)
  • Draft and explicit pause: The complete PR body says experiment only and do not merge, claims only an initial tooling smoke, and explicitly disclaims a performance result or production fix; GitHub reports the reviewed head as draft and mergeable. (36f7e072eac4)
  • Earlier experiment is distinct: experiment(control-ui): board sandbox startup and cached height [do not merge] #189777 was closed unmerged after failing its declared performance gate; its handoff favors narrower attribution and does not establish that this diagnostic work is already implemented.
  • Feature ownership history: Main history repeatedly records Peter Steinberger carrying the warm-reload rig and its later signed-in, comparison, and dashboard instrumentation work; older blob inspection and blame encountered unavailable promisor objects, so no exact line-introduction claim is made. (scripts/perf/warm-reload-proof.ts, ac6af4df2972)

PR surface

Other +97. Total +97 across 1 file. 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 1 97 0 +97
Total 1 97 0 +97

Labels

Label changes:

  • add P3: This is optional diagnostic tooling with no shipped behavior change or demonstrated urgent user regression.
  • add rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish 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: This is optional diagnostic tooling with no shipped behavior change or demonstrated urgent user regression.
  • rating: 🦪 silver shellfish: Overall readiness is 🦪 silver shellfish; proof is 🦪 silver shellfish 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 November 1, 2026, 10:25 PM ET / November 2, 2026, 03:25 UTC.

@steipete
steipete force-pushed the steipete/coldload-board-widgets-warm branch from 36f7e07 to a09599e Compare November 2, 2026 04:09
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui labels Nov 2, 2026
@steipete steipete changed the title experiment(control-ui): warm board widget loading attribution [do not merge] experiment(control-ui): prepare cached dashboard renderers [do not merge] Nov 2, 2026
@steipete
steipete force-pushed the steipete/coldload-board-widgets-warm branch from a09599e to 2b4c0e0 Compare November 2, 2026 04:53
@steipete steipete changed the title experiment(control-ui): prepare cached dashboard renderers [do not merge] experiment(control-ui): preload cached dashboard renderers [stopped] Nov 2, 2026
@steipete steipete closed this Nov 2, 2026
steipete added a commit that referenced this pull request Nov 2, 2026
…90925)

Warm reloads of a dashboard deep link no longer flash three successive panel shimmers. The dashboard route now returns its entry immediately and starts the sidebar-region and board lazy wrappers without awaiting them, so only the rendered boundary waits. The shared panel placeholder uses the existing cached-session fact (captured once at pane mount) to keep the settled background for a 200 ms grace before normal loading feedback; cold admission stays immediate. Page-board grid/tab selectors now target the real board's direct children, so the placeholder's 56 px rows no longer collapse and shift (the source of the warm-dashboard CLS). The route-level preload block is removed. No persisted field, store, config, protocol or untrack allowance.

Native 11-pair proof (AWS c7a.4xlarge, Team-scale synthetic fixture, 80 ms RTT): panel-shimmer exposure 13,290 -> 0 node*ms (11/11), cached widget layout -282 ms (11/11), all widgets visible -193 ms (11/11), widget content -160 ms (10/11), side-pane first rows / visible transcript -32/-30 ms (7/11), warm CLS occurrences 2/11 -> 0/11, snapshot growth 0 B; chat route unchanged. Lead exception: dashboard hello-handled +26 ms paired median (non-overlapping IQRs, 8/11 later; A/A +11 ms overlapping), accepted as the cost of compiling the board work before the handshake; no visible content is delayed.

Supersedes #190820.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 3, 2026
…enclaw#190925)

Warm reloads of a dashboard deep link no longer flash three successive panel shimmers. The dashboard route now returns its entry immediately and starts the sidebar-region and board lazy wrappers without awaiting them, so only the rendered boundary waits. The shared panel placeholder uses the existing cached-session fact (captured once at pane mount) to keep the settled background for a 200 ms grace before normal loading feedback; cold admission stays immediate. Page-board grid/tab selectors now target the real board's direct children, so the placeholder's 56 px rows no longer collapse and shift (the source of the warm-dashboard CLS). The route-level preload block is removed. No persisted field, store, config, protocol or untrack allowance.

Native 11-pair proof (AWS c7a.4xlarge, Team-scale synthetic fixture, 80 ms RTT): panel-shimmer exposure 13,290 -> 0 node*ms (11/11), cached widget layout -282 ms (11/11), all widgets visible -193 ms (11/11), widget content -160 ms (10/11), side-pane first rows / visible transcript -32/-30 ms (7/11), warm CLS occurrences 2/11 -> 0/11, snapshot growth 0 B; chat route unchanged. Lead exception: dashboard hello-handled +26 ms paired median (non-overlapping IQRs, 8/11 later; A/A +11 ms overlapping), accepted as the cost of compiling the board work before the handshake; no visible content is delayed.

Supersedes openclaw#190820.
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 docs Improvements or additions to documentation 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: S 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