claude-code - 💡(How to fix) Fix [Bug] Focus mode double-counts edits to same file in "Edited N files" summary [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#47854Fetched 2026-04-15 06:40:26
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×3

Error Message

[{"error":"Error: Request was aborted.\n at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n at next (native:1:11)\n at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n at next (native:1:11)\n at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T05:19:42.674Z"},{"error":"Error: Request was aborted.\n at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n at next (native:1:11)\n at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n at next (native:1:11)\n at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T05:48:22.030Z"},{"error":"Error: 1P event logging: 10 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T09:05:33.082Z"}]

Code Example

[{"error":"Error: Request was aborted.\n    at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n    at next (native:1:11)\n    at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n    at next (native:1:11)\n    at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T05:19:42.674Z"},{"error":"Error: Request was aborted.\n    at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n    at next (native:1:11)\n    at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n    at next (native:1:11)\n    at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T05:48:22.030Z"},{"error":"Error: 1P event logging: 10 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T09:05:33.082Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description In focus mode, "Edited N files" double-counts edits to the same file. I'm seeing "Edited 64 files" where all the edits were for the plan file

Environment Info

  • Platform: darwin
  • Terminal: WezTerm
  • Version: 2.1.105
  • Feedback ID: c2c9729a-136f-4c22-8d3d-9c7c46400653

Errors

[{"error":"Error: Request was aborted.\n    at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n    at next (native:1:11)\n    at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n    at next (native:1:11)\n    at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T05:19:42.674Z"},{"error":"Error: Request was aborted.\n    at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n    at next (native:1:11)\n    at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n    at next (native:1:11)\n    at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T05:48:22.030Z"},{"error":"Error: 1P event logging: 10 events failed to export (code=ECONNABORTED, timeout of 10000ms exceeded)\n    at queueFailedEvents (/$bunfs/root/src/entrypoints/cli.js:422:2574)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-14T09:05:33.082Z"}]

extent analysis

TL;DR

The issue of "Edited N files" double-counting edits to the same file in focus mode may be related to the request abortion errors and event logging failures.

Guidance

  • Review the error logs to identify the pattern of request abortions and event logging failures, which might be causing the double-counting issue.
  • Check if the issue persists when editing different files or only occurs with the "plan file".
  • Investigate the qb_ function at /$bunfs/root/src/entrypoints/cli.js:1287:12508 to understand the request abortion error.
  • Consider increasing the timeout value of 10000ms for event logging to prevent ECONNABORTED errors.

Example

No code snippet is provided as the issue does not contain sufficient information for a specific code-based solution.

Notes

The provided error logs indicate request abortion and event logging failures, which might be contributing to the double-counting issue. However, the root cause of the problem is still unclear and requires further investigation.

Recommendation

Apply workaround: Increase the event logging timeout value to prevent ECONNABORTED errors and monitor if the double-counting issue persists. This might help mitigate the issue, but a more thorough investigation is needed to identify the root cause.

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] Focus mode double-counts edits to same file in "Edited N files" summary [1 participants]