claude-code
claude-code copied to clipboard
[Bug] Auto-compact not triggering when context limit reached
Bug Description ⎿ Context low · Run /compact to compact & continue
why am i compacting ⎿ Context low · Run /compact to compact & continue
you stopped ⎿ Context low · Run /compact to compact & continue
Won't compact on his own
Environment Info
- Platform: darwin
- Terminal: tmux
- Version: 2.0.65
- Feedback ID: c1ab2bbc-b9fd-44c8-84d4-b0c95ce4d823
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.65 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at ZAA (/$bunfs/root/claude:2597:1296)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:14:52.540Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.62 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at XAA (/$bunfs/root/claude:2595:35624)\n at async LAA (/$bunfs/root/claude:2597:3428)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:14:52.540Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.64 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at XAA (/$bunfs/root/claude:2595:35624)\n at async LAA (/$bunfs/root/claude:2597:3428)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:14:52.601Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.61 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at XAA (/$bunfs/root/claude:2595:35624)\n at async LAA (/$bunfs/root/claude:2597:3428)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:14:52.601Z"},{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/greg/.local/share/claude/versions/2.0.65 (expected in multi-process scenarios)\n at fjB (/$bunfs/root/claude:2597:1618)\n at XAA (/$bunfs/root/claude:2595:35624)\n at async DdD (/$bunfs/root/claude:2595:37725)\n at async cj (/$bunfs/root/claude:2597:236)\n at async <anonymous> (/$bunfs/root/claude:2597:13006)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:15:02.815Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 210442 tokens > 200000 maximum\"},\"request_id\":\"req_011CW1uofcSbuS4dUmLftJ2D\"}\n at generate (/$bunfs/root/claude:125:10428)\n at makeRequest (/$bunfs/root/claude:814:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:17:45.739Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n at N_R (/$bunfs/root/claude:1807:1687)\n at async mZB (/$bunfs/root/claude:1817:3286)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:17:45.740Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 218645 tokens > 200000 maximum\"},\"request_id\":\"req_011CW1uoyTErEcHaxZaLE8rR\"}\n at generate (/$bunfs/root/claude:125:10428)\n at makeRequest (/$bunfs/root/claude:814:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:17:50.099Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 210447 tokens > 200000 maximum\"},\"request_id\":\"req_011CW1vEs4xi7Js9Gznru52f\"}\n at generate (/$bunfs/root/claude:125:10428)\n at makeRequest (/$bunfs/root/claude:814:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:23:27.853Z"},{"error":"Error: Conversation too long. Press esc twice to go up a few messages and try again.\n at N_R (/$bunfs/root/claude:1807:1687)\n at async mZB (/$bunfs/root/claude:1817:3286)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:23:27.854Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 218645 tokens > 200000 maximum\"},\"request_id\":\"req_011CW1vF6GxEBx7iobwffD5E\"}\n at generate (/$bunfs/root/claude:125:10428)\n at makeRequest (/$bunfs/root/claude:814:5434)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-12-12T01:23:30.907Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"prompt is too long: 210449 tokens > 200000 maximum\"},\"request_id\":\"req_011CW1vFJm3Ft7den
Note: Error logs were truncated.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/8616
- https://github.com/anthropics/claude-code/issues/2038
- https://github.com/anthropics/claude-code/issues/7910
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #8616.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code