Repository navigation
perf(control-ui): reveal the warm cached page in one commit - #195865
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. What this changesThis PR reveals cached sidebar and positioned conversation content together on warm reloads, with a bounded loading fallback. Example: Reload a cached chat containing 240 messages.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Blocked before merge - 1 item remains Keep this maintainer-authored PR open: inspected visual evidence supports the improvement, no actionable introduced defect was found, and the author’s explicit merge pause remains active. Priority: P3 Before merge
FindingsNone. Tests
Agent review detailsHow this fits togetherControl UI startup prepares existing scoped browser snapshots while connecting to the Gateway; sidebar and transcript presentation owners report completion to the document boot owner. flowchart TD
A[Warm chat reload] --> B[Parser visibility hint]
B --> C[Boot visibility latch]
D[Sidebar settled commit] --> C
E[Transcript positioned commit] --> C
C --> F[Visible cached page]
G[Deadline or recovery] --> H[Visible loading or error]
C --> H
Technical reviewBest possible solution: Keep joined visibility in the existing boot owner while preserving independent preparation, scoped admission, draft handoff, and immediate recovery. Do we have a high-confidence way to reproduce the issue? The supplied baseline contact sheets show staged presentation, and current-main source retains the corresponding independent reveal paths; no target code was executed during this review. Is this the best way to solve the issue? The smallest complete change is a bounded document visibility latch consuming existing committed-region facts, which this diff implements without adding another cache or changing region preparation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bbf0d7380315. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
PR surfaceSource +90, Tests +414, Docs +2, Other +1. Total +507 across 21 files. Added test files: 1. View PR surface stats
Preflight sourceSource 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
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. LabelsLabel changes: No label changes. Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReview history (1 earlier review cycle)
Reviewed November 9, 2026, 4:55 AM ET / 09:55 UTC (Revision 2). |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Live owner publications write the boot record after the snapshot save settles; under load the immediate localStorage check raced it and failed every warm-join case.
Document and chat boot caps move to the CI-measured candidate sizes plus the standard 64 B headroom (13,962 B and 1,297,193 B).
Exact-head CI against newer main measured startup JS 91,561 B (+600 B), chat boot 1,297,436 B (+582 B) and New Session boot 803,300 B (+623 B). The startup baseline takes the measured value; route caps take measured plus 64 B.
CI on c978b05 measured chat boot 1,297,532 B against base 1,297,037 B; the cap takes measured plus 64 B.
|
Landed as 07a098f (squash, pinned head Exact-head CI (run 42622808480) passed all UI e2e shards and the Control UI size budgets. The only red was Exact-head local proof on
Lead commits after the measured head:
Follow-up (parked): cached widget cards show a reserved, untitled box until their sandboxed content renders. A titled reservation works for the first frame. A gap-free handoff needs a paint-level acknowledgement from inside the widget sandbox, because the current one fires on |
…#195865) Reloading a cached chat in the Control UI used to flash a loading skeleton and then assemble in stages: the sidebar beside a transcript skeleton, then Details, then transcript rows. On Team deployments none of 12 measured reloads went from the previous page straight to the complete page. The document now carries a parser-time hint when a boot record exists for a chat route. While Chromium's paint holding keeps the previous page on screen, the new document stays invisible. One latch in the existing boot composer reveals it when the cached sidebar and the positioned transcript have both committed. Every other exit releases immediately: cache miss, unusable or deleted cache, login, route change, rejected warm boot, shell load error and route error. A 450 ms wall-clock deadline, checked before each rendered frame so a busy main thread cannot defer it past the hold, falls back to the existing skeleton. Proof, on fresh AWS c7a.4xlarge hosts against pinned main: Team active and archived went from 0/12 to 12/12 old page to complete page as the first new state. Across 120 visual captures, no frame was blank or background-only. A forced-miss and stalled-main-thread probe (36 captures, 2,082 inspected frames) never showed a blank frame. Native reloads that hit the deadline show cached sidebar and Details, then the complete page. Visible state counts fell on every chat workload and tied on the dashboard; layout shift and transcript backtracking stay at 0. Disclosed cost: the complete frame arrives 17 to 36 ms later, order-adjusted, on paths that hold the old page, because the first commit after paint holding carries the whole tree (raster tasks 17 to 81 on Team). The change also adds about +600 B gzip to startup JS, about +500 B to chat boot and +623 B to New Session boot; the size budgets record the measured values. These and the other gate dispositions are listed as lead decisions in the PR. Runtime +88 lines across 15 existing owners. A new warm-join browser regression covers the joined reveal, deadline fallback, stalled deadline delivery, route-error release and sidebar-cache miss. The full UI e2e suite ran on the measured head: 12 of 13 reds reproduce on pinned main, and the remaining warm-boot timeout passed 6/6 on rerun. Exact-head CI is green except one unrelated chat-view speed-selection test that passes 5/5 locally on the same head.
Exact-head CI pending at
c978b05d. Three lead commits follow the CI-repair heada3f8ab0c. First, the new warm-join setup now polls for the persisted boot record: live owner publications write it about 100 ms after the snapshot save, and the immediate check failed every warm-join case on a loaded Mac. Second and third, the startup baseline and the document, chat and New Session caps are recorded at the CI-measured sizes (lead decision 5). The earlier candidate-only warm-boot cold-splash timeout did not reproduce: 6/6 local runs of all ten profiles pass ona3f8ab0cunder heavy host load, and that cold path never enters the hold.Related: #195166. GitHub refused reopening that experiment PR; this replacement retains its measured history and the CI repair.
What Problem This Solves
Fixes the skeleton flash and staged sidebar → transcript assembly when a signed-in operator reloads a cached chat deep link.
User Impact
An admitted warm reload keeps the old page visible until the cached sidebar and positioned transcript are committed, then swaps to the complete cached page. Cold boots, authentication, cache misses, route errors, navigation away and retired admissions release immediately. A 450 ms parser-time deadline falls back to the existing skeleton before the next computed frame, including after a main-thread stall.
This trades incremental first paints for visual continuity. On the last fully measured head,
f091d3f7, complete-frame ET is +28/+17 ms adjusted for Team active/archived, +23/+36 ms for native active/archived, and +29 ms for dashboard. FCP moves to reveal on held paths by design. These are measured tradeoffs, with the lead decisions below; this PR does not claim an earlier first paint or that every numerical timing gate passed.Why This Change Was Made
Main paints the critical skeleton early, ending Chromium’s old-page hold before the cached regions are complete. One visibility latch in the existing boot-frame owner now consumes the sidebar’s settled commit and the transcript’s positioned commit. Each region starts its work as before. The transcript keeps the existing Details-readiness contract; the join adds no Details wait or region-work dependency.
The deadline runs in a rendering callback that checks fresh
performance.now()before style/paint, replacing the timer that could run too late after a long task. Immediate release paths share the same latch. The cached-roster handoff remains because removing it previously regressed native hello/RPC scheduling. No new store, option, configuration, protocol, schema or server change is introduced. Release-note context: warm cached chat reloads reveal one cached surface, with a bounded skeleton fallback under stalls.Lead decisions
Held paths use a +40 ms adjusted bound. Concentrating the first complete commit increases paint and raster work: Team’s row-bearing frame has 17 → 81 raster tasks, with zero explicit frame commit wait. The lead accepts that intrinsic paint-holding swap cost to replace the skeleton flash and staged assembly with one old-page → cached-page swap. Accepting it is a lead product decision, not a gate pass. Historically,
ba03a677/4595699bmeasured Team +22/+44 ms, and archived exceeded +40: Accepting archived at +44 is a lead product decision, not a gate pass. That historical exception is not substituted into the final-head table.Native held paths share the +40 ms bound because native also holds. Earlier
5424defc/e097b687measured Team +22/+24 ms and native archived +23 ms. Native archived exceeded its original +17 ms assumption, but native chat also keeps the old page and pays the same deferred first-commit cost (16 → 67 scoped raster tasks in its diagnostic). Accepting it is a lead product decision, not a gate pass. Current-head timing below is reported separately.Dashboard’s calibrated hello/RPC numbers are accepted as estimator noise. On
f091d3f7/df13b6b8, dashboard is hello +17/+30.25 ms and first RPC +12.65/+32.05 ms in AB/BA orders, above the original +10 ms both-order cap. Accepting it is a lead decision, not a gate pass. Dashboard never enters the hold. The lead verified that its reachable changes are null-returning sidebar-settlement registrations, two-element Set/absent-attribute completion operations, and early prewarm-return releases; they add no fetch, reactive publication, wait or inter-region ordering. The preceding lease measured the opposite direction on substantially unchanged dashboard-reachable code: hello −25.1/−3.25, RPC −28.55/+2.35 and rows −13 ms. Here raw dashboard hello/RPC paired medians are only +2.8/+5.1 ms, six worse/six better each, with overlapping arm IQRs. A/A order bias is about ±60–90 ms; the separate closing A/A moved the correction’s order medians by roughly 9–13 ms. The profiled script union fell 392.6 → 378.0 ms, with no candidate-specific pre-hello bucket. Profiling has substantial tax and does not prove zero overhead. The lead accepts the estimator-specific failure without a code change; the original measurements are retained below.Lead decision: correct the masked-state census gate. The gate is paired median(candidate − main) ≤0 AND candidate mean ≤main mean +0.5, using the existing12 paired captures. It is not candidate arm median ≤main arm median. All five workloads pass those corrected numerical comparisons; dashboard’s paired median is0, both exact means are46/3, and its better/worse/tied counts are2/2/8. The15→15.5 arm medians are descriptive. This is a gate correction, not a lead product exception or a waiver of the semantic no-blank/complete-page gates.
Lead decision: record the byte budget this change costs. Exact-head CI run 42615783623, merged with newer main, measured these candidate-minus-base deltas:
The growth is the admission hint plus the finish calls and region latch in the startup boot owners, which the Production size section itemizes. The startup baseline takes the measured 91,561 B, the value
--update-baselinewould write, as fix(control-ui): show cached Details with the first chat frame #194142 did for this campaign's Details prewarm. Document, chat and New Session caps take measured size plus 64 B. Base main's own chat boot (1,296,854 B) already exceeded its committed 1,296,751 B cap, so the chat cap also absorbs main's drift. Each increase is under 1% of its budget and is caused by this change. This is a lead decision, not a gate pass.Evidence
The timing, visual census, robustness and focused remote proof below belong to
f091d3f7cee5e425580ef4af6172116903cddab3versus pinned maindf13b6b8994cefe16f311f29f0301bba511ec617. Current published CI-repair head isa3f8ab0cf71fc56e987e1fc97906f8f8c6410c77. Its three-file repair restores the original async utility-loader structure, preserves both current-entry checks, simplifies a miss-only void return, and gives the route-snapshot fixture jsdom. Underlying work starts and the450 ms rendering deadline are unchanged; removing Promise-tail reactions can advance final readiness settlement. Prior-head measurements are retained as prior-head evidence, not final-head proof for this repair. New-head performance, visual and full-suite validation were not run after the byte STOP. The campaign’s private evidence records a 14-state signed-in dashboard-deep-link reload and its request/socket waterfall. None of its private capture content appears here; all visual attachments must use inspected synthetic fixtures.Timing: one quiet AWS c7a.4xlarge, lease
cbx_77420fba36b1, repo Playwright Chromium, default one excluded warm prime, 12 alternating A/B pairs plus 12 A/A pairs per workload. All 240 measured arm records passed the five raw source/order/cache/worker audits. The corrected effect subtracts the same-order A/A median from each order’s A/B median, then averages the two orders. A/A columns beside same-numbered pairs are diagnostic; individual pairs are not directly subtracted. IQR uses inclusive linear interpolation. Raw pair signs and paired medians remain diagnostics. Complete ET is max(rows, Details), equal to painted rows here; it is not a physical compositor census or proof of final live settlement.The four held-chat means meet the revised +40 ms bound. Native active/archived hello and RPC each have one order above +10; they are disclosed, not labelled both-order passes. Dashboard’s +29 ms rows estimate also exceeds the former unheld +17 reference; the lead’s final instruction accepts this estimator outcome and requests completion without a code change. Its raw paired rows median is 0 ms (six better/six worse), raw order-balanced +15 ms.
Details are present by rows in 12/12 both arms of each chat workload. Exact first-ET equality is distinct: Team active 0→12, Team archived 6→12, native active 0→9, native archived 0→10. Timing-mode observed fallback transitions are Team 0/12 each, native active 3/12, native archived 2/12, dashboard 0. Observer delivery is not the setter clock or a pixel verdict; formal visual fallback counts are reported separately below.
CLS is unchanged: Team 0; native active 0.0008552664747779376; native archived/dashboard 0.000861601781998515. LoAF has mixed pair signs and overlapping IQRs under the standing secondary rule. Median FCP main→candidate: Team active166→468, Team archived180→434, native active48→572, native archived44→532 and dashboard314→320 ms. Held-path FCP is reported, not gated. Existing exact-head cold native setup observations are52.520–55.452 ms, separate pilot53.552; no paired cold or Team-cold performance claim is made. Timing mode cannot measure geometry, backtracking, final-DOM settlement time or visible-state census.
Team active — per-pair and within-order timing
12 complete pairs. Details present by rows: 12/12 in both arms.
Painted rows: raw paired 24 [15, 28]; raw better/worse 1/11; balanced 23; A/A-adjusted 28. Raw pair signs are diagnostic.
Complete ET: raw paired 24 [15, 28]; raw better/worse 1/11; balanced 23; A/A-adjusted 28. Raw pair signs are diagnostic.
Team archived — per-pair and within-order timing
12 complete pairs. Details present by rows: 12/12 in both arms.
Painted rows: raw paired 24 [5, 36]; raw better/worse 3/9; balanced 24; A/A-adjusted 17. Raw pair signs are diagnostic.
Complete ET: raw paired 24 [5, 36]; raw better/worse 3/9; balanced 24; A/A-adjusted 17. Raw pair signs are diagnostic.
Native active — per-pair and within-order timing
12 complete pairs. Details present by rows: 12/12 in both arms.
Painted rows: raw paired 12 [0, 42]; raw better/worse 2/7; balanced 22; A/A-adjusted 23. Raw pair signs are diagnostic.
Complete ET: raw paired 12 [0, 42]; raw better/worse 2/7; balanced 22; A/A-adjusted 23. Raw pair signs are diagnostic.
Native archived — per-pair and within-order timing
12 complete pairs. Details present by rows: 12/12 in both arms.
Painted rows: raw paired 6 [-21, 60]; raw better/worse 6/6; balanced 19; A/A-adjusted 36. Raw pair signs are diagnostic.
Complete ET: raw paired 6 [-21, 60]; raw better/worse 6/6; balanced 19; A/A-adjusted 36. Raw pair signs are diagnostic.
Native dashboard — per-pair and within-order timing
12 complete pairs. Details ET is unavailable for this dashboard workload.
Painted rows: raw paired 0 [-36, 63]; raw better/worse 6/6; balanced 15; A/A-adjusted 29. Raw pair signs are diagnostic.
Complete ET: raw paired 0 [-36, 63]; raw better/worse 6/6; balanced 15; A/A-adjusted 29. Raw pair signs are diagnostic.
Formal visual census and secondaries
Separate formal visual proof on fresh quiet AWS c7a.4xlarge, lease cbx_9007c5d80885: 12 interleaved pairs per workload,120 captures, with one excluded warm prime and the original masks/probes. All50 capture commands completed first attempts. All120 navigation-to-first-complete spans were personally inspected using the existing sheets, covering2,168 delivered frames; dashboard was inspected through its later card surface as well. Later in-place updates were spot-checked in pairs01/12 of both arms on every workload (three observations per capture). Zero blank or background-only frames were observed in those inspected spans and spots. All5,946 raw frames are retained; this does not claim every later frame was reviewed.
Team swaps from the held old page to sidebar, transcript and Details together. Main shows a critical skeleton, then populated sidebar beside a transcript skeleton, then Details/rows. “Complete cached page” means the cached snapshot contract; the shared archived metric-card fidelity gap is disclosed under Follow-ups. Native fallback shows existing cached chrome/Details before transcript content; it does not go blank. Dashboard remains unheld and retains its staged skeleton/content/card path.
Corrected masked-state census (numeric proof)
The corrected gate is paired median(candidate − main) ≤0 states AND candidate mean ≤main mean +0.5 states. These are the canonical masked-state counts from 12 paired captures per workload, computed without substituting arm medians for the paired statistic. Both numerical conditions pass on all five workloads. The independent arithmetic audit verifies the numbers; the separate personal pixel review establishes the semantic outcomes above.
Means above are displayed to four decimal places; gates use exact integer sums. With12 captures per arm, the mean condition is exactly
2 × candidate sum ≤ 2 × main sum +12. Dashboard sums are184/184 and means are exactly46/3 in both arms. Its paired count deltas are−1,0,0,0,0,−1,0,+1,0,+1,0,0; paired median0. Arm medians15→15.5 with identical IQR[15,16] do not fail the corrected paired/mean gate. The previous arm-median ceiling was the wrong comparison; no product exception is needed.Observer-fallback captures, individually inspected
These are observer marks, not actual fallback-setter timestamps. All11 show old → cached sidebar and Details with empty transcript → complete cached page, with no blank/background-only frame. Each range below names the first new delivered surface and the first complete cached frame, in document milliseconds; these visual-mode clocks include probe/screencast tax.
Visual secondary probes
The projections report zero backtracking in all60 candidate captures (and all60 main captures). Outputs/Automations/total vertical movement are0 and Subagents first/final height matches in all48 applicable candidate chat captures, also all48 main captures. Active Team/native Subagents height is81/141px respectively; archived fixtures report0px. These are probe geometry facts, separate from root pixel inspection.
All five canonical final-row checks report no strong regression evidence: arm IQRs overlap and raw worse-pair counts are below the standing threshold. These visual captures have no A/A block; no adjusted timing estimate or formal timing-gate pass is inferred. Details present-by-rows is12/12 on both arms of each chat workload; exact co-frame ET equality is reported separately above and is not lower.
LoAF IQRs overlap and CLS is unchanged in these projections. Held-path FCP moves to the reveal by design; these instrumented visual values are descriptive and do not replace the accepted timing-mode tables.
Inspected synthetic before/after contact sheets
Selected observed frames below use the same full viewport/scale in both arms. Captions preserve the original clocks and disclose visual-capture tax; they are visual evidence, not paired latency results. All media were inspected for synthetic-only content, with no private Team capture or unrelated desktop. Native active pair01 shows the natural single-swap path; all11 fallback sequences are reported separately above.
Team active: before / after
Team archived: before / after
Native active: before / after
Hold-expiry robustness
On this exact source pair, 36/36 captures, all 2,082 delivered raw frames personally inspected, zero full-page blank/background-only frames: 12 forced Team active (1,550 frames), 12 forced native archived (380), and 12 natural native archived at2×CPU (152). Every first new-document state is the existing critical skeleton with cached sidebar. These are deliberate fallback/stall cases, not the natural one-swap census.
The rig alone delays the real readonly transcript result to at least parser+650 ms and original route-asset dispatch to at least850 ms. The injected long task targets parser+200→580 ms and actually straddles both parser+450 and BLI+500 in all24 forced captures. All36 actual fallback setters fire. In forced cases the setter wins inside the first post-stall rendering opportunity, before style/paint and the first post-expiry Commit. It need not run before nominal hold expiry in wall time; it must run before that first eligible frame computes.
Clock cells are document-ms median[min,max], diagnostic only. A rendered capture is not a physical every-vsync observation. Native’s available error count is0; Team lacks the equivalent error field. Calibration on the pinned main passed300 ms old→complete and900 ms old→blank→complete; all raw controls were inspected. Its Team trace-only CL/BLI clocks were71.317/94.783 ms active and78.530/99.344 ms archived, leaving86.8/147.3 ms lifecycle-hold margin for those traced rows. The traces do not identify the exact FCP-versus-postparse-paint release branch.
Reveal-frame attribution and local GPU context
The following source-pinned diagnostics explain the mechanism. They are historical attribution, not substituted final-head latency measurements.
Historical attribution and hardware-GPU context — different source pins
Historical source candidate
ba03a677739bfb16ccaf3faa8c86e22babda7a36versus main4595699bf52954e48965025795034ba36da852fd. The following measurements belong only to those source pins; they neither replace final-head evidence nor grant a new gate waiver.The historical quiet-AWS Team-active comparison was main 446 [439,456]→candidate 470 [467,472] ms: +24 ms difference of arm medians, raw paired median +20 [15,32] ms, raw order-balanced +23 ms, and A/A-adjusted +22 ms (AB +26/BA +18). Historical Team-archived was 408 [400,421]→438 [428,446] ms: arm-median difference +30 ms, raw paired median +32 [17,40] ms (also raw order-balanced +32 ms), and A/A-adjusted +44 ms (AB +48/BA +40). Thus the shorthand raw 24/32 uses different estimators: active 24 is arm-median subtraction, archived 32 is the paired median. Neither is the calibrated result. Accepting archived at +44 is a lead product decision, not a gate pass.
The stage table below comes from three active trace-only captures per arm on one fixed quiet c7a.4xlarge. IQRs across three samples are descriptive; paired Δ is median(candidate−main), not subtraction of arm medians. Paint uses union duration. Worker task-wall/thread-CPU sums overlap across threads; parent and child stages overlap. Do not add the rows. Presentation, ET and observer entries are timestamps, not work durations. Trace pairs are not the final alternating-order A/A latency experiment.
Pure opacity avoided the broad inherited-pointer-events style burst: all three candidates had 7 post-release style resolutions, versus 1 main, rather than roughly 998 in the earlier inherited-property variant. It retained the first full commit: candidate row-bearing source frame 0 had 81 raster tasks; main's later row-bearing frame was source 6 with 17. These are source/tree-scoped tasks, not cumulative pre-rows work. Zero image decode and thousandths-of-a-millisecond explicit main commit wait do not support attributing the delay to synchronous main-thread raster blocking. Final total layer-tree counts and unique paint-operation inventories were unavailable; updated-layer IDs are not total layers.
Raw source-frame linkage was verified through nested BeginMainFrame/DoUpdateLayers, separate BeginFrame sequence→Commit→PipelineReporter presentation linkage, and frame-scoped document clocks. The root release was bracketed within 61–72 microseconds by existing row-bearing lifecycle hooks; MutationObserver delivery lagged 4.080–4.273 ms. Cross-clock origin differed from the exact navigationStart by −0.070…+0.017 ms. The source-backed semantic deferral lifetime differs from the exported microsecond SetDeferCommits slice because update/commit tracks cross; no specific FP/FCP trigger was inferred. These are attribution constraints, not a claim that every elapsed millisecond was CPU-blocked or irreducible.
A separate eight-pair headed hardware-GPU diagnostic on the shared loaded Mac used the same historical pins, repo Chromium 156.0.8078.4 and hardware ANGLE Metal raster, with tracing and no A/A. It is not a performance result or campaign gate. Whole complete-ET order-balanced delta was +64 ms, with individual deltas −104 to +236 ms; the narrower release→complete-ET interval was +5.75 ms. Keep both together: +5.75 ms is not a whole-page result or a latency win. No software fallback/blocklist override was used; qualified hardware raster was observed in 8/8 both arms. Source/layer linkage and Details by rows were 8/8 both arms; fallback marks 0/8. Raster task-wall sums are not GPU hardware execution.
The hardware-GPU arms had overlapping/wide intervals and large pair variation; these local diagnostic clocks are never pooled into the authoritative quiet-AWS comparison. Complete ET remains max(rows,Details), not a physical-monitor/full-surface observation. The release upper bound is the first unheld position-visible row commit, not MutationObserver delivery or the pre-hello transcriptReady flag.
Historical native archived attribution — pre-repair candidate, different pins
Candidate
5424defc6e5aae6693ae651b2bfb9677523e07d3versus maine097b687cc62658367f44b8ba903e47cef04a5f9, one diagnostic trace per arm on the prior quiet c7a.4xlarge. All 35 eligible text nodes link through paint nodes, BeginMainFrame, source/sequence/layer tree and presentation. Main's row-bearing frame was source 11 after earlier skeleton commits; candidate's was the first non-deferred source 0. This singleton's rows delta was −20 ms and does not replace the formal +23 ms estimate.Nested/parallel intervals are not additive; raster task wall is not hardware GPU time. Zero style/layout in the selected BMF means that work occurred elsewhere. Native image-decode and total layer/paint-op inventories were unavailable. The first complete commit carries substantially more raster work; the visibility latch adds no application wait. The cached-roster handoff remains because removing it previously regressed native hello/RPC scheduling.
Production size and ownership
Runtime +88 LOC across15 existing owners. The requested literal production-stat filter reports141 insertions/49 deletions = +92,17 files, because it also includes three browser-test lines and one test-allocation line. The full diff is22 files:15 runtime, five tests, one documentation page and one test allocation. No CHANGELOG edit.
Regression and documentation files:
ui/src/e2e/warm-join.e2e.test.ts,ui/src/app/router-outlet.browser.test.tsx,ui/src/components/sidebar-snapshot.test.ts,ui/src/pages/chat/session-snapshot-prewarm.test.ts,ui/src/pages/chat/route-snapshot.test.ts,docs/web/control-ui.md,config/test-lines-allocations/coldload-warm-join.txt.Growth above zero implements one parser admission/deadline and one existing-owner visibility latch, plus its required completion and immediate-release exits. It does not add a second visibility owner or wait for region work. The line breakdown names the contract requiring each positive delta.
Tests, review and CI
f091d3f7) focused proof on AWS cbx_9007c5d80885: 94 unit tests plus5 browser tests pass,12.01s combined external wall (11.27s wrapper wall). Boot composition, transcript prewarm, sidebar snapshots, roster warm boot and route-error handling.pnpm test ui/src/e2e/warm-join.e2e.test.ts --maxWorkers=1: 5/5 pass,55.26s external wall including build/setup (54.51s wrapper,37.50s Vitest duration). Joined frame, deadline fallback, stalled rendering deadline, route-error release and sidebar miss. These are test costs, not performance measurements. Fresh pinned-main replay on cbx_4f4fc8b4a294: three intended visibility/deadline assertion failures, two release passes,43.17s external wall; source/support restored clean. The stalled-timeout main case fails its earlier join-admission assertion, so that replay does not isolate the distinct old-timer repair.pnpm test ui/src/pages/chat/route-snapshot.test.ts --maxWorkers=1,4.453s wall). The original Node fixture reproduced20 failures plus a missing-document unhandled error; no assertions, mocks or timeouts were weakened. These are test costs, not performance results.node scripts/run-vitest.mjs <file> --maxWorkers=1):warm-boot.e2e.test.tsprofiles ona3f8ab0c: 6/6 runs pass (9 pass, 1 intentional skip each), imported profile included.dashboard-gallery.e2e.test.tsandlogs-scroll.e2e.test.tsona3f8ab0c: 2/2 runs each, all cases pass.warm-join.e2e.test.tsona3f8ab0c: 0/5 in both runs; all cases fail in setup on the unpolled boot-record check. A temporary poll showed the record appearing 109 ms later.f091d3f7, separate AWS c7a.4xlargecbx_4f4fc8b4a294, against pinned maindf13b6b8. The canonical unfiltered command covered 957/957 expected unique files, with zero missing or extra files: 3,590 passed / 13 failed / 5 intentional opt-in skips in 5,749.809 s (95m49.809s). File headers:946 exercised passes,7 failures,4 wholly skipped. Chromium, Firefox, WebKit and their OS dependencies were installed; private-safe checkout ancestry and the canonical two-worker configuration were retained. This is prior-head evidence, not current-head full-suite proof.--maxWorkers=1. Twelve original failure signatures reproduce exactly on main, normalizing only checkout prefixes. One remains candidate-only and unresolved: the imported-profile warm-boot test times out waiting for the initial cold.connect-splash, before cache persistence or warm reload; all10 main cases pass. A passing main replay does not erase the original failure or establish its cause. No candidate rerun or source repair followed the byte STOP. The raw native report and all seven baseline reports were independently checked against their hashes.chat-omitted-image-placeholder.e2e.test.tschat-subagent-waiting.e2e.test.tsnative-plugin-ui.e2e.test.tsquestion-flow.e2e.test.tsusage-sessions-owner-attribution.e2e.test.tswarm-boot.e2e.test.tsa3f8ab0cunder load; cold path does not admit the holdpages/cron/run-transcript.e2e.test.tsSerial changed-file checks on the same prior head completed in 876.979s: the only failed task was the known Control UI controller guard, subsequently fixed and passing in current-head CI. The other listed typechecks, lint, declaration/graph guards and Knip checks passed. The full-suite skips require opt-in proof/live fixtures; they are not missing-browser setup failures. The native JSON SHA256 is
d0787d55d023cd49f0352f2b903cc3e74304645cab5b61de7f07bf5b6709296f. Raw proof remains private. No current-head performance, census or full-suite result is substituted for this prior-head run.a3f8ab0c): lint, production and test types, and all three UI unit shards passed. Bytes failed on the old caps; lead decision 5 resolves that. Two UI e2e shards failed in untouched surfaces: the dashboard-gallery attribution count and WebKit 1440 px log-wheel reachability. Both files pass locally on the same head (above). Run 42615783623 on0d83fe3fpassed every UI e2e shard and failed only the size budgets, which lead decision 5 records.c978b05dcarries that budget commit.All timing, robustness, formal-visual and full-UI leases are released. The last full-UI lease was verified at2026-11-09T11:47:54Z as
released,hasHost=false,ready=false, cleanup complete; owned Node/browser processes and both monitors were absent. Its private66,173,663 B archive was downloaded and all4,539 member sizes/hashes verified. No local Gateway or shared browser was started this resume, and no real account was used.Follow-ups
The archived Team cached transcript temporarily omits the old page’s bottom “Team metric12” card in both main and candidate. It returns during later in-place restoration (around1.6s in the lead’s spot check; the root’s1.6s samples can still precede its return, and the final2.5–2.7s samples show it restored). This is a pre-existing snapshot-fidelity gap, outside L310; no fix is included here. The complete-cached-frame verdict above discloses that shared snapshot limitation.