claude-code - 💡(How to fix) Fix [VSCode Extension] Add stall detection and auto-retry settings for hung AI responses [1 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
anthropics/claude-code#53233Fetched 2026-04-26 05:20:58
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×4

Fix Action

Fix / Workaround

Summary / 概要

The Claude Code VSCode extension occasionally hangs while waiting for an AI response. The current workaround is to stop the request manually and re-send a short prompt (e.g. "go" / "動け") to make it resume. Please add configurable stall-detection and auto-retry settings so users don't need this manual workaround.

Workaround currently used

Manually click stop, then send a short prompt like "動け" / "go" to unstick the session.

RAW_BUFFERClick to expand / collapse

Summary / 概要

The Claude Code VSCode extension occasionally hangs while waiting for an AI response. The current workaround is to stop the request manually and re-send a short prompt (e.g. "go" / "動け") to make it resume. Please add configurable stall-detection and auto-retry settings so users don't need this manual workaround.

VSCode拡張でAIレスポンスが返ってこずハング状態になることが頻発します。 現状は手動で停止 → 短いプロンプト (「動け」等) を送ると再開しますが、 これを設定で自動化できるようにしてほしいです。

Proposed settings / 提案する設定

Add the following to extension settings (settings.json):

KeyTypeDefaultDescription
claude.response.stallTimeoutMsnumber60000No-token-received時間がこの値を超えたらストール扱い
claude.response.autoRetrybooleanfalseストール検知時に自動で再リクエスト
claude.response.maxRetriesnumber2自動リトライの最大回数
claude.response.showResumeButtonbooleantrueツールバーに手動「Resume」ボタンを表示

Expected behavior / 期待動作

  1. レスポンスのストリーミングトークンが stallTimeoutMs 経過しても 届かない場合、拡張がストール状態を検知。
  2. autoRetry: true なら直前のリクエストを maxRetries まで自動再送。
  3. autoRetry: false でも、ステータスバー or チャットUIに 「Resume」ボタンを表示しワンクリックで再開できる。

Environment / 環境

  • OS: Windows 11 Pro 26200
  • VSCode: <vscodeのバージョン>
  • Claude Code Extension: <拡張のバージョン>
  • Model: claude-opus-4-7 (1M context)

Related issues / 関連

  • #25976 (MCP server infinite hang)
  • #41031 (VSCode freezes since 2026-03-29)
  • #51732 (Windows "Query closed before response received")

Workaround currently used

Manually click stop, then send a short prompt like "動け" / "go" to unstick the session.

extent analysis

TL;DR

Implementing configurable stall-detection and auto-retry settings in the Claude Code VSCode extension can help mitigate the hanging issue.

Guidance

  • Add the proposed settings to the extension settings (settings.json) to enable stall detection and auto-retry functionality.
  • Set claude.response.stallTimeoutMs to a suitable value (e.g., 60000) to detect stalls after a certain time period.
  • Enable claude.response.autoRetry to automatically retry the request when a stall is detected, and set claude.response.maxRetries to a reasonable number (e.g., 2).
  • Verify that the "Resume" button is displayed in the status bar or chat UI when autoRetry is false, allowing users to manually resume the session.

Example

No code snippet is provided as it is not explicitly mentioned in the issue.

Notes

The proposed solution relies on the implementation of the configurable settings and the correct functioning of the stall detection and auto-retry mechanisms.

Recommendation

Apply the workaround by implementing the proposed settings, as it provides a more automated and user-friendly solution to the hanging issue.

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

claude-code - 💡(How to fix) Fix [VSCode Extension] Add stall detection and auto-retry settings for hung AI responses [1 participants]