Code mode hangs silently on all models and sessions on Windows desktop app after May 4 Opus 4.7 incidents
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?
On the Claude Code Windows desktop app, Code mode hangs indefinitely on every prompt -
<img width="2056" height="1478" alt="Image" src="https://github.com/user-attachments/assets/c344abcc-2005-4fa8-b44a-2a9bddbea2d7" />
<img width="2664" height="1910" alt="Image" src="https://github.com/user-attachments/assets/16a037ec-c377-4b58-a39c-0593861481cc" />
<img width="2866" height="1876" alt="Image" src="https://github.com/user-attachments/assets/533d89d1-d53a-4d83-8219-79f7f0ce8918" />
no response, no error, just a spinning indicator (✻). Affects:
- All models tested (Opus 4.7, Sonnet 4.6, Haiku 4.5)
- All sessions, including brand-new ones with a one-word "Hello"
- Persists through full app quit + relaunch
- Persists through sign out + sign back in (this fixed it briefly, then symptom returned)
Chat mode in the same desktop app works normally on the same models.
Network is healthy: curl.exe -I https://api.anthropic.com returns HTTP/1.1 404 from Cloudflare in <1s.
Account is in good standing: well under Max plan usage limits.
On the latest version of Claude Code (verified via Help → About → "You are running the latest version").
One additional symptom: at one point an existing session returned the error "No conversation found with session ID: 98df04f3-69a8-4b6f-b1e3-774209f4c24d", suggesting some sessions may be orphaned server-side.
Timeline: Symptoms began on May 4, 2026, around the time of the two Opus 4.7 incidents (resolved at 14:33 UTC and 14:45 UTC per status.claude.com). Sign-out/sign-in temporarily resolved Code mode for one prompt, then reverted to silent hangs.
What Should Happen?
Claude Code should stream a response within seconds of submitting a prompt, the same way Chat mode does on the same machine, account, and models. A simple "Hello" should produce a greeting reply.
Error Messages/Logs
Most prompts produce no error — Code mode just hangs silently with the ✻ spinner, indefinitely.
The one explicit error encountered, after sign-out/sign-in, when trying to retry a prompt in an existing session:
Claude couldn't process that message
Try sending your message again.
No conversation found with session ID: 98df04f3-69a8-4b6f-b1e3-774209f4c24d
This suggests some session IDs are orphaned server-side. However, the silent-hang behavior also occurs in brand-new sessions that have never errored, so the orphan issue may be a symptom rather than the root cause.
Steps to Reproduce
- Open Claude Code desktop app on Windows (latest version)
- Click "+ New session", select a folder
- Switch to Code mode (Code tab at top)
- Type "Hello" and press Enter
- Observe: prompt submits, ✻ indicator appears, no response ever streams
Repeat with any model (Opus 4.7, Sonnet 4.6, Haiku 4.5) - same result.
Switching to Chat mode in the same app works normally.
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
5/2/2026
Claude Code Version
Desktop app (Windows). CLI not installed (claude --version: command not found). Help → About reports "running the latest version" but the build does not expose a version number in the UI.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
Debugging steps already attempted (none resolved the issue durably):
- Restarted prompt with /doctor — command not available in this build
- Started new sessions in the same project folder — same hang
- Switched models: Opus 4.7 → Sonnet 4.6 → Haiku 4.5 — same hang on all
- Fully quit and relaunched the desktop app — same hang
- Verified network: curl.exe -I https://api.anthropic.com returns HTTP/1.1 404 (Cloudflare) in under 1s
- Signed out and signed back in — Chat mode resumed working immediately; Code mode worked for a short window then reverted to silent hangs
- Verified usage on claude.com/settings/usage — well under Max plan limits
- Help → Check for updates → "You are running the latest version"
Status page (status.claude.com) shows two related incidents on May 4, 2026:
- Elevated errors on Claude Opus 4.7 (resolved 14:33 UTC)
- Elevated errors on Claude Opus 4.5 and Sonnet 4.5 (resolved 14:45 UTC)
My symptoms began around the same window and persist after both incidents were marked resolved. I suspect either a stale auth/session state on the server side that survives sign-out, or a Code-mode-specific routing path that didn't fully recover from the incident.
Happy to provide additional logs, account ID, or a Feedback ID if needed.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗