[Bug] CLI input lag in extended sessions with high context utilization
Status Fixed / completed
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 3 comments · opened Dec 19, 2025 · closed Dec 19, 2025
Bug Description
Performance issue: CLI input lag after extended sessions
- After ~30+ interactions in the same context window, typing becomes very slow with noticeable delay
- Context usage at time of issue: ~64% (128k/200k tokens)
- The lag is in the input field itself, not in response generation
- Workaround: starting a new session resolves the issue
- OS: Linux 6.1.0-40-amd64
Environment Info
- Platform: linux
- Terminal: gnome-terminal
- Version: 2.0.72
- Feedback ID: de37b920-12f5-49c3-b5e7-404a21ab0902
Errors
[{"error":"Error: Request was aborted.\n at B0A._createMessage (file:///home/LECOM/henrique.winckler/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:464:3157)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at runNextTicks (node:internal/process/task_queues:64:3)\n at process.processTimers (node:internal/timers:509:9)","timestamp":"2025-12-18T23:40:04.450Z"},{"error":"Error: Request was aborted.\n at B0A._createMessage (file:///home/LECOM/henrique.winckler/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:464:3157)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-12-18T23:41:35.679Z"},{"error":"AbortError: The operation was aborted\n at abortChildProcess (node:child_process:724:27)\n at EventTarget.onAbortListener (node:child_process:794:7)\n at [nodejs.internal.kHybridDispatch] (node:internal/event_target:786:20)\n at EventTarget.dispatchEvent (node:internal/event_target:721:26)\n at abortSignal (node:internal/abort_controller:369:10)\n at AbortController.abort (node:internal/abort_controller:403:5)\n at Timeout._onTimeout (file:///home/LECOM/henrique.winckler/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:4806:2059)\n at listOnTimeout (node:internal/timers:569:17)\n at process.processTimers (node:internal/timers:512:7)","timestamp":"2025-12-19T00:48:04.597Z"},{"error":"Error: Request was aborted.\n at jT.makeRequest (file:///home/LECOM/henrique.winckler/.nvm/versions/node/v18.20.8/lib/node_modules/@anthropic-ai/claude-code/cli.js:807:3940)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)","timestamp":"2025-12-19T01:02:42.739Z"}]
3 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Confirming this issue with additional diagnostic data from extensive debugging session.
Environment
Symptoms
/exitcommand takes 30+ seconds to registerCritical Evidence: NOT a Network Issue
curl -I https://api.anthropic.comsucceeds instantly with HTTP/2 200Debugging Attempts (None Resolved the Issue)
ANTHROPIC_TIMEOUT=120000ANTHROPIC_DISABLE_HTTP2=1.wslconfig~/.claudeand~/project/.claudedirectoriesclaude /login.claudeignoreto excludenode_modules/,data/, etc.Project Context
.claudeignorewas added).claudeignore)Reproduction
Workaround
Downgrading to 2.0.71 resolves the issue (as original reporter noted).
Hypothesis
Something in the 2.0.71 → 2.0.72 change is causing the Node.js event loop to block, possibly related to:
.claudeignoreThis is a severe regression that makes 2.0.72 completely unusable on Linux/WSL2 with larger projects.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.