Repository navigation
Conversation
Keep the scoped cached sidebar until live roster and expanded-child reads settle, removing the three-second partial-display escape path. Retain the sidebar owner when native layout reparents its host in the same turn. Skip ordinary rows in wholly offscreen categories while preserving height and current selection/focus retention during queued geometry updates. Extend real-Gateway warm reload proof with grouped, involving-me settings, personal pins, retained children and archived nondefault-agent deep links.
|
🦞👀 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 changes before merge. What this changesThis PR extends warm-reload diagnostics and changes sidebar handoff, host retention, and offscreen row rendering. Example: An expanded child-session query takes more than three seconds during a warm reload.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Partial Merge readiness⛔ Needs changes before merge - 2 items remain Keep this maintainer-directed experiment open and honor its do-not-merge hold; two shared-fixture regressions need correction before landing. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe Control UI sidebar combines scoped browser snapshots with Gateway session lists; the performance rig seeds synthetic state and records browser reload behavior. flowchart LR
A[Synthetic fixture] --> B[Isolated Gateway]
B --> C[Session owners]
D[Browser snapshot] --> E[Sidebar owner]
C --> E
E --> F[Windowed sidebar]
F --> G[Reload diagnostics]
Technical reviewBest possible solution: Preserve the shared network-proof fixture contract while proving first-frame admission through the existing snapshot and layout owners. Do we have a high-confidence way to reproduce the issue? The shared-fixture failures follow directly from unchanged identity lookup and composer requirements; the original first-frame sidebar problem was not independently reproduced during this read-only review. Is this the best way to solve the issue? The runtime patch uses existing owners with little machinery, but its shared fixture must preserve each consumer's agent and writable-session requirements. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 828b81ad1f94. Provenance checked
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +6, Tests +71, Docs +6, Other +206. Total +289 across 15 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
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 October 31, 2026, 6:03 PM ET / 22:03 UTC. |
Outcome
Experiment only; do not merge. The candidate failed the pre-declared performance gate and will not be promoted to ready. No candidate runtime change was committed or pushed to this branch.
Problem and attribution
A signed-in warm reload can mount the transcript before cached sidebar admission and section-window geometry have published row content. The saved scope and agent were accepted in the instrumented reproduction; section hosts existed while their admitted row set was empty. The candidate joined the existing cache-admission promise for exact warm links and flushed the existing shared read-before-write geometry batch in a microtask for cached rows. Live updates retained animation-frame batching. No config, store, schema, or protocol change was needed.
Evidence
Fixed AWS c7a.4xlarge, pinned headless Chromium, real isolated Gateway, synthetic 3,000-session Team-shape fixture with nondefault agent, involving-me/category/created settings, 97 groups, 102 section-order entries, five collapsed sections, previews disabled, two pins and eight expanded retained parents. The sidebar reload projection changes in #189791 are common to both arms. Eleven interleaved pairs were captured per route, with a separate eleven-pair A/A control per route.
The native first-transcript-frame assertion fails in all three baseline cases and passes in all three candidate cases. Layout-measurement contracts pass 10/10; warm-route contracts pass 8/8. Independent review is clean through P2. Candidate runtime delta is +10 lines across four existing owners, with +19 net test lines.
Chat LoAF IQRs are separated: 179.1–206.9 ms versus 256.2–281.3 ms. The A/A LoAF control has a -4.9 ms paired median with mixed signs and overlapping IQRs (182.9–208.6 ms versus 185.7–213.6 ms). Thus moving geometry earlier fails the blocking-time gate despite faster DOM admission and hello.
The uninstrumented comparison did not reproduce the historical empty first-surface baseline: both arms have populated visible sidebar rows in 11/11 first delivered app surfaces on both routes. All 357 original warm sidebar/header crops were exact-pixel classified against 36 inspected native-resolution states, and full first-app montages were inspected. Artwork still fills later in both arms. Compositor surfaces do not certify every display vsync; DOM readiness and FCP cutoffs were not substituted for visible pixels. No visible first-frame improvement is claimed.
Connect is the first RPC and one document loads in all 44 candidate-comparison warm runs. Full UI e2e, changed-file checks and candidate CI were not run after the measurement failure. This draft served only as the trusted remote-clone entry point; its committed diff contains the common experiment setup, not the rejected candidate. Synthetic captures and the complete per-pair report remain local. No private captures were uploaded.