Repository navigation
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: needs maintainer review before merge. What this changesThis PR extends the warm-reload proof rig with a tall dashboard transcript fixture, scroll geometry samples, and bottom-paragraph paint timing. Example: Run the diagnostic with --dashboard-end-anchor and --transcript-late-paint.
Review scores
ProductKind: Test only · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open as an explicitly non-merging draft experiment; the diagnostic work is coherent, and no discrete introduced defect was found. Priority: P3 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe local diagnostic seeds synthetic state, launches an isolated built Gateway and Chromium, and exports reload frames and measurements for inspection. flowchart LR
A[Diagnostic options] --> B[Synthetic fixture]
B --> C[Isolated Gateway]
C --> D[Chromium Control UI]
D --> E[Geometry and paint probes]
D --> F[Captured frames]
E --> G[Evidence report]
F --> G
Technical reviewBest possible solution: Use the existing proof rig to establish the failing baseline before selecting a minimal change in the existing transcript scroll or layout owner. Do we have a high-confidence way to reproduce the issue? The report specifies a concrete narrow-pane workload and acceptance thresholds, but it explicitly says browser reproduction is pending; source inspection alone does not establish the first-painted scroll jump. Is this the best way to solve the issue? Extending the existing isolated Gateway proof rig is a focused way to investigate the reported behavior, and the diff preserves the ordinary workload without adding a competing runtime owner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against a57eec47b7e5. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceDocs +10, Other +110. Total +120 across 4 files. Added test files: 0. View PR surface stats
Review metrics
LabelsLabel 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 Reviewed November 1, 2026, 10:02 AM ET / 15:02 UTC. |
c20b663 to
cb62240
Compare
Current candidate: #190589 (ready for review), head
23ddc914627969e99268fa546b56b87b62d1786a. GitHub refused to reopen this closed experiment, so the measured fix continues on the same branch in that PR. Its body contains the final-head 11-pair comparison, A/A control, attribution, and synthetic captures. Full UI and exact-head CI validation are in progress there.What Problem This Solves
Fixes the extra warm-reload delay before an already placed dashboard-side conversation becomes visible. The campaign's original signed-in dashboard deep-link capture recorded 14 visual states over roughly 15 seconds; this change targets the smaller transcript reveal delay reproduced by the current cached-page fixture.
User Impact
Initially open desktop side surfaces show their placed content immediately. They stop replaying an entrance fade on reload. Existing geometry transitions and the transcript's measured reading-edge placement remain with their current owners. This changes the initial appearance of desktop side content and headers, including cold mounts; no settings or migration are required.
Why This Change Was Made
The dashboard conversation lives in
data-region="side", while ordinary chat uses the main region. The desktop rule inui/src/styles/chat/startup-layout.css:1458–1481starts side content and headers at zero opacity, then transitions through the 280 ms desktop-frame motion. #176356 introduced that entrance effect. It hides cached rows after the virtualizer has already measured and placed them.Delete the four-line
@starting-styleblock at that owner. #170662's committed-range and reading-position reveal checks inchat-transcript-layout-solid.tsxandchat-transcript-virtualizer-host.tsare unchanged. There is no plugin gate, new cache fact, protocol/config change, or persisted-shape change.The native proof fixture retains the narrow dashboard pane, tall complete reply, collapsed activity, trailing hidden messages, nondefault sidebar settings, bundled Workboard, and synthetic theme/board plugins with lazy chunks on both asset routes. Its paused synthetic viewers now await their actual session-viewer declaration acknowledgement before pausing; one initial preparation failure exposed that fixture race. All preparation is outside the measured reloads.
Evidence
One quiet AWS c7a.4xlarge throughout the A/A and A/B comparison, pinned Playwright Chromium 156.0.8078.4, native Gateway with 3,000 synthetic sessions, signed-in admission, 80 ms CDP shaping, eleven interleaved AB/BA pairs per route, unprofiled 5-second captures. The measurement source is
7c50fe085aa1plus the CSS deletion and the peer-preparation correction; UI bundles are frozen independently of the runner. No diagnostic constructor hook is present in either timed UI bundle.Diagnostic-only per-frame probes found the measured range committed and end-anchored before the hold, with final pane and row dimensions. In three dashboard reloads the owner cleared visibility at 477–537 ms, but the first nonzero ancestor-opacity sample appeared at 625–784 ms; the comparable chat samples were immediately nonzero. No geometry changed during the hold. These probes were removed before controlled timing.
DOM sample times below are explicitly DOM milestones. They are not substituted for compositor first-pixel measurements. Warm baseline dashboard Element Timing entries can be absent under the ancestor fade; raw PNGs are retained and inspected separately. Missing paint entries remain unavailable.
Baseline/candidate
Times in ms except CLS; medians [Q1, Q3]. Deltas are candidate minus baseline, paired by interleaved index.
Baseline/candidate: all per-pair deltas
chat
dashboard
A/A control
Times in ms except CLS; medians [Q1, Q3]. Deltas are candidate minus baseline, paired by interleaved index.
A/A control: all per-pair deltas
chat
dashboard
Dashboard primary passes in this initial comparison with separated IQRs and 11/11 earlier pairs: visible DOM 681.23 → 489.79 ms (median paired delta −193.22 ms). Its post-row-settle hold falls from a 164.5 ms median to effectively 0 ms. Both routes retain final reading position, pane size, and row height at reveal in 11/11 pairs. Dashboard is at distance-from-end 0 px, with a 6410.5 px assistant group and 320 × 1341 px pane; every visible sample retains those values. Complete 4311-character reply hashes match between arms, without truncation or browser errors. All 44 warm A/B reloads use one document. Snapshot growth is 0% on both routes.
No secondary meets the campaign regression rule. Chat FCP rises 12.02 ms in unpaired median (+13.02 ms paired), with overlapping IQRs and 8/11 worse signs; A/A also has 7/11 worse signs. Chat visible DOM is 9.10 ms earlier in median with mixed signs. Dashboard LoAF rises 5.4 ms in unpaired median but has a −14.1 ms median paired delta and mixed signs. These overlapping changes are reported as noise. Dashboard baseline Element Timing is unavailable; candidate bottom-paragraph entries are present in 11/11, so no paired first-pixel claim is made.
Synthetic visual proof: the attached before image is the baseline's 598.52 ms compositor frame, after its 501.61 ms final-row DOM sample but while the side pane remains blank. The after image is the candidate's 533.57 ms frame, after its 489.79 ms placed/visible DOM sample, with the end-anchored reply visible. These are actual independently captured frames, not resampled to a common timestamp. The full captures were inspected; all content is synthetic. Board widget readiness is outside this transcript change.
Scope and growth: UI runtime −4 LOC. The prescribed non-test/non-doc diff is +368/−32, net +336 lines, because this lane adds the requested native tall-row/plugin fixture, observations, and acknowledged-viewer setup. No application machinery is added. The focused stylesheet regression adds 28 lines and a separate exact 28-line allocation: existing settled-layout tests miss an initial opacity fade. The shared test baseline is unchanged. The original large responsive-layout file remains unchanged after the line-cap hook correctly rejected adding to it.
Focused validation and review:
pnpm test ui/src/styles/sidebar-region.browser.test.ts --maxWorkers=1passes 1/1 in 2.70 s runner wall time (585 ms Vitest). The original CSS fails the same test with opacity 0 instead of 1. The 62 existing responsive-layout cases also passed during focused coverage. Independent autoreview of the complete staged range through P2 is scoped-clean. One review caught the old index copy of the already corrected peer preparation; the final staged review includes that correction and the focused test placement.Remote proof: A/A run
run_72280877050cc13e773c2c4ec7067f66completed every pair, then the first A/B preparation failed before warm samples on the paused-viewer race described above. Corrected A/B runrun_3d4933b9f23d6b0d010f58d34a012252completed successfully. Both used leasecbx_8cc95ca26e20, AWS c7a.4xlarge; pre-capture CPU idle 90.16% / 93.06%. The native rig stopped its Gateways and browsers; the lease is verified released. No private captures or real operator state were used.Final head:
52ea2cd42691789b32d82a7e794ed8c85517d6fb, rebased ontodb7373889b7b, now includes #190251's warm pane chrome facts. A fresh final-head A/A and A/B comparison, changed checks, focused native dashboard e2e, full UI e2e, and exact-head CI are pending. The initial measurements above are explicitly from the earlier pinned source, not claimed as final-head proof. This body will be updated with those results before handoff. Do not merge.