[Bug] Compaction fails with "Conversation too long" error, leaving session unrecoverable
Resolved 💬 6 comments Opened Dec 13, 2025 by rajvermacas Closed Feb 14, 2026
Bug Description
● Task Output(non-blocking) a26325b
⎿ Read output (ctrl+o to expand)
⎿ Context low · Run /compact to compact & continue
/compact
⎿ Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.
check for running agents and ublock them if they are stuck
⎿ Context low · Run /compact to compact & continue
are you there
⎿ Context low · Run /compact to compact & continue
/compact
⎿ Error: Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 2.0.69
- Feedback ID: 2deef9ed-a72f-4094-9ce9-ff2d42aa279a
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /root/.local/share/claude/versions/2.0.69 (expected in multi-process scenarios)\n at jf$ (/$bunfs/root/claude:2239:2155)\n at LDA (/$bunfs/root/claude:2239:1875)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T11:36:54.509Z"},{"error":"Error\n at wO (/$bunfs/root/claude:58:1143)\n at <anonymous> (/$bunfs/root/claude:59:10080)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:862:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:61:2147)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T11:36:54.823Z"},{"error":"Error\n at wO (/$bunfs/root/claude:58:1143)\n at <anonymous> (/$bunfs/root/claude:59:10080)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:862:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:61:2147)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T11:36:54.950Z"},{"error":"Error\n at wO (/$bunfs/root/claude:58:1143)\n at <anonymous> (/$bunfs/root/claude:59:10080)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:862:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:61:2147)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T11:36:55.180Z"},{"error":"Error\n at wO (/$bunfs/root/claude:58:1143)\n at <anonymous> (/$bunfs/root/claude:59:10080)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:862:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:61:2147)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T11:36:55.654Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n at readFileSync (unknown)\n at <anonymous> (/$bunfs/root/claude:12:500)\n at s5 (/$bunfs/root/claude:11:8378)\n at readFileSync (/$bunfs/root/claude:12:465)\n at zLI (/$bunfs/root/claude:4323:20251)\n at call (/$bunfs/root/claude:911:846)\n at call (/$bunfs/root/claude:907:6075)\n at Wi0 (/$bunfs/root/claude:1722:17095)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T14:48:45.144Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 204772 tokens > 200000 maximum\"},\"request_id\":\"req_011CW4uvFYYSgMyrnREHoUbe\"}\n at generate (/$bunfs/root/claude:409:10428)\n at makeRequest (/$bunfs/root/claude:746:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T15:21:02.046Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 204772 tokens > 200000 maximum\"},\"request_id\":\"req_011CW4uvQRLsJBwobAzN8gq4\"}\n at generate (/$bunfs/root/claude:409:10428)\n at makeRequest (/$bunfs/root/claude:746:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T15:21:03.912Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 207647 tokens > 200000 maximum\"},\"request_id\":\"req_011CW4vBoN9CJWxWQDMsgsBT\"}\n at generate (/$bunfs/root/claude:409:10428)\n at makeRequest (/$bunfs/root/claude:746:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-13T15:24:33.090Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n at y0$ (/$bunfs/root/claude:1586:1687)\n at async call (/$bunfs/root/claude:3147:56)\n at async $t0 (/$bunfs/root/claude:2209:4431)\n at async DuI (/$bunfs/root/claude%3
Note: Error logs were truncated.
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗