claude-code - 💡(How to fix) Fix [Feature Request] Missing timeout parameter documentation in Routines API reference [1 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#49632Fetched 2026-04-17 08:35:41
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/bill/.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-17T01:01:50.327Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/bill/.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-17T01:01:50.327Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description There is a gap in the routines documentation found here: https://code.claude.com/docs/en/routines#api-reference . I was unable to find any definitions of timeouts and claude was also unable to find anything. I have looked at previous runs to try to guess (I had 1 run last almost 4 hours).

Environment Info

  • Platform: darwin
  • Terminal: tmux
  • Version: 2.1.112
  • Feedback ID: 0502c99e-2c5a-4696-b2a2-876815a7f079

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/bill/.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-17T01:01:50.327Z"}]

extent analysis

TL;DR

Review the routines documentation and code for potential timeout configurations or environment variables that may be contributing to the long run times and lock acquisition failures.

Guidance

  • Investigate the /Users/bill/.local/share/claude/versions/2.1.112 directory for any lock files or temporary data that may be causing the lock acquisition failure.
  • Check the cli.js file at line 2748 for any clues about the lock acquisition mechanism and potential timeout settings.
  • Look for any environment variables or configuration options in the routines documentation that may control timeout behavior.
  • Consider reaching out to the Claude support team or community forums for further assistance, as the issue may be related to a specific version or configuration.

Example

No code snippet is provided as the issue is more related to configuration and documentation.

Notes

The issue seems to be related to a specific version of the Claude platform (2.1.112) and may be resolved by upgrading to a newer version or configuring the environment variables correctly. However, without more information about the routines documentation and the code, it's difficult to provide a more specific solution.

Recommendation

Apply workaround: The best course of action would be to try to configure the environment variables or timeout settings to mitigate the issue, as upgrading to a fixed version is not explicitly mentioned in the issue.

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 [Feature Request] Missing timeout parameter documentation in Routines API reference [1 participants]