[Bug] Manual compaction fails with "Conversation too long" error when auto-compact enabled

Resolved 💬 3 comments Opened Feb 12, 2026 by poemswe Closed Feb 16, 2026

Bug Description
compact is turned on but it's not auto compacted. Then when I tried to compact manually it said "Error during compaction: Error: Conversation too long. Press esc twice to go up a few messages and try again."

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.39
  • Feedback ID: 522a310b-4a89-44f0-bca6-9b9148a5206e

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/poepoe/.local/share/claude/versions/2.1.39 (expected in multi-process scenarios)\n    at wVR (/$bunfs/root/claude:3626:2098)\n    at DjA (/$bunfs/root/claude:3626:1209)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T18:46:09.874Z"},{"error":"Error: 1P event logging: 200 events failed to export (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\n    at queueFailedEvents (/$bunfs/root/claude:1891:2350)\n    at async doExport (/$bunfs/root/claude:1891:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T18:59:16.709Z"},{"error":"Error: {\"message\":\"Failed to export 200 events (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\",\"originalLine\":\"1891\",\"originalColumn\":\"1409\",\"line\":\"1891\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 200 events (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\\n    at doExport (/$bunfs/root/claude:1891:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1934:25028)\n    at <anonymous> (/$bunfs/root/claude:1886:19938)\n    at Iv7 (/$bunfs/root/claude:1886:20482)\n    at <anonymous> (/$bunfs/root/claude:1887:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T18:59:16.709Z"},{"error":"Error: 1P event logging: 200 events failed to export (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\n    at queueFailedEvents (/$bunfs/root/claude:1891:2350)\n    at async doExport (/$bunfs/root/claude:1891:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T19:11:11.098Z"},{"error":"Error: {\"message\":\"Failed to export 200 events (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\",\"originalLine\":\"1891\",\"originalColumn\":\"1409\",\"line\":\"1891\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 200 events (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\\n    at doExport (/$bunfs/root/claude:1891:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1934:25028)\n    at <anonymous> (/$bunfs/root/claude:1886:19938)\n    at Iv7 (/$bunfs/root/claude:1886:20482)\n    at <anonymous> (/$bunfs/root/claude:1887:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T19:11:11.098Z"},{"error":"Error: 1P event logging: 137 events failed to export (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\n    at queueFailedEvents (/$bunfs/root/claude:1891:2350)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-02-11T19:11:49.503Z"},{"error":"Error: {\"message\":\"Failed to export 137 events (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\",\"originalLine\":\"1891\",\"originalColumn\":\"1409\",\"line\":\"1891\",\"column\":\"1409\",\"sourceURL\":\"/$bunfs/root/claude\",\"stack\":\"Error: Failed to export 137 events (code=ECONNRESET, The socket connection was closed unexpectedly. For more information, pass `verbose: true` in the second argument to fetch())\\n    at doExport (/$bunfs/root/claude:1891:1409)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/claude:1934:25028)\n    at <anonymous> (/$bunfs/root/claude:1886:19938)\n    at Iv7 (/$bunfs/root/claude:1886:20482)\n    at <anonymous> (/$bunfs/root/claude:1887:17366)\n    at processTicksAndRejections (native:7:39)","timestamp":"…

Note: Content was truncated.

View original on GitHub ↗

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