Repository navigation
fix(ui): retain reconnect titles and correct touch-test timing - #178510
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 preserves observed conversation titles during reconnect and lets Chromium pace the native touch-scrolling regression. Example: The pane has observed the conversation “Observed conversation,” but its displayed roster temporarily contains no matching row.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR addresses a current title-resolution gap and contributes distinct touch-test timing repairs; no actionable introduced defect was found. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI combines retained roster rows, pane-scoped session observations, and cached transcript metadata into conversation titles; its browser fixture checks native scrolling through embedded widgets. flowchart TD
A[Gateway session metadata] --> B[Retained roster]
A --> C[Scoped session observation]
D[Cached transcript metadata] --> E[Header title resolver]
B --> E
C --> E
E --> F[Conversation header]
Technical reviewBest possible solution: Retain the scoped title fallback and native gesture pacing, consolidating equivalent title work when the overlapping PRs land. Do we have a high-confidence way to reproduce the issue? Source exposes the missing observation fallback after cached metadata retires, and the linked report supplies a matching browser trace; this read-only review ran no target code. Is this the best way to solve the issue? The change repairs the existing display owner without new state or requests, and Chromium-owned gesture timing removes the fixture’s conflicting synthetic clock while preserving its behavioral checks. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against e12719836f8e. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +1, Tests +56. Total +57 across 3 files. Added test files: 0. View PR surface stats
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:
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 20, 2026, 11:51 AM ET / 15:51 UTC. |
…law#178510) Preserve observed session titles during reconnects. Use native touch gestures in scroll coverage and report event diagnostics when the release-distance assertion fails.
What Problem This Solves
Known conversation titles can briefly change to “New session” during reconnect. Separately, the native touch-scrolling test can stall on loaded runners because its synthetic timestamps diverge from actual input delivery.
User Impact
Conversation titles remain stable during reconnect. The scrolling test exercises native drag and inertia consistently without changing product scrolling behavior.
Why This Change Was Made
The title uses the existing current-session observation when the displayed list has no matching row, retaining list precedence and identity checks.
The touch fixture delegates gesture timing to Chromium. Its existing assertions remain, with an additional total-distance check that prevents delayed drag updates from counting as inertia.
Evidence