Repository navigation
fix: new session URLs stay ID-only until reload - #185454
Conversation
Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 5bc39a5a-8b9e-4532-ad41-7a2af70bc1c7
|
🦞👀 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. |
Preserve stable session names and the updated title-preparation contract while retaining in-place URL synchronization. Refreshed production-browser and focused shell proof passed. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: f4a618e5-54cb-445c-af79-b9e7f74d7017
Implement the newly required session URL synchronization operation in the typed Gateway fixture. Preserve all retained-pane auth-selection assertions. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: cd4cd35f-33d6-413a-8ab4-8bf991282e05
|
Codex review: needs maintainer review before merge. What this changesUpdates the open conversation’s URL when its title arrives while preserving drafts, browser history, and pending identity resolution. Example: A new conversation receives the title “Node version requirements.”
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it fixes a current URL-update bug, and source review finds both prior findings addressed without new actionable defects. Exact-head CI remains pending. Priority: P2 Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherThe Control UI receives session title publications from the Gateway; its navigation owner combines the live title with the route loader’s committed session identity to replace the browser URL. flowchart LR
A[Gateway session publication] --> B[Session presentation]
B --> C[Shell navigation owner]
D[Route loader identity] --> C
C --> E[Connection scoped handoff]
E --> F[Router URL replacement]
F --> G[Retained chat pane]
Technical reviewBest possible solution: Use the existing navigation owner to update settled conversation URLs while the route loader retains provisional identity ownership. Do we have a high-confidence way to reproduce the issue? Current-main source shows title publications reaching tab-title synchronization without URL synchronization, and the PR supplies a focused red/green browser regression report; no target code was executed during this review. Is this the best way to solve the issue? The patch is a focused repair using existing presentation, navigation, handoff, and loader owners; its additional admission checks preserve the previously established prepared-route contract. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against bda683c27632. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +63, Tests +148, Docs +1. Total +212 across 10 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 HistoryReview history (1 earlier review cycle)
Reviewed October 27, 2026, 1:41 AM ET / 05:41 UTC (Revision 2). |
Read live names from the existing presentation roster, defer URL replacement to pending navigation and prepared/snapshot identity owners, and revalidate successful no-op confirmations. Preserve the established prepared-route and restored-outbox contracts. Scope the baseline toolbar CSS rule so catalog controls hide correctly away from hover or keyboard focus. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 16230a44-f6de-47a6-9720-7769aeb65431
Baseline catalog-header investigation — fixed upstreamThe catalog opacity failure reproduces on unmodified main The images below retain the earlier baseline investigation: an equivalent toolbar-scoped local candidate rendered in the actual production frontend with synthetic catalog data, light theme, and a 1440×900 viewport. Before restores only the original four-declaration CSS rule; After removes that override. The Sessions status control remains visible. These are historical baseline evidence, not a separate proposed visual change. Before After |
Keep the exact main stylesheet from #185473 and remove the duplicate CSS delta. Preserve the reviewed URL-admission fix. The refreshed candidate passes19 focused title, prepared identity, snapshot/outbox and catalog-hover browser cases plus UI typecheck and targeted lint. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: e61b9177-46c3-488c-8155-430991981110
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Keep route-semantic equality separate from URL eligibility. Refresh the latter without replaying deleted-session recovery, while preserving unconditional connection initialization. Cover deletion recovery before and after reconnect. Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 0846ddc1-e0a8-4ae5-8eaf-07f448ab9fd2
Co-authored-by: steipete <[email protected]>
Worked on by: - @steipete Co-authored-by: steipete <[email protected]> OpenClaw-Publication: a37d5274-3ece-4431-ba8e-153ebec80b10
Settle matching prepared route confirmation through its existing canonical location and ordinary replacement. Preserve draft consumption and live title updates without reloading the confirmed session. Release-note context: canonical short chat URLs keep early history and composer readiness while issuing one session resolution. Related: #185454.
Settle matching prepared route confirmation through its existing canonical location and ordinary replacement. Preserve draft consumption and live title updates without reloading the confirmed session. Release-note context: canonical short chat URLs keep early history and composer readiness while issuing one session resolution. Related: openclaw#185454.


What Problem This Solves
Fixes new conversations keeping an ID-only URL after their generated title arrives, until the browser is reloaded.
User Impact
The open conversation gets a descriptive URL without reloading, losing an unsent draft, or adding a browser-history entry. Query parameters, message anchors, dashboard/chat faces, short-reference lengths, and newer navigation are preserved. Prepared or cached conversations still wait for authoritative identity confirmation before their URL changes or queued messages are sent.
Why This Change Was Made
The session observer updated the tab title but did not notify the navigation owner. URL synchronization now uses the same live name presentation and the already committed session identity. The route loader keeps ownership while navigation, prepared identity, or snapshot admission is pending. A successful confirmation that needs no URL change revalidates that loader receipt so later title updates remain available. This preserves the intent of #149070.
Reported by @steipete.
Work sessions
Evidence
Investigated failures and proof limits
An extended sibling run passed 13 of 14 scenarios; the native-catalog older-page case displaced its painted anchor by 44 px. One unmodified run on baseline
20ef85f3acde0e2783c096f0dcd94c6520f3ccdcindependently reproduced the identical anchor, size and 44 px displacement. The relevant virtualizer, history-boundary and paint-probe sources are unchanged. The exact faulty ordering is not isolated; this is retained as preexisting, not claimed fixed or hidden by a passing replay. The same signature appears in cf4285c2 CI and eda84ef1 CI.The completed eda84ef run also failed Settings sidebar reopening and session-row alignment, while its owning unit checks passed. A bounded local eda replay passed all six alignment states but failed earlier in the Settings journey. One untouched-main d884 baseline replay passed all seven selected cases. Their tests/styles are unchanged and use non-short routes, but this does not establish their failure cause or qualify them as fixed. The no-op notification defect was separately proven red/green at the shell boundary; the passing sidebar replay after that repair is not claimed as a causal fix. No retries, weaker assertions or CI reruns are used to hide these failures. The new head must satisfy required CI before landing.
Browser evidence uses the real production frontend with synthetic Gateway I/O, not the deployed Team service. There is no rendered-appearance change or deployment in the final feature delta.
Worked on by