claude-code - 💡(How to fix) Fix [Bug] Claude Code performance degradation affecting Opus and Sonnet models [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#46218Fetched 2026-04-11 06:26:02
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3closed ×1

Error Message

[{"error":"Error: Request was aborted.\n at JS$ (/$bunfs/root/src/entrypoints/cli.js:1248:11933)\n at next (native:1:11)\n at Rx7 (/$bunfs/root/src/entrypoints/cli.js:7840:9194)\n at next (native:1:11)\n at xx7 (/$bunfs/root/src/entrypoints/cli.js:7845:11444)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T10:36:48.107Z"},{"error":"Error: Request was aborted.\n at JS$ (/$bunfs/root/src/entrypoints/cli.js:1248:11933)\n at next (native:1:11)\n at Rx7 (/$bunfs/root/src/entrypoints/cli.js:7840:9194)\n at next (native:1:11)\n at xx7 (/$bunfs/root/src/entrypoints/cli.js:7845:11444)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:10:56.508Z"}]

Code Example

[{"error":"Error: Request was aborted.\n    at JS$ (/$bunfs/root/src/entrypoints/cli.js:1248:11933)\n    at next (native:1:11)\n    at Rx7 (/$bunfs/root/src/entrypoints/cli.js:7840:9194)\n    at next (native:1:11)\n    at xx7 (/$bunfs/root/src/entrypoints/cli.js:7845:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T10:36:48.107Z"},{"error":"Error: Request was aborted.\n    at JS$ (/$bunfs/root/src/entrypoints/cli.js:1248:11933)\n    at next (native:1:11)\n    at Rx7 (/$bunfs/root/src/entrypoints/cli.js:7840:9194)\n    at next (native:1:11)\n    at xx7 (/$bunfs/root/src/entrypoints/cli.js:7845:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:10:56.508Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Sonnet is stuck in some kind of dunce-loop I described a bug that it introduced, provided reasonably clear instructions and expectations, but it continues to go through the following loop:

  • thinking for 15-30 minutes, never saying anything and not reporting the token count other than a few hundred tokens at beginning and end of these lengthy bouts of "thinking"
  • It gets compacted, after which it continues "thinking" for a while
  • Eventually it claims to have the "solution", which it proceeds to implement without asking for permission
  • Its "solution" is literally the thing that I told it was the problem
  • I call it out
  • Again, it spends almost 30 minutes "thinking", and gets compacted
  • It "thinks" for a while longer and eventually comes back with the "solution"
  • It again does not ask for confirmation and just starts making changes
  • The "solution" that it implemented was again to double down on the very thing it was supposed to be fixing
  • I call it out, it starts thinking...

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.98
  • Feedback ID: 7595e874-615e-48bd-8ee1-b6216920b0d5

Errors

[{"error":"Error: Request was aborted.\n    at JS$ (/$bunfs/root/src/entrypoints/cli.js:1248:11933)\n    at next (native:1:11)\n    at Rx7 (/$bunfs/root/src/entrypoints/cli.js:7840:9194)\n    at next (native:1:11)\n    at xx7 (/$bunfs/root/src/entrypoints/cli.js:7845:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T10:36:48.107Z"},{"error":"Error: Request was aborted.\n    at JS$ (/$bunfs/root/src/entrypoints/cli.js:1248:11933)\n    at next (native:1:11)\n    at Rx7 (/$bunfs/root/src/entrypoints/cli.js:7840:9194)\n    at next (native:1:11)\n    at xx7 (/$bunfs/root/src/entrypoints/cli.js:7845:11444)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-10T11:10:56.508Z"}]

extent analysis

TL;DR

The issue can be mitigated by rephrasing the problem description to avoid ambiguous instructions that might cause Sonnet to enter an infinite loop.

Guidance

  • Review the problem description for any ambiguous or unclear instructions that might be causing Sonnet to misinterpret the task.
  • Verify that the expected outcome is clearly stated and easy to understand.
  • Consider breaking down the problem into smaller, more manageable tasks to help Sonnet avoid getting stuck in a loop.
  • Check the provided errors for any clues about what might be causing the issue, such as request timeouts or aborts.

Example

No code snippet is provided as the issue does not imply a specific code-related fix.

Notes

The issue seems to be related to the way the problem is described, rather than a technical issue with Sonnet itself. The errors provided suggest that requests are being aborted, which could be related to timeouts or other issues.

Recommendation

Apply workaround: Rephrase the problem description to make it clearer and more concise, and break down the task into smaller steps if possible. This may help Sonnet avoid getting stuck in an infinite loop.

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