Skip to content

experiment(control-ui): one complete cached reload frame [do not merge] - #193184

Closed
steipete wants to merge 4 commits into
mainfrom
steipete/coldload-single-warm-commit
Closed

steipete wants to merge 4 commits into
mainfrom
steipete/coldload-single-warm-commit

Conversation

@steipete

@steipete steipete commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Rejected experiment; do not merge. A signed-in reload of a dashboard or chat deep link paints the critical skeleton, cached sidebar, conversation and Details in separate stages. The original campaign evidence recorded fourteen loading states. This candidate tried to join the existing cached regions into one presentation commit.

Why This Change Was Made

Extend the existing scoped first-pane join with sidebar snapshot preparation and retained Details renderer readiness; remove the deliberate frame-plus-task sidebar-first yield. An existing boot record supplies a bounded early hint. Keep the original critical frame outside the mounting app and show it after 450 ms if the joined commit has not happened. Cold first visits keep the current frame and input owner. No new cache, option, server shape or protocol.

User Impact

The candidate brings Details forward, but makes cached transcript rows wait and does not reproduce the complete previous page. It is not eligible for readiness. Do not cherry-pick the presentation hold as a complete solution: missing saved display facts, sidebar viewport restoration, and a local route-error release also need owning fixes.

Evidence

Pinned UI baseline d5e35ca83211201c4c5d977d4ce9c804832f2cf0; candidate c00aff3694168c0500824fceb25e553e5c60af3a. Same isolated Gateway, same AWS c7a.4xlarge lease cbx_c100933abc35, Chromium 156.0.8078.4, 80 ms configured latency profile, 11 AB/BA interleaved pairs per route, plus current-base A/A on all three routes. Both arms use independently built UI bundles with recorded index hashes. All data are synthetic. The sidebar fixture matches involving-me/category/created, 97 groups, 102 section-order entries, five collapsed sections, always-empty groups, no preview and existing pins.

Route First painted rows: base → candidate medians Median paired delta Slower pairs Hello median paired delta
Archived chat 659.5 → 775.4 ms +159.9 ms 11/11 -73.7 ms (9/11 faster)
Active chat 683.5 → 831.4 ms +160.0 ms 11/11 -19.1 ms (9/11 faster)
Dashboard 703.3 → 747.5 ms +60.0 ms 8/11 -69.9 ms (9/11 faster)

The archived and active row distributions have separated IQRs; all eleven row pairs regress. A/A controls have overlapping row IQRs and mixed signs. Active-chat LoAF blocking also increases from median 645.9 ms [642.9, 679.9] to 734.3 ms [689.7, 745.7]. Warm FCP moves later by design and is exempt; it is not the reason for rejection. Cold critical frame remains present; first-profile FCP samples are near 55–59 ms and are single diagnostics, not an eleven-pair cold timing gate.

An inspected quiet candidate capture shows old surface → critical skeleton at 543.6 ms → joined regions at 1043.6 ms. That joined frame still lacks previous sidebar avatar clusters, the illustration, Details People initials and a reaction. They refill later, and the sidebar viewport remains reset in final.png. Strict completeCachedFrame is therefore unattested; node counts cannot establish it. No primary visual-state pass or complete cached frame timing is claimed.

Stage attribution (median DOM timestamps, not paint): archived baseline sidebar 321.4 / pane 591.2 / Details 1424.5 ms; candidate hidden sidebar 331.9 / pane+Details 680.3 ms. Snapshot reads complete at 61.8→63.3 ms and sidebar reads at 167.4→178.2 ms. The remaining gap is module/render/presentation work after IO. A representative candidate LoAF attributes 292 ms to a Details import continuation, including 106 ms forced layout. The join coordinates that work; it does not remove it.

Sidebar snapshot projection omits displayed owner/participant/avatar facts and retains no scroll anchor; waiting longer cannot reconstruct them. The dashboard fixture is the existing native HTML widget, with page-chrome mode off; it does not certify an MCP-app page-chrome lifecycle. Full-window state totals are not used as a primary because raw capture may include surfaces after the observation cutoff. Raw surfaces and clocks remain retained.

Browser contract

Chromium's renderer compositor deferral is configured for 500 ms from lifecycle admission, ending on contentful paint, its timeout, or first paint without contentful content after parsing. A background can end the hold. The separate four-second old-surface retention supplies no asynchronous app-ready latch. The candidate's 450 ms timer starts in the inline script, so its nominal 50 ms headroom uses a different clock; main-thread work can delay timers. Separate foreground Chrome calibration reproduced old→complete for a short controlled delay and old→blank→complete beyond the hold. Local timings were diagnostic only.

Sources: renderer hold, non-contentful release, old-surface timeout.

Size and follow-up

App runtime +80 net LOC; generated boot manifest +8; requested non-test/non-doc diff +204/-39, net +165 including extended proof tooling and its guide. Test lines decrease by 8; no ceiling or performance-cap change. Deleted the superseded intentional paint-yield machinery and its four timer cases. Added regional native browser assertions, cold/fallback checks, foreground rig support and explicit complete-frame audit support. Regional assertions are necessary but do not prove full cached pixels.

Reject this combined presentation hold. Finish the existing display snapshot producers/viewport restoration and reduce actual render/layout work before revisiting a joined commit. An opacity barrier cannot make the missing facts or work disappear. No broader replacement architecture is proposed.

All measured distributions and per-pair deltas, including A/A controls

L283 quiet-host measurements

Pinned candidate c00aff3; baseline d5e35ca. AWS cbx_c100933abc35, c7a.4xlarge, Chromium156.0.8078.4, 80ms latency profile, 11 interleaved AB/BA pairs. All times ms. Distributions are median [Q1, Q3], linear quantiles. Delta = candidate minus baseline. FCP delay on warm is explicitly exempt; other secondaries retain the campaign regression rule.

Strict completeCachedFrame remains unattested. Do not substitute DOM presence for complete cached pixels. These metrics cannot certify one-refresh success. Full-window visual census is omitted here because screencast may contain frames after capturedUntilMs; raw captures remain retained.

A/A archived + dashboard

chat

Metric Base Candidate Paired delta Better / worse
helloHandledMs 744.410 [732.385, 783.120] 764.305 [737.102, 781.531] 1.873 [-42.075, 37.735] 5/6
fcpMs 63.493 [62.598, 64.307] 63.778 [61.694, 65.411] 0.505 [-1.489, 2.056] 5/6
firstPaintedRowsMs 663.369 [603.450, 675.484] 663.552 [625.529, 673.524] 32.122 [-47.965, 63.938] 5/6
finalRowsDomMs 594.371 [534.100, 605.134] 591.952 [550.279, 603.824] 30.322 [-50.665, 62.938] 5/6
firstTranscriptDomMs 594.371 [534.050, 605.134] 591.852 [550.279, 603.774] 30.322 [-50.665, 62.888] 5/6
loafBlockingMs 529.600 [482.100, 542.650] 529.700 [505.950, 541.200] 16.000 [-28.050, 52.700] 4/7
cls 0.000855 [0.000855, 0.000855] 0.000855 [0.000855, 0.000855] 0.000000 [0.000000, 0.000000] 0/0

Per-pair deltas (same warm sample index, AB/BA interleaved):

Pair helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs firstTranscriptDomMs loafBlockingMs cls
1 +32.922 +2.659 +32.122 +30.322 +30.322 +16.000 +0.000000
2 +1.873 +1.453 -19.927 -18.327 -18.327 +5.600 +0.000000
3 +39.728 -1.459 +56.028 +54.228 +54.328 +40.900 +0.000000
4 -16.766 -1.467 -47.966 -49.166 -49.166 -20.400 +0.000000
5 -62.769 +4.598 +71.831 +70.331 +70.431 +37.300 +0.000000
6 -35.265 -2.595 -47.965 -52.165 -52.165 -35.700 +0.000000
7 +35.742 -1.512 +60.042 +57.742 +57.642 +65.700 +0.000000
8 -57.146 +10.074 -51.946 -57.546 -57.546 -83.800 +0.000000
9 +54.434 -3.760 +67.834 +68.134 +68.134 +70.300 +0.000000
10 -48.886 +1.412 -59.886 -64.186 -64.086 -70.300 +0.000000
11 +67.504 +0.505 +72.104 +73.504 +73.504 +64.500 +0.000000

Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):

Arm FCP Initial critical DOM
base 54.01800000015646 True at 24.303027343936265 ms
candidate 53.17100000008941 True at 23.460058593656868 ms

dashboard

Metric Base Candidate Paired delta Better / worse
helloHandledMs 926.286 [892.130, 942.900] 929.690 [902.774, 956.947] 13.385 [-35.560, 67.062] 5/6
fcpMs 58.075 [55.787, 69.533] 57.319 [55.740, 62.152] -1.169 [-9.662, 1.657] 6/5
firstPaintedRowsMs 699.440 [679.416, 705.448] 695.471 [667.473, 709.390] 8.085 [-35.938, 45.912] 5/6
finalRowsDomMs 654.940 [633.309, 662.013] 649.171 [622.774, 663.640] 5.185 [-34.938, 45.862] 5/6
firstTranscriptDomMs 654.840 [633.309, 661.963] 649.171 [622.724, 663.590] 5.185 [-34.888, 45.912] 5/6
loafBlockingMs 529.400 [503.450, 537.800] 528.300 [500.850, 552.750] 17.200 [-30.400, 46.800] 5/6
cls 0.000855 [0.000855, 0.000855] 0.000855 [0.000855, 0.000855] 0.000000 [0.000000, 0.000000] 0/0

Per-pair deltas (same warm sample index, AB/BA interleaved):

Pair helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs firstTranscriptDomMs loafBlockingMs cls
1 +79.145 +80.870 +87.945 +91.645 +91.745 +24.200 +0.000000
2 -63.552 -4.537 -47.952 -47.652 -47.652 -60.500 +0.000000
3 +13.385 -17.015 +8.085 +5.185 +5.185 +17.200 +0.000000
4 -37.847 -10.568 -28.047 -27.647 -27.647 -31.200 +0.000000
5 +66.667 -1.169 +47.867 +46.067 +46.067 +57.500 +0.000000
6 -32.682 -13.093 -43.882 -45.582 -45.482 -29.600 +0.000000
7 +67.457 +1.932 +43.957 +45.657 +45.757 +77.300 +0.000000
8 -33.272 +0.007 -31.872 -29.172 -29.172 -27.400 +0.000000
9 +72.496 -8.757 +47.896 +48.396 +48.296 +66.700 +0.000000
10 -42.405 +1.382 -40.005 -40.705 -40.605 -52.500 +0.000000
11 +47.529 +6.652 +23.829 +24.229 +24.229 +36.100 +0.000000

Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):

Arm FCP Initial critical DOM
base 52.9859999998007 True at 18.56396484375 ms
candidate 55.91700000013225 True at 18.6170898436103 ms

A/A active

chat

Metric Base Candidate Paired delta Better / worse
helloHandledMs 852.905 [809.488, 866.125] 852.636 [823.293, 875.527] -14.781 [-42.177, 68.557] 6/5
fcpMs 64.417 [63.017, 65.023] 65.448 [64.448, 66.495] 2.438 [-0.600, 4.435] 3/8
firstPaintedRowsMs 683.405 [659.488, 705.478] 707.481 [675.505, 711.487] -3.981 [-17.870, 51.951] 6/5
finalRowsDomMs 603.805 [578.724, 623.088] 628.381 [595.005, 629.987] -0.781 [-16.615, 52.119] 6/5
firstTranscriptDomMs 603.805 [578.724, 623.088] 628.381 [594.955, 629.937] -0.681 [-16.615, 52.169] 6/5
loafBlockingMs 670.200 [627.900, 681.900] 665.200 [642.850, 684.700] -20.800 [-32.250, 54.950] 6/5
cls 0.005062 [0.005062, 0.005062] 0.005062 [0.005062, 0.005062] 0.000000 [0.000000, 0.000000] 1/0

Per-pair deltas (same warm sample index, AB/BA interleaved):

Pair helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs firstTranscriptDomMs loafBlockingMs cls
1 -14.781 +5.179 -3.981 -0.781 -0.681 -29.300 -0.000228
2 -49.870 -1.594 -36.070 -55.670 -55.770 -56.800 +0.000000
3 +67.541 +3.195 +56.041 +54.141 +54.041 +53.400 +0.000000
4 -56.358 +0.825 -23.858 -21.758 -21.758 -35.200 +0.000000
5 +59.065 +5.220 +43.865 +50.765 +50.765 +21.800 +0.000000
6 -62.470 -2.483 -39.870 -37.970 -38.070 -45.600 +0.000000
7 +69.572 +2.438 +55.872 +53.472 +53.572 +65.600 +0.000000
8 -29.372 -2.336 -7.972 -11.472 -11.472 -26.900 +0.000000
9 +83.021 +0.393 +56.021 +55.221 +55.121 +58.400 +0.000000
10 -34.483 +3.691 -11.883 -11.083 -11.183 -20.800 +0.000000
11 +77.530 +12.465 +48.030 +48.630 +48.730 +56.500 +0.000000

Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):

Arm FCP Initial critical DOM
base 54.68999999994412 True at 25.363867187406868 ms
candidate 51.99299999978393 True at 24.305859375279397 ms

Paired archived + dashboard

chat

Metric Base Candidate Paired delta Better / worse
helloHandledMs 775.131 [747.390, 801.766] 712.785 [700.545, 746.076] -73.666 [-95.310, -2.228] 9/2
fcpMs 63.581 [61.970, 66.265] 771.259 [734.767, 776.364] 699.622 [669.036, 714.320] 0/11
firstPaintedRowsMs 659.485 [611.589, 675.366] 775.411 [739.502, 779.453] 159.914 [72.036, 167.930] 0/11
finalRowsDomMs 590.785 [539.139, 606.066] 685.111 [646.202, 688.416] 145.741 [50.183, 153.763] 0/11
firstTranscriptDomMs 590.785 [539.139, 605.966] 679.987 [646.202, 687.053] 140.814 [46.678, 148.580] 0/11
loafBlockingMs 530.300 [503.400, 552.800] 559.400 [526.000, 561.800] 53.800 [-5.650, 58.400] 4/7
cls 0.000855 [0.000855, 0.000855] 0.000855 [0.000855, 0.000855] 0.000000 [0.000000, 0.000000] 0/1

Per-pair deltas (same warm sample index, AB/BA interleaved):

Pair helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs firstTranscriptDomMs loafBlockingMs cls
1 -256.846 +488.561 +272.154 +255.754 +255.754 +57.200 +0.000855
2 -74.169 +665.799 +68.031 +46.231 +46.231 -40.200 +0.000000
3 -3.559 +713.961 +163.841 +145.741 +145.641 +53.800 +0.000000
4 -73.666 +662.112 +80.034 +54.134 +54.134 -4.500 +0.000000
5 -3.886 +714.679 +159.914 +140.714 +140.814 +59.700 +0.000000
6 -85.252 +672.299 +68.148 +44.948 +45.048 +3.300 +0.000000
7 +14.268 +716.551 +175.968 +157.768 +157.768 +59.600 +0.000000
8 -105.368 +672.274 +56.132 +31.932 +31.932 -46.300 +0.000000
9 +1.258 +714.761 +167.858 +149.758 +149.658 +74.900 +0.000000
10 -425.875 +699.622 +75.925 +206.725 +47.125 -6.800 +0.000000
11 -0.898 +709.098 +168.002 +147.502 +147.502 +56.800 +0.000000

Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):

Arm FCP Initial critical DOM
base 55.08600000059232 True at 25.55419921875 ms
candidate 56.05200000014156 True at 26.226123047061265 ms

dashboard

Metric Base Candidate Paired delta Better / worse
helloHandledMs 931.652 [903.981, 952.649] 866.757 [854.927, 909.937] -69.898 [-89.594, -30.595] 9/2
fcpMs 58.982 [57.062, 72.048] 725.502 [700.831, 750.718] 654.951 [633.819, 690.228] 0/11
firstPaintedRowsMs 703.321 [673.490, 715.480] 747.457 [717.476, 753.487] 60.002 [0.108, 84.023] 3/8
finalRowsDomMs 658.721 [628.991, 670.880] 686.757 [652.926, 692.737] 47.802 [-17.142, 66.773] 4/7
firstTranscriptDomMs 658.621 [628.991, 670.830] 686.757 [652.926, 692.737] 47.902 [-17.092, 66.823] 4/7
loafBlockingMs 541.000 [504.650, 547.750] 568.600 [539.900, 586.900] 0.600 [-20.650, 82.150] 4/7
cls 0.000855 [0.000855, 0.000855] 0.000855 [0.000855, 0.000855] 0.000000 [0.000000, 0.000000] 0/0

Per-pair deltas (same warm sample index, AB/BA interleaved):

Pair helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs firstTranscriptDomMs loafBlockingMs cls
1 -306.018 +524.107 +123.882 +246.282 +105.482 -34.300 +0.000000
2 -31.314 +644.546 +8.086 -9.014 -9.014 -43.000 +0.000000
3 -47.739 +699.387 +91.961 +75.661 +75.561 +94.500 +0.000000
4 -102.620 +654.951 +24.080 +4.180 +4.280 +0.500 +0.000000
5 +36.062 +693.807 +71.962 +52.862 +52.862 +79.900 +0.000000
6 -130.435 +623.091 -24.035 -43.435 -43.335 -27.600 +0.000000
7 -29.876 +686.807 +80.024 +62.924 +62.924 +67.300 +0.000000
8 -76.568 +622.911 -15.968 -38.768 -38.868 +0.600 +0.000000
9 +72.821 +675.715 +88.021 +70.621 +70.721 +100.300 +0.000000
10 -70.470 +647.049 -7.870 -25.270 -25.170 -13.700 +0.000000
11 -69.898 +693.648 +60.002 +47.802 +47.902 +84.400 +0.000000

Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):

Arm FCP Initial critical DOM
base 52.950000000186265 True at 18.95493164099753 ms
candidate 57.89500000001863 True at 19.840039062313735 ms

Paired active

chat

Metric Base Candidate Paired delta Better / worse
helloHandledMs 831.312 [817.398, 868.714] 800.736 [598.503, 808.213] -19.106 [-277.686, -4.242] 9/2
fcpMs 63.719 [63.053, 64.170] 826.597 [806.179, 830.957] 762.556 [743.543, 765.660] 0/11
firstPaintedRowsMs 683.529 [667.548, 703.413] 831.423 [825.442, 845.510] 159.959 [132.005, 165.965] 0/11
finalRowsDomMs 606.022 [584.898, 622.988] 730.778 [725.644, 841.138] 144.859 [138.370, 181.182] 0/11
firstTranscriptDomMs 605.922 [584.898, 622.988] 729.348 [722.860, 741.280] 143.245 [109.206, 146.065] 0/11
loafBlockingMs 645.900 [642.900, 679.900] 734.300 [689.650, 745.700] 94.200 [0.950, 116.200] 3/8
cls 0.005062 [0.005062, 0.005062] 0.005982 [0.005465, 0.005982] 0.000921 [0.000403, 0.000921] 0/10

Per-pair deltas (same warm sample index, AB/BA interleaved):

Pair helloHandledMs fcpMs firstPaintedRowsMs finalRowsDomMs firstTranscriptDomMs loafBlockingMs cls
1 +91.060 +457.572 +167.960 +158.660 +158.560 +94.200 +0.001841
2 -119.976 +714.478 +72.124 +55.624 +55.524 -12.900 +0.000921
3 +6.771 +764.863 +167.971 +147.171 +147.271 +123.600 +0.000921
4 -76.039 +729.522 +111.961 +89.361 +89.261 +37.400 +0.000921
5 -19.106 +762.235 +147.894 +133.394 +133.494 +118.000 +0.000921
6 -477.485 +766.457 +116.115 +223.615 +89.315 -48.800 +0.000065
7 -3.029 +757.564 +163.971 +143.671 +143.671 +125.300 +0.000921
8 -448.902 +794.246 +160.098 +264.898 +129.098 -29.300 +0.000065
9 -5.455 +762.556 +159.845 +143.345 +143.245 +99.600 +0.000921
10 -435.396 +878.513 +244.204 +203.704 +203.704 +14.800 +0.000000
11 -17.341 +764.591 +159.959 +144.859 +144.859 +114.400 +0.000741

Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):

Arm FCP Initial critical DOM
base 54.69200000073761 True at 24.237841797061265 ms
candidate 56.0500000002794 True at 27.262011718470603 ms

Validation and disposition

AWS focused proof passed: native reload regression 3/3; snapshot prewarm 12/12; warm roster 28/28; bootstrap prewarm 15/15; bootstrap location 12/12; sidebar snapshot 33/33; paint audit 3/3; comparison 2/2 (108 tests total). The native Vitest invocation took 34.01 s. The canonical local native invocation took 29.84 s wall time; that is test-cost reporting, not a performance comparison. The three regional assertions fail on the baseline and pass on the candidate. Existing boot-composer 8/8 also passed locally.

The full UI suite was intentionally interrupted after the candidate failed the performance and visual gates. Its retained log has 33 passing file summaries and no failed-file summaries before cancellation (runner exit 143, outer wrapper 130). This is incomplete validation, not a full-suite pass. Changed-file checks and the canonical differential bundle-budget gate were scheduled afterward and were not reached. Exact-head CI run 41976783754 was skipped while draft; no green CI or readiness is claimed.

Published commits passed the configured detached autoreview through P2. A later manual audit found that a route render failure after successful session data could leave its recovery panel hidden by the warm hold. A two-line RouteError release and consolidated regression were locally verified red/green and reviewed, then retained separately because this whole experiment is rejected. Any revival must fix that error path; automated scoped-clean review was insufficient.

All 144 final captures and 5,348 native PNGs were copied and verified with no missing frames. Both task-owned AWS leases are released; no task-owned local Gateway remains. Close this experiment without readiness or merge. No private Team captures or content were uploaded.

@clawsweeper

clawsweeper Bot commented Nov 5, 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 5, 2026
@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 Nov 5, 2026
@clawsweeper

clawsweeper Bot commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR adds foreground Chromium capture and regional DOM milestones to the warm-reload proof rig.

Example: Run the warm-reload diagnostic with --headed.

  • Before: The rig only launches headless Chromium.
  • After: It launches a visible Chromium window, foregrounds the captured tab, and records additional regional mount milestones.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Focused, source-consistent tooling with no concrete finding; the experiment remains partial and its reported calibration has no inspectable current-head artifact.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored tooling experiment is outside the ordinary contributor proof gate; its body reports Chromium 156 calibration, while current-head artifacts and product measurements remain unavailable for inspection.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Maintenance · Worth it: Yes · Fix scope: Partial
User problem: Signed-in reloads visibly assemble cached regions in stages, and the experiment needs foreground capture diagnostics to investigate them.
Reason: The existing feature owner extends the established rig for a concrete investigation; the broader single-frame runtime objective is intentionally unfinished.

Merge readiness

✅ Ready for maintainer review

Keep this maintainer-authored experiment open and honor its explicit do-not-merge status; the tooling changes are focused and introduce no concrete defect found in review.

Priority: P3
Reviewed head: ad28ba3e434c37edfe0c3df5369737d8c1fcdcc8

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: The body reports foreground calibration, but supplies no inspectable current-head frames or output showing the new regional diagnostics.
Agent review details

How this fits together

The diagnostic drives an isolated built Gateway and synthetic browser state, producing compositor frames and timing reports for Control UI reload analysis.

flowchart LR
  A[Diagnostic CLI] --> B[Isolated Gateway]
  A --> C[Owned Chromium]
  B --> C
  C --> D[DOM milestone probe]
  C --> E[Compositor frames]
  D --> F[Reload reports]
  E --> F
Loading

Technical review

Best possible solution:

Retain the focused diagnostic extension while its owner completes or concludes the cached-frame experiment.

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

This is a diagnostic extension rather than a runtime fix; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The patch is a small extension of the existing browser launcher, capture boundary, and probe, with no competing measurement owner or unnecessary scaffolding.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Browser launch and PaintHolding calibration keeps the original intent (3e34765: Calibrate old-page continuity and early/late navigation paint behavior using full Chromium while preserving other browser feature settings.)
  • DOM-state sampling keeps the original intent (5df2f45: Correlate reload milestones with retained compositor evidence without treating DOM readiness as proof of paint.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

PR surface

Docs +8, Other +24. Total +32 across 4 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 1 8 0 +8
Config 0 0 0 0
Generated 0 0 0 0
Other 3 35 11 +24
Total 4 43 11 +32

Preflight source

Source unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified.

Review metrics

Metric Value Why it matters
Diagnostic option 1 new flag: --headed; default false Adds an opt-in foreground diagnostic without changing the default browser mode.

Labels

Label changes:

  • add P3: This is optional diagnostic tooling with no shipped runtime behavior change.
  • 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: This is optional diagnostic tooling with no shipped runtime behavior change.
  • 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.

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Attach sanitized foreground calibration frames and reload output showing the added DOM milestones when the experiment is ready for evaluation.

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 5, 2026, 12:05 AM ET / 05:05 UTC.

Extend the scoped first-pane snapshot join with cached sidebar and Details preparation, and remove the deliberate roster-before-pane paint. Keep the original critical frame as a bounded fallback while the joined app mounts.

Release-note context: saved chat reloads reveal their cached regions together while reconnecting. First visits retain the critical loading frame. Native browser regression coverage is red on the base and green for active chat, archived chat, and dashboard restores.
Let validated snapshot facts decide whether the joined warm mount needs the inspector renderer. Regenerate the boot module manifest and remove the retired paint-yield test timer cleanup.
Keep the campaign LoAF and RPC probe observations with the existing warm-reload capture after its observation window ends.
@steipete
steipete force-pushed the steipete/coldload-single-warm-commit branch from ad28ba3 to c00aff3 Compare November 5, 2026 05:52
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: M and removed size: S labels Nov 5, 2026
@steipete steipete closed this Nov 5, 2026
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: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. scripts Repository scripts 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