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 adds foreground Chromium capture and regional DOM milestones to the warm-reload proof rig. Example: Run the warm-reload diagnostic with --headed.
Review scores
ProductKind: Maintenance · Worth it: Yes · Fix scope: Partial 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 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe 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
Technical reviewBest 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
TestingProof path: none. SecurityNone. EvidenceWhat I checked:
PR surfaceDocs +8, Other +24. Total +32 across 4 files. Added test files: 0. 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
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 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.
ad28ba3 to
c00aff3
Compare
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; candidatec00aff3694168c0500824fceb25e553e5c60af3a. Same isolated Gateway, same AWS c7a.4xlarge leasecbx_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.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
Per-pair deltas (same warm sample index, AB/BA interleaved):
Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):
dashboard
Per-pair deltas (same warm sample index, AB/BA interleaved):
Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):
A/A active
chat
Per-pair deltas (same warm sample index, AB/BA interleaved):
Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):
Paired archived + dashboard
chat
Per-pair deltas (same warm sample index, AB/BA interleaved):
Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):
dashboard
Per-pair deltas (same warm sample index, AB/BA interleaved):
Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):
Paired active
chat
Per-pair deltas (same warm sample index, AB/BA interleaved):
Cold first-profile diagnostic (one sample per arm, not an 11-pair timing gate):
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.