[BUG] Claude Code gets stuck on “Thinking…” indefinitely in long-running projects

Status Open
Reported on v2.1.245
Maintainer reply None cached
Activity 0 comments · opened Aug 25, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Claude Code gets stuck on “Thinking…” indefinitely and never returns a response.

This only happens in projects I have been actively working on for several days. In these older projects, even sending a simple message like “hi” can cause Claude Code to think indefinitely.

However, completely new projects work normally. My internet connection is working, and I am not using a VPN or proxy. This makes me suspect the issue may be related to accumulated project context, session history, or project state.

What Should Happen?

Claude Code should respond normally regardless of how long a project has been active or how much previous context or history it contains.

Error Messages/Logs

No explicit error message is shown. Claude Code remains stuck on “Thinking…” indefinitely.

Steps to Reproduce

  1. Work on a project with Claude Code for several days and accumulate significant project/conversation history.
  2. Open the same project in VS Code.
  3. Send a simple prompt such as “hi”.
  4. Observe that Claude Code gets stuck on “Thinking…” indefinitely and does not return a response.

Note: Creating or opening a completely new project does not appear to have this issue.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.245

Platform

Other

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗