Repository navigation
fix: keep personal desktop chats steady during reconnect - #208182
daniel-lxs merged 4 commits into
Conversation
Use known People facts before deferred Details discovery. Let the compact activity frame own the gap to standalone compaction without applying full-size avatar insets. Leave the browser assertions unchanged. Co-authored-by: daniel-lxs <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. |
|
Codex review: passed. What this changesThe PR remembers confirmed self-only People content in the existing conversation snapshot to preserve desktop chat geometry during reconnect. Example: Reload a personal conversation in Chromium at 1800 × 900.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR addresses a remaining personal-chat layout defect on current main; no actionable findings remain after the earlier effect-related blocker was repaired. Reviewed head: Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI combines Gateway session and membership facts with account-scoped browser snapshots to decide whether desktop Details has content and should occupy conversation space. flowchart TD
A[Gateway session facts] --> C[People display projection]
B[Membership read] --> C
D[Scoped conversation snapshot] --> C
C --> E[Desktop Details discovery]
E --> D
C --> F[People section]
E --> G[Header and conversation layout]
Technical reviewBest possible solution: Retain the confirmed display hint in the existing scoped snapshot while letting current membership, attribution, and session-generation facts determine visibility. Do we have a high-confidence way to reproduce the issue? Current-main source exposes self-only People before session facts settle, matching the supplied real-browser comparison; this read-only review did not execute the application. Is this the best way to solve the issue? The fix uses the existing discovery owner and snapshot lifecycle, preserves unknown and other-person attribution, and shares the visibility decision between discovery and rendering. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against f3d7932f1eb1. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +54, Tests +38. Total +92 across 9 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. 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 readiness starts with the lower of the proof and patch scores. It is capped at 3/6 if the fix is partial, the change offers little benefit, a product decision is still open, or the PR reverses an earlier decision without saying why. ✨ 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 (4 earlier review cycles)
Reviewed November 29, 2026, 6:10 PM ET / 23:10 UTC (Revision 5). |
Keep the last confirmed self-only People display result in the existing scoped pane cache without inferring identity from a single cached name. Keep a settled tool footer inside its compact line rather than reserving a full footer row. Co-authored-by: daniel-lxs <[email protected]>
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Use the header's known machine placement and shared session participants to present Details before background discovery finishes. Keep the existing desktop rule for empty sessions and the discovery rules for a possible self-only chat. Notify the parent without registering its setter's return value as a Solid cleanup. Let compact tool frames use the activity gap and keep their metadata alongside the restored operation. Exercise populated panels and real publication events in the browser fixtures. Distinguish an Environment summary from a full Review patch and count duplicate requests within each checkout or run. Require all three row-scoped readers to start after the initial chat.send. Includes repairs from #208172, #208179, #208182 and #208205. Co-authored-by: daniel-lxs <[email protected]> OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3 OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
Use the header's known machine placement and shared session participants to present Details before background discovery finishes. Keep the existing desktop rule for empty sessions and the discovery rules for a possible self-only chat. Notify the parent without registering its setter's return value as a Solid cleanup. Let compact tool frames use the activity gap and keep their metadata alongside the restored operation. Exercise populated panels and real publication events in the browser fixtures. Distinguish an Environment summary from a full Review patch and count duplicate requests within each checkout or run. Require all three row-scoped readers to start after the initial chat.send. Includes repairs from #208172, #208179, #208182 and #208205. Co-authored-by: daniel-lxs <[email protected]> OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3 OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
Use the header's known machine placement and shared session participants to present Details before background discovery finishes. Keep the existing desktop rule for empty sessions and the discovery rules for a possible self-only chat. Notify the parent without registering its setter's return value as a Solid cleanup. Let compact tool frames use the activity gap and keep their metadata alongside the restored operation. Exercise populated panels and real publication events in the browser fixtures. Distinguish an Environment summary from a full Review patch and count duplicate requests within each checkout or run. Require all three row-scoped readers to start after the initial chat.send. Includes repairs from #208172, #208179, #208182 and #208205. Co-authored-by: daniel-lxs <[email protected]> OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3 OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
Use the header's known machine placement and shared session participants to present Details before background discovery finishes. Keep the existing desktop rule for empty sessions and the discovery rules for a possible self-only chat. Notify the parent without registering its setter's return value as a Solid cleanup. Let compact tool frames use the activity gap and keep their metadata alongside the restored operation. Exercise populated panels and real publication events in the browser fixtures. Distinguish an Environment summary from a full Review patch and count duplicate requests within each checkout or run. Require all three row-scoped readers to start after the initial chat.send. Includes repairs from #208172, #208179, #208182 and #208205. Co-authored-by: daniel-lxs <[email protected]> OpenClaw-Publication: c0e2dc7b-db8d-4f6f-991c-d9e5021f71d3 OpenClaw-Publication: 48605718-55f9-4d15-9a0f-9f1e0f3e381c OpenClaw-Publication: 3c1d30d9-8521-4f29-8f22-a3a132bb4c3c
…very Integrate the shared-header and compact-footer fixes from main. Save the confirmed self-only display state in desktop discovery so a personal chat keeps its width on reconnect without adding People discovery to the chat boot path.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Keep membership generation checks and receipt writes in deferred Details discovery. Reuse the snapshot readers for the optional display hint and the existing conversation record fields.
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
…8182) Keep a personal chat’s header and conversation width stable on reconnect. Save its confirmed self-only People state during deferred desktop Details discovery and clear it when the session’s people change. Co-authored-by: daniel-lxs <[email protected]>
Related to #208444 and #205093.
What problem this solves
When a personal desktop chat reconnects, Details can briefly list the viewer as its only person. At 1180 px the button moves the sharing control 32 px. At 1800 px the People column takes 313 px from the conversation until the Gateway reconnects.
User impact
A personal chat that previously confirmed the viewer was its only person keeps its header and conversation width during reload. Details remains available when there is another person or something else to inspect. No user action or migration is required.
Why this change was made
After desktop Details discovery settles, it saves the confirmed self-only result in the existing account- and session-scoped conversation snapshot. Recording it here also works when the panel is closed. A pending membership read cannot establish that result, and evidence of another person takes precedence over it. The header keeps the early machine and shared-chat checks from #208444.
Evidence
Compared main
6568aaef6578with3931e270f434in Chromium against separate real Gateways on disposable AWS CrabBoxes. The browsers had read-only grants and used persisted synthetic conversations. Reconnect and delivery of the optional Details module were delayed without changing the Gateway replies.Existing conversations after upgrade
selfOnlyPeople. With the candidate’s Gateway connection held, Chromium restored the original messages, session ID, pagination and Details. After reconnect, the confirmed hint survived a write and reread. The v18 format requires no migration.Personal chat while reconnecting
Chromium at 1800 × 900, cropped to the same conversation header and transcript on both builds.
Main
PR
Clean captures
Main
PR
Contributor: @daniel-lxs
Work sessions
Discussion, implementation and verification (team access required).