Skip to content

[Bug]: Chat UI State Desync: Rendered messages do not match active session after route navigation #57072

@bbddbb1

Description

@bbddbb1

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

After navigating away from Chat and returning (via sidebar/top nav), the active session and rendered conversation can diverge.

Steps to reproduce

  1. Open Chat and select a non-default session (for example old).
  2. Send at least one message in that session.
  3. Navigate to another page (Overview/Sessions/etc.) using sidebar/top nav.
  4. Return to Chat from navigation.
  5. Observe mismatch: selected session remains old, but bubbles may show main/heartbeat history.

Expected behavior

When returning to Chat, the rendered messages must always correspond to the currently selected session key/sessionId.

Actual behavior

Chat history can show a different session than the selected one.

OpenClaw version

v2026.3.28

Operating system

24.04

Install method

No response

Model

NA

Provider / routing chain

NA

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingregressionBehavior that previously worked and now fails

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions