[Bug] CLI input lag in extended sessions with high context utilization

Resolved 💬 3 comments Opened Dec 19, 2025 by hwinckler 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"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗