claude-code - 💡(How to fix) Fix [Bug] Task exited without firing task-notification to agent [1 comments, 2 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#52895Fetched 2026-04-25 06:18:01
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Author
Timeline (top)
labeled ×5commented ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/btaylor/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:14:36.291Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T20:48:39.561Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T20:48:39.561Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\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 processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:00:24.386Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/btaylor/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:14:36.291Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T20:48:39.561Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T20:48:39.561Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\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 processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:00:24.386Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description a task exited without firing a task-notification into the agent

Environment Info

  • Platform: darwin
  • Terminal: lite-edit
  • Version: 2.1.118
  • Feedback ID: 1fde46f4-fc77-4bb6-83dc-85de36a8c202

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/btaylor/.local/share/claude/versions/2.1.118 (expected in multi-process scenarios)\n    at ai_ (/$bunfs/root/src/entrypoints/cli.js:2756:2177)\n    at IK8 (/$bunfs/root/src/entrypoints/cli.js:2756:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T16:14:36.291Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T20:48:39.561Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: timeout of 30000ms exceeded\n    at Fs1 (/$bunfs/root/src/entrypoints/cli.js:2754:5534)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T20:48:39.561Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:115:13291)\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 processTicksAndRejections (native:7:39)","timestamp":"2026-04-23T21:00:24.386Z"}]

extent analysis

TL;DR

The task exit issue may be related to lock acquisition failures or network timeouts, and checking the lock file and network connectivity could help resolve the issue.

Guidance

  • Investigate the lock acquisition failure error and check if the lock file /Users/btaylor/.local/share/claude/versions/2.1.118 is being held by another process.
  • Verify network connectivity and check if the URL https://downloads.claude.ai/claude-code-releases/latest is accessible and responding within the timeout period.
  • Consider increasing the timeout value to a higher number to see if it resolves the issue.
  • Check for any other processes or tasks that may be interfering with the task notification.

Example

No code snippet is provided as it is not clearly supported by the issue.

Notes

The issue may be specific to the darwin platform and the lite-edit terminal, and further investigation may be needed to determine the root cause.

Recommendation

Apply workaround: Increase the timeout value to a higher number to see if it resolves the issue, as the current timeout of 30000ms may be too low.

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

claude-code - 💡(How to fix) Fix [Bug] Task exited without firing task-notification to agent [1 comments, 2 participants]