claude-code - 💡(How to fix) Fix [Bug] KBI drops test accounts in ARR metric calculations [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#45283Fetched 2026-04-09 08:08:58
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/chad.giganti/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:26:59.604Z"},{"error":"Error: Failed to delete keychain entry\n at B4q (/$bunfs/root/src/entrypoints/cli.js:249:280550)\n at async eSq (/$bunfs/root/src/entrypoints/cli.js:402:694)\n at async Gv6 (/$bunfs/root/src/entrypoints/cli.js:402:592)\n at async yeH (/$bunfs/root/src/entrypoints/cli.js:1861:2077)\n at async _fH (/$bunfs/root/src/entrypoints/cli.js:1885:5315)\n at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1953:40723)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:27:16.898Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13351)\n at emit (node:events:92:22)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:1822:2435)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:34:02.521Z"},{"error":"Error: {"message":"PeriodicExportingMetricReader: metrics export failed (error AxiosError: timeout of 5000ms exceeded)","originalLine":"1794","originalColumn":"61443","line":"1794","column":"61443","sourceURL":"/$bunfs/root/src/entrypoints/cli.js","stack":"Error: PeriodicExportingMetricReader: metrics export failed (error AxiosError: timeout of 5000ms exceeded)\n at _doRun (/$bunfs/root/src/entrypoints/cli.js:1794:61443)\n at processTicksAndRejections (native:7:39)","name":"Error"}\n at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n at _runOnce (/$bunfs/root/src/entrypoints/cli.js:1794:60908)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:34:02.522Z"},{"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 Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:20:43.016Z"},{"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 Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:20:43.017Z"},{"error":"Error: {"message":"Operation timed out.","originalLine":"417","originalColumn":"107659","line":"417","column":"107659","sourceURL":"/$bunfs/root/src/entrypoints/cli.js","stack":"Error: Operation timed out.\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:107659)","name":"Error"}\n at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:418:18667)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:38:04.765Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n at async doExport (/$bunfs/root/src/entrypoints/cli.js:422:1516)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:38:04.840Z"},{"error":"Error: {"message":"Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)","originalLine":"422","originalColumn":"1668","line":"422","column":"1668","sourceURL":"/$bunfs/root/src/entrypoints/cli.js","stack":"Error: Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\n at doExport (/$bunfs/root/src/entrypoints/cli.js:422:1668)\n at processTicksAndRejections (native:7:39)","name":"Error"}\n at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\…

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/chad.giganti/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:26:59.604Z"},{"error":"Error: Failed to delete keychain entry\n    at B4q (/$bunfs/root/src/entrypoints/cli.js:249:280550)\n    at async eSq (/$bunfs/root/src/entrypoints/cli.js:402:694)\n    at async Gv6 (/$bunfs/root/src/entrypoints/cli.js:402:592)\n    at async yeH (/$bunfs/root/src/entrypoints/cli.js:1861:2077)\n    at async _fH (/$bunfs/root/src/entrypoints/cli.js:1885:5315)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1953:40723)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:27:16.898Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13351)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:1822:2435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:34:02.521Z"},{"error":"Error: {\"message\":\"PeriodicExportingMetricReader: metrics export failed (error AxiosError: timeout of 5000ms exceeded)\",\"originalLine\":\"1794\",\"originalColumn\":\"61443\",\"line\":\"1794\",\"column\":\"61443\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error AxiosError: timeout of 5000ms exceeded)\\n    at _doRun (/$bunfs/root/src/entrypoints/cli.js:1794:61443)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n    at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n    at _runOnce (/$bunfs/root/src/entrypoints/cli.js:1794:60908)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:34:02.522Z"},{"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 Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:20:43.016Z"},{"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 Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:20:43.017Z"},{"error":"Error: {\"message\":\"Operation timed out.\",\"originalLine\":\"417\",\"originalColumn\":\"107659\",\"line\":\"417\",\"column\":\"107659\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Operation timed out.\\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:107659)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n    at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:418:18667)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:38:04.765Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:422:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:38:04.840Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"422\",\"originalColumn\":\"1668\",\"line\":\"422\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n    at doExport (/$bunfs/root/src/entrypoints/cli.js:422:1668)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\…
RAW_BUFFERClick to expand / collapse

Bug Description KBI continues to drop test accounts when calculating ARR related metrics.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.92
  • Feedback ID: ade712b3-8d80-4dfb-9bb2-a45a639d80c0

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/chad.giganti/.local/share/claude/versions/2.1.92 (expected in multi-process scenarios)\n    at im_ (/$bunfs/root/src/entrypoints/cli.js:1884:2153)\n    at An6 (/$bunfs/root/src/entrypoints/cli.js:1884:1233)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:26:59.604Z"},{"error":"Error: Failed to delete keychain entry\n    at B4q (/$bunfs/root/src/entrypoints/cli.js:249:280550)\n    at async eSq (/$bunfs/root/src/entrypoints/cli.js:402:694)\n    at async Gv6 (/$bunfs/root/src/entrypoints/cli.js:402:592)\n    at async yeH (/$bunfs/root/src/entrypoints/cli.js:1861:2077)\n    at async _fH (/$bunfs/root/src/entrypoints/cli.js:1885:5315)\n    at async <anonymous> (/$bunfs/root/src/entrypoints/cli.js:1953:40723)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:27:16.898Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:113:13351)\n    at emit (node:events:92:22)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:112:3321)\n    at request (/$bunfs/root/src/entrypoints/cli.js:115:2467)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:1822:2435)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:34:02.521Z"},{"error":"Error: {\"message\":\"PeriodicExportingMetricReader: metrics export failed (error AxiosError: timeout of 5000ms exceeded)\",\"originalLine\":\"1794\",\"originalColumn\":\"61443\",\"line\":\"1794\",\"column\":\"61443\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: PeriodicExportingMetricReader: metrics export failed (error AxiosError: timeout of 5000ms exceeded)\\n    at _doRun (/$bunfs/root/src/entrypoints/cli.js:1794:61443)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n    at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n    at _runOnce (/$bunfs/root/src/entrypoints/cli.js:1794:60908)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T15:34:02.522Z"},{"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 Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:20:43.016Z"},{"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 Py1 (/$bunfs/root/src/entrypoints/cli.js:1882:15046)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:20:43.017Z"},{"error":"Error: {\"message\":\"Operation timed out.\",\"originalLine\":\"417\",\"originalColumn\":\"107659\",\"line\":\"417\",\"column\":\"107659\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Operation timed out.\\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:107659)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:417:36794)\n    at AZ4 (/$bunfs/root/src/entrypoints/cli.js:417:37338)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:418:18667)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:38:04.765Z"},{"error":"Error: 1P event logging: 1 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at async doExport (/$bunfs/root/src/entrypoints/cli.js:422:1516)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-07T21:38:04.840Z"},{"error":"Error: {\"message\":\"Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\",\"originalLine\":\"422\",\"originalColumn\":\"1668\",\"line\":\"422\",\"column\":\"1668\",\"sourceURL\":\"/$bunfs/root/src/entrypoints/cli.js\",\"stack\":\"Error: Failed to export 1 events (code=ECONNABORTED, timeout of 10000ms exceeded)\\n    at doExport (/$bunfs/root/src/entrypoints/cli.js:422:1668)\\n    at processTicksAndRejections (native:7:39)\",\"name\":\"Error\"}\n    at error (/$bunfs/root/src/entrypoints/cli.js:1822:4371)\…

Note: Content was truncated.

extent analysis

TL;DR

The issue may be resolved by increasing the timeout values to prevent timeouts from occurring during metric exports and version fetches.

Guidance

  • Review the error messages to identify specific timeout errors, such as "timeout of 5000ms exceeded" or "timeout of 30000ms exceeded".
  • Consider increasing the timeout values for metric exports and version fetches to prevent these errors from occurring.
  • Verify that the issue is not caused by a network connectivity problem or a server-side issue by checking the status of the relevant servers and APIs.
  • If increasing timeout values does not resolve the issue, further investigation into the cause of the timeouts may be necessary.

Example

No specific code snippet can be provided without more information about the implementation, but increasing timeout values might look something like this:

const axios = require('axios');

// Increase timeout value to 10 seconds
const instance = axios.create({
  timeout: 10000
});

Notes

The provided error messages suggest that timeouts are occurring during metric exports and version fetches, but without more information about the implementation, it is difficult to provide a specific solution. Increasing timeout values may help prevent these errors, but it is also important to investigate the underlying cause of the timeouts.

Recommendation

Apply a workaround by increasing the timeout values to prevent timeouts from occurring during metric exports and version fetches. This may help resolve the issue, but further investigation into the cause of the timeouts may still be necessary.

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