claude-code - 💡(How to fix) Fix [Bug] Auto-Compact causes response thrashing after multiple iterations [2 comments, 3 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54900Fetched 2026-05-01 05:51:29
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Author
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/blaser/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.209Z"},{"error":"Error: ECONNREFUSED\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.232Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async Av (/$bunfs/root/src/entrypoints/cli.js:424:4875)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2656:190)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6841:23779)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.279Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9231:20340)\n at async Av (/$bunfs/root/src/entrypoints/cli.js:424:4875)\n at async iV3 (/$bunfs/root/src/entrypoints/cli.js:9231:20097)\n at async nVK (/$bunfs/root/src/entrypoints/cli.js:9231:20732)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.403Z"},{"error":"Error: Was there a typo in the url or port?\n at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n at emitError (node:events:43:23)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n at emitError (node:events:43:23)\n at <anonymous> (node:_http_client:253:22)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n at async XW5 (/$bunfs/root/src/entrypoints/cli.js:3112:14725)\n at async $X7 (/$bunfs/root/src/entrypoints/cli.js:3112:15264)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.418Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.650Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.650Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: Was there a typo in the url or port?\n at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:11.326Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: Was there a typo in the url or port?\n at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:11.326Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T04:31:21.886Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/blaser/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n    at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n    at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.209Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.232Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async Av (/$bunfs/root/src/entrypoints/cli.js:424:4875)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2656:190)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6841:23779)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.279Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9231:20340)\n    at async Av (/$bunfs/root/src/entrypoints/cli.js:424:4875)\n    at async iV3 (/$bunfs/root/src/entrypoints/cli.js:9231:20097)\n    at async nVK (/$bunfs/root/src/entrypoints/cli.js:9231:20732)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.403Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async XW5 (/$bunfs/root/src/entrypoints/cli.js:3112:14725)\n    at async $X7 (/$bunfs/root/src/entrypoints/cli.js:3112:15264)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.418Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.650Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.650Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: Was there a typo in the url or port?\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:11.326Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: Was there a typo in the url or port?\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:11.326Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T04:31:21.886Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description like the 5th autocompact is thrashing response in a few days.

Environment Info

  • Platform: darwin
  • Terminal: superconductor
  • Version: 2.1.123
  • Feedback ID: eaf7b36b-6892-45f3-ae8b-9ed9012da11c

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/blaser/.local/share/claude/versions/2.1.123 (expected in multi-process scenarios)\n    at x86 (/$bunfs/root/src/entrypoints/cli.js:2769:2177)\n    at Jw8 (/$bunfs/root/src/entrypoints/cli.js:2769:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.209Z"},{"error":"Error: ECONNREFUSED\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.232Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async Av (/$bunfs/root/src/entrypoints/cli.js:424:4875)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:2656:190)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6841:23779)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.279Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:9231:20340)\n    at async Av (/$bunfs/root/src/entrypoints/cli.js:424:4875)\n    at async iV3 (/$bunfs/root/src/entrypoints/cli.js:9231:20097)\n    at async nVK (/$bunfs/root/src/entrypoints/cli.js:9231:20732)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.403Z"},{"error":"Error: Was there a typo in the url or port?\n    at from (/$bunfs/root/src/entrypoints/cli.js:112:7862)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:120:12898)\n    at emitError (node:events:43:23)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:119:1149)\n    at emitError (node:events:43:23)\n    at <anonymous> (node:_http_client:253:22)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:122:2467)\n    at async XW5 (/$bunfs/root/src/entrypoints/cli.js:3112:14725)\n    at async $X7 (/$bunfs/root/src/entrypoints/cli.js:3112:15264)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.418Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.650Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:05:59.650Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: Was there a typo in the url or port?\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:11.326Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: Was there a typo in the url or port?\n    at Sj5 (/$bunfs/root/src/entrypoints/cli.js:2767:5533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T00:06:11.326Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:3448)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-30T04:31:21.886Z"}]

extent analysis

TL;DR

Check the network connection and URL for any typos or port issues, as the errors suggest connection refusals and potential URL or port problems.

Guidance

  • Verify the URL https://downloads.claude.ai/claude-code-releases/latest is correct and accessible.
  • Check the network connection for any issues that might be causing the ECONNREFUSED errors.
  • Review the code for any potential typos in the URL or port numbers.
  • Consider testing the URL in a browser or using a tool like curl to see if the issue is specific to the application.

Example

No code snippet is provided as the issue seems to be related to network connectivity and URL verification rather than a specific code problem.

Notes

The errors suggest a mix of connection refusal and potential URL or port typos. Without more specific information about the application or its configuration, it's challenging to provide a more detailed solution. The guidance provided is aimed at troubleshooting the most likely causes based on the error messages.

Recommendation

Apply workaround: Check and verify the URL and network connection to ensure they are correct and functioning properly. This is because the errors directly point to connection issues and potential problems with the URL or port, suggesting a workaround or fix related to these aspects could resolve the problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING