claude-code - 💡(How to fix) Fix [Bug] Claude refuses to execute GitHub CLI commands for PR/ticket updates [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#50816Fetched 2026-04-20 12:12:15
View on GitHub
Comments
2
Participants
3
Timeline
5
Reactions
0
Timeline (top)
labeled ×3commented ×2

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/anastasiiakovalova/.local/share/claude/versions/2.1.112 (expected in multi-process scenarios)\n at Od_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n at Ke6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T09:42:04.560Z"},{"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-17T10:01:03.889Z"},{"error":"RangeError: path should be a path.relative()d string, but got ".."\n at $m4 (/$bunfs/root/src/entrypoints/cli.js:439:12836)\n at wa (/$bunfs/root/src/entrypoints/cli.js:439:13009)\n at test (/$bunfs/root/src/entrypoints/cli.js:439:13547)\n at Uj (/$bunfs/root/src/entrypoints/cli.js:7901:8875)\n at RB6 (/$bunfs/root/src/entrypoints/cli.js:811:24084)\n at hsH (/$bunfs/root/src/entrypoints/cli.js:811:26430)\n at wT5 (/$bunfs/root/src/entrypoints/cli.js:4908:4803)\n at $K (/$bunfs/root/src/entrypoints/cli.js:4908:8533)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T12:07:45.688Z"},{"error":"Error: Stream idle timeout - partial response received\n at JU7 (/$bunfs/root/src/entrypoints/cli.js:8059:12257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T12:23:28.077Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13335)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:2685:36234)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T14:53:33.226Z"},{"error":"Error: {"type":"error","error":{"details":null,"type":"overloaded_error","message":"Overloaded"},"request_id":"req_011Ca9jNRXuifu8Vpw99KKUP"}\n at T (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T17:33:53.188Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T12:23:57.715Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T12:23:57.716Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:27:34.696Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:27:34.696Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:55:40.683Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:55:40.684Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T18:31:11.696Z"},{"error":"Error: Failed to fetch vers…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/anastasiiakovalova/.local/share/claude/versions/2.1.112 (expected in multi-process scenarios)\n    at Od_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n    at Ke6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T09:42:04.560Z"},{"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-17T10:01:03.889Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at $m4 (/$bunfs/root/src/entrypoints/cli.js:439:12836)\n    at wa (/$bunfs/root/src/entrypoints/cli.js:439:13009)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:439:13547)\n    at Uj (/$bunfs/root/src/entrypoints/cli.js:7901:8875)\n    at RB6 (/$bunfs/root/src/entrypoints/cli.js:811:24084)\n    at hsH (/$bunfs/root/src/entrypoints/cli.js:811:26430)\n    at wT5 (/$bunfs/root/src/entrypoints/cli.js:4908:4803)\n    at $K_ (/$bunfs/root/src/entrypoints/cli.js:4908:8533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T12:07:45.688Z"},{"error":"Error: Stream idle timeout - partial response received\n    at JU7 (/$bunfs/root/src/entrypoints/cli.js:8059:12257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T12:23:28.077Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13335)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:2685:36234)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T14:53:33.226Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011Ca9jNRXuifu8Vpw99KKUP\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T17:33:53.188Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T12:23:57.715Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T12:23:57.716Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:27:34.696Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:27:34.696Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:55:40.683Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:55:40.684Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T18:31:11.696Z"},{"error":"Error: Failed to fetch vers…
RAW_BUFFERClick to expand / collapse

Bug Description asked claude code to update pr and ticket with gh, usually it works, but now it just refused and said he can't do it, tried twice and couldn't , said it is blocked

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.112
  • Feedback ID: ecd07ac6-0b5b-4861-9199-93b4d49c08ec

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/anastasiiakovalova/.local/share/claude/versions/2.1.112 (expected in multi-process scenarios)\n    at Od_ (/$bunfs/root/src/entrypoints/cli.js:2748:2177)\n    at Ke6 (/$bunfs/root/src/entrypoints/cli.js:2748:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T09:42:04.560Z"},{"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-17T10:01:03.889Z"},{"error":"RangeError: path should be a `path.relative()`d string, but got \"..\"\n    at $m4 (/$bunfs/root/src/entrypoints/cli.js:439:12836)\n    at wa (/$bunfs/root/src/entrypoints/cli.js:439:13009)\n    at _test (/$bunfs/root/src/entrypoints/cli.js:439:13547)\n    at Uj (/$bunfs/root/src/entrypoints/cli.js:7901:8875)\n    at RB6 (/$bunfs/root/src/entrypoints/cli.js:811:24084)\n    at hsH (/$bunfs/root/src/entrypoints/cli.js:811:26430)\n    at wT5 (/$bunfs/root/src/entrypoints/cli.js:4908:4803)\n    at $K_ (/$bunfs/root/src/entrypoints/cli.js:4908:8533)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T12:07:45.688Z"},{"error":"Error: Stream idle timeout - partial response received\n    at JU7 (/$bunfs/root/src/entrypoints/cli.js:8059:12257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T12:23:28.077Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13335)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:114:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:117:2467)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:2685:36234)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T14:53:33.226Z"},{"error":"Error: {\"type\":\"error\",\"error\":{\"details\":null,\"type\":\"overloaded_error\",\"message\":\"Overloaded\"},\"request_id\":\"req_011Ca9jNRXuifu8Vpw99KKUP\"}\n    at T (/$bunfs/root/src/entrypoints/cli.js:14:1328)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-17T17:33:53.188Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T12:23:57.715Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T12:23:57.716Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:27:34.696Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:27:34.696Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:55:40.683Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T16:55:40.684Z"},{"error":"Error: Failed to fetch version from https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest: timeout of 30000ms exceeded\n    at pp1 (/$bunfs/root/src/entrypoints/cli.js:2746:5253)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-18T18:31:11.696Z"},{"error":"Error: Failed to fetch vers…

Note: Content was truncated.

extent analysis

TL;DR

The issue is likely due to a combination of network timeouts, lock acquisition failures, and potential overload errors, so a workaround could involve checking network connectivity, verifying the claude code version, and potentially resetting the lock.

Guidance

  • Check network connectivity to ensure stable access to https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases/latest to prevent timeouts.
  • Verify that the claude code version is up-to-date, as the errors suggest issues with fetching the latest version.
  • Investigate the lock acquisition failure by checking the path /Users/anastasiiakovalova/.local/share/claude/versions/2.1.112 for any permission issues or locks that might be causing the problem.
  • Consider resetting or removing the lock if it's safe to do so, to prevent the "Lock acquisition failed" error.

Example

No specific code snippet can be provided without more context on how the claude code is being executed or integrated, but ensuring that network requests have sufficient timeouts and handling lock mechanisms properly can help mitigate these issues.

Notes

The provided error log is truncated, which might limit the ability to identify all potential causes. Network connectivity, server overload, and local file system issues could all contribute to these errors. It's also unclear how the claude code is being used (e.g., through a CLI, a script, or an integrated tool), which could affect the approach to resolving these issues.

Recommendation

Apply a workaround by checking and potentially resetting the lock, verifying network connectivity, and ensuring the claude code version is up-to-date, as these steps can help mitigate the identified issues without requiring an upgrade to a potentially non-existent fixed version.

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