Repository navigation
fix(ui): preserve session pages and coordinate scoped gateway refreshes - #116772
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 31, 2026, 7:35 AM ET / 11:35 UTC. ClawSweeper reviewWhat this changesThis PR preserves loaded archived and all-session sidebar pages during matching Gateway updates, centralizes debounced scoped refreshes, and routes canonical global-session renames through the selected agent. Merge readiness⛔ Blocked until real behavior proof from a real setup is added - 3 items remain Keep this PR open for human review. The patch is a focused Control UI repair with targeted regression coverage and no concrete correctness defect found in the provided diff, but it still lacks inspectable after-fix evidence from a real connected Control UI and Gateway; the existing Priority: P2 Review scores
Verification
How this fits togetherThe Control UI receives session and presence events from the Gateway, then refreshes the sidebar’s session catalog and the active chat state. This change decides which events apply to the selected agent and filter, preserving visible pagination while preventing stale or unrelated Gateway events from changing the UI. flowchart LR
A[Gateway session and presence events] --> B[Scoped event subscription]
B --> C{Selected agent, filter, and connection match?}
C -- No --> D[Ignore stale or unrelated event]
C -- Yes --> E[Debounced single-flight refresh]
E --> F[Sidebar session catalog]
F --> G[Preserved loaded pages]
H[Chat session rename] --> I[Selected agent session patch]
Before merge
Agent review detailsSecurityNone. PR surfaceSource +293, Tests +400. Total +693 across 12 files. View PR surface stats
Review metricsNone. Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep the shared scoped coordinator and pagination-scope design, then add redacted evidence from a real Control UI connected to a Gateway showing a remote session update preserves loaded archived/all rows and ignores an unrelated or stale event. Do we have a high-confidence way to reproduce the issue? No high-confidence standalone current-main reproduction was provided. The new focused tests make the prior pagination and event-scope failure path source-reproducible, but they are not an inspectable real Gateway/UI reproduction. Is this the best way to solve the issue? Unclear. Centralizing debounce, maximum-wait, single-flight, and scope checks is a maintainable owner-boundary fix, but real connected-runtime proof is still needed to confirm it is the best complete solution. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 0d40cfbb538d. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
6aa374f to
1c7c510
Compare
|
Merged via squash.
|
* commit 'd8f229f2e6c39e2dc694730c2efc479e4fb3871e': (59 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* origin/main: (52 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* commit 'd8f229f2e6c39e2dc694730c2efc479e4fb3871e': (60 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
Co-authored-by: Peter Steinberger <[email protected]>
* commit '4e7fffdb98ce4d3e6fd69859bedd584cf474ec53': (59 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* origin/main: (52 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
* commit '4e7fffdb98ce4d3e6fd69859bedd584cf474ec53': (60 commits) fix(setup): isolate failed channel probes and report doctor diagnostics (openclaw#116824) fix(telegram): preserve edit previews, message cache, and group history (openclaw#116818) fix(whatsapp): preserve interactive replies and normalize media MIME (openclaw#116816) fix(file-transfer): keep fetched media attachable in sandboxed replies (openclaw#116400) fix(browser): preserve doctor JSON failure status (openclaw#116811) fix(ollama): stream native tool call lifecycle (openclaw#116809) fix(matrix): preserve message-tool room thread routing (openclaw#116802) fix(ui): restore mobile navigation and accessible usage filters (openclaw#116751) fix(ui): coalesce profile identity refresh (openclaw#116764) fix(ui): preserve chat attachments and run ownership (openclaw#116752) fix(plugins): clean up partial service startup once (openclaw#116804) fix(qa-channel): enforce message and thread lifecycle ownership (openclaw#116801) fix(qa-lab): support groups and isolate thread timelines (openclaw#116803) feat(plugins): externalize Voyage embeddings (openclaw#116785) fix(outbound): strip echoed inbound metadata before delivery (openclaw#50520) fix(anthropic-vertex): correct multi-region endpoints (openclaw#116757) fix(ui): scope agent cron jobs and surface model catalog failures (openclaw#116771) fix(ui): preserve scoped session state across updates (openclaw#116772) fix(build): fail closed on symlinked build output roots (openclaw#116705) fix(commands): validate native settings and preserve Telegram ingress outcomes (openclaw#116773) ...
Summary
Verification
git diff --checkpass.Root causes fixed
3 distinct session ownership, pagination, and concurrent event-refresh defects.