Skip to content

[Bug]: New thread sometimes stays on "Thinking" with a spinning send button after a quick first turn until reload #14046

Description

@Jardo-51

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. In the web app, create a new thread.
  2. Send a simple prompt that the agent finishes in a couple of seconds.
  3. Watch the composer and the thread timeline while the turn runs and after it ends.

Expected behavior

  • The send button turns red with a Stop icon while the turn runs.
  • The thread streams the agent's answer.
  • When the agent finishes, the send button returns to normal and the thread shows the complete answer.

Actual behavior

Sometimes the thread gets stuck:

  • The send button shows a spinning icon.
  • The thread shows "Thinking" but never renders any of the agent's response.
  • Nothing changes after the agent has finished replying. The thread stays in this state indefinitely.

Only a full app reload recovers it. After the reload the complete answer is shown and the composer is ready for another prompt. That means the server completed and stored the turn, and the client never applied the updates for it.

Impact

Major degradation or frequent failure

Version or commit

Observed on 0.0.43-nightly.20260926.2282 (6530de0339). It was not seen on 0.0.41-nightly.20260915.1766, but that is probably a coincidence rather than a regression. The trigger is browser storage eviction under low disk space, which started around the same time as the upgrade. See #14046 (comment).

Environment

Web app, Linux host, Claude provider

Logs or stack traces

No response

Screenshots, recordings, or supporting files

No response

Workaround

Reload the app.

Related issues and PRs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.via-triageFiled through npx t3 triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions