openclaw - 💡(How to fix) Fix [Bug] webchat 2026.5.18: phantom 'In progress' state after turn completes — UI not syncing idle on turn completion [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#84345Fetched 2026-05-20 03:41:18
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
1
Author
Timeline (top)
labeled ×2closed ×1commented ×1

In 2026.5.18, the webchat UI shows a persistent "In progress" state (animated ••• typing indicator + red Stop button + "In progress" toolbar badge) after a turn completes and the agent is fully idle. The agent confirms it has no active processes, subagents, or queued work — the state is phantom.

Root Cause

In 2026.5.18, the webchat UI shows a persistent "In progress" state (animated ••• typing indicator + red Stop button + "In progress" toolbar badge) after a turn completes and the agent is fully idle. The agent confirms it has no active processes, subagents, or queued work — the state is phantom.

RAW_BUFFERClick to expand / collapse

Summary

In 2026.5.18, the webchat UI shows a persistent "In progress" state (animated ••• typing indicator + red Stop button + "In progress" toolbar badge) after a turn completes and the agent is fully idle. The agent confirms it has no active processes, subagents, or queued work — the state is phantom.

Build

OpenClaw 2026.5.18 (50a2481)

Reproduction

  1. Send a message to the agent in webchat
  2. Agent replies and completes the turn (no tool calls pending, no subagents running)
  3. The ••• typing indicator reappears beneath the last reply bubble
  4. The toolbar shows "In progress" badge and red Stop button
  5. /stop prompt is not accepted / does not clear the state

Additional context

  • Occurs reproducibly in this session — happened at least twice (15:10 PDT and 15:29 PDT)
  • Hard refresh (Cmd+Shift+R) clears the phantom state each time
  • Agent-side confirms idle: process list = no sessions, subagents list = 0 active
  • The "In progress" UX indicator is a new addition in this build — the phantom state appears tied to it
  • Prior builds did not show this behavior
  • Each time the user reports it, the agent can immediately confirm idle state, suggesting the WebSocket session state is correct but the UI render layer is not syncing on turn completion

Impact

Accurate idle state visibility matters for operator trust and workflow — if the UI shows "in progress" the operator doesn't know whether to wait or send a new message. The Stop button going red also creates unnecessary friction.

Suggested investigation

  • Check whether the new "In progress" indicator subscribes to a different session-state event than the previous turn-completion signal
  • Verify WebSocket turn_complete / session_idle events are firing and being consumed by the UI state machine on all turn types (including short/fast replies)

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 [Bug] webchat 2026.5.18: phantom 'In progress' state after turn completes — UI not syncing idle on turn completion [1 comments, 2 participants]