openclaw - 💡(How to fix) Fix Control UI: Session dropdown shows deleted sessions [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#78315Fetched 2026-05-07 03:38:19
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Timeline (top)
closed ×1commented ×1
RAW_BUFFERClick to expand / collapse

Bug Description

After deleting a session (via CLI or UI), the Control UI session selector dropdown still displays the deleted session until a hard refresh (Cmd+Shift+R / Ctrl+Shift+R).

Steps to Reproduce

  1. Open Control UI at http://127.0.0.1:18789/
  2. Open the session selector dropdown in the top bar
  3. Select and delete a session (e.g., via `openclaw sessions delete <id>` or UI delete button)
  4. Reopen the session selector dropdown
  5. Expected: Deleted session should no longer appear
  6. Actual: Deleted session is still visible in the dropdown

Environment

  • OpenClaw version: v2026.5.4
  • macOS Darwin 25.3.0 (arm64)
  • Node: v22.22.0
  • Gateway: LaunchAgent on port 18789

Additional Context

  • The session is correctly deleted from storage (confirmed via `sessions.list` API)
  • The issue is purely UI-side — the dropdown cache/state is not invalidated after delete
  • A hard page refresh (Cmd+Shift+R) clears the stale entry, suggesting it is a client-side state management issue
  • This may be related to how `sessions.subscribe` push updates are handled by the session selector component

Suggested Investigation

  • Check if the session selector component properly handles the `sessions.subscribe` delete event
  • Verify that the dropdown list is re-rendered or the relevant entry is removed from local state on delete
  • Look for missing state invalidation after `sessions.delete` RPC completes

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Control UI: Session dropdown shows deleted sessions [1 comments, 2 participants]