claude-code - 💡(How to fix) Fix [Bug] Fork subagent cache not functioning properly, causing rapid token limit depletion [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#56148Fetched 2026-05-05 05:56:56
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Timeline (top)
labeled ×5commented ×1

Error Message

[{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n at qJ8 (/$bunfs/root/src/entrypoints/cli.js:497:86717)","timestamp":"2026-05-04T22:47:55.240Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n at LW$ (/$bunfs/root/src/entrypoints/cli.js:497:87731)","timestamp":"2026-05-04T22:48:13.850Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n at qJ8 (/$bunfs/root/src/entrypoints/cli.js:497:86717)","timestamp":"2026-05-04T22:48:32.590Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n at LW$ (/$bunfs/root/src/entrypoints/cli.js:497:87731)","timestamp":"2026-05-04T22:48:50.200Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n at…

Code Example

[{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at qJ8 (/$bunfs/root/src/entrypoints/cli.js:497:86717)","timestamp":"2026-05-04T22:47:55.240Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at LW$ (/$bunfs/root/src/entrypoints/cli.js:497:87731)","timestamp":"2026-05-04T22:48:13.850Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at qJ8 (/$bunfs/root/src/entrypoints/cli.js:497:86717)","timestamp":"2026-05-04T22:48:32.590Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at LW$ (/$bunfs/root/src/entrypoints/cli.js:497:87731)","timestamp":"2026-05-04T22:48:50.200Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at…
RAW_BUFFERClick to expand / collapse

Bug Description I think fork subagent has some problem with cache, they are draining limits super fast

Environment Info

  • Platform: linux
  • Terminal: windows-terminal
  • Version: 2.1.126
  • Feedback ID: e95b47e9-bef1-42d8-84c0-84d377413cd5

Errors

[{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at qJ8 (/$bunfs/root/src/entrypoints/cli.js:497:86717)","timestamp":"2026-05-04T22:47:55.240Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at LW$ (/$bunfs/root/src/entrypoints/cli.js:497:87731)","timestamp":"2026-05-04T22:48:13.850Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at qJ8 (/$bunfs/root/src/entrypoints/cli.js:497:86717)","timestamp":"2026-05-04T22:48:32.590Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at a3 (/$bunfs/root/src/entrypoints/cli.js:497:39896)\n    at l9 (/$bunfs/root/src/entrypoints/cli.js:497:50705)\n    at cU (/$bunfs/root/src/entrypoints/cli.js:497:87759)\n    at LW$ (/$bunfs/root/src/entrypoints/cli.js:497:87731)","timestamp":"2026-05-04T22:48:50.200Z"},{"error":"Error: VirtualMessageList: duplicate sibling keys (leaks DOM nodes via mapRemainingChildren overwrite): 5a4bc038-3d94-4ec8-8d38-f0e526b82b48-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 2aa73687-b562-46cf-a4a5-a603437d2dac-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2, 5e280a3e-ab6a-4b26-a835-ce6af1f44de4-d1ccd8c5-1736-4554-b019-1ef3cf8ac7e3 ×2\n    at w75 (/$bunfs/root/src/entrypoints/cli.js:6498:9256)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:6498:903)\n    at TD (/$bunfs/root/src/entrypoints/cli.js:497:30320)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:485:9137)\n    at wq4 (/$bunfs/root/src/entrypoints/cli.js:6498:895)\n    at sA (/$bunfs/root/src/entrypoints/cli.js:497:21130)\n    at…

Note: Content was truncated.

extent analysis

TL;DR

The issue is likely caused by a cache problem with the fork subagent, leading to duplicate sibling keys and DOM node leaks, and may require adjustments to cache management or key uniqueness.

Guidance

  • Investigate the cache implementation of the fork subagent to identify potential issues with key uniqueness or cache expiration.
  • Review the VirtualMessageList component to ensure it properly handles duplicate keys and updates the DOM without leaking nodes.
  • Consider implementing a cache invalidation mechanism or adjusting the cache timeout to prevent stale data from causing duplicate key errors.
  • Verify that the error messages are not caused by a known issue in the version 2.1.126, and check for any available updates or patches.

Example

No specific code example can be provided without more context, but ensuring unique keys for VirtualMessageList items and properly handling cache updates could help mitigate the issue.

Notes

The provided error messages suggest a recurring issue with duplicate sibling keys, which may be related to the fork subagent's cache management. However, without more information about the implementation details, it's challenging to provide a precise solution. Further investigation into the cache and VirtualMessageList component is necessary.

Recommendation

Apply a workaround by adjusting the cache management or key uniqueness in the VirtualMessageList component, as the issue seems to be related to cache problems and duplicate keys, and there's no clear indication of a fixed version available.

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] Fork subagent cache not functioning properly, causing rapid token limit depletion [1 comments, 2 participants]