[Bug] Excessive token consumption for single file modifications

Resolved 💬 3 comments Opened Mar 14, 2026 by yucelz Closed Mar 18, 2026

Bug Description
I've nearly spent 13K tokens to update a single HTML page – that's a bit unusual.

Environment Info

  • Platform: linux
  • Terminal: vscode
  • Version: 2.1.72
  • Feedback ID: 37636e9d-cebf-4fc1-812e-04c0c6bafa65

Errors

[{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:12:1534)\n    at GPD (/$bunfs/root/src/entrypoints/cli.js:6781:81)\n    at uQH (/$bunfs/root/src/entrypoints/cli.js:6783:247)\n    at mz (/$bunfs/root/src/entrypoints/cli.js:6783:114)\n    at Qf_ (/$bunfs/root/src/entrypoints/cli.js:13407:8217)\n    at w (/$bunfs/root/src/entrypoints/cli.js:13407:7434)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:13407:7764)\n    at ST (/$bunfs/root/src/entrypoints/cli.js:584:63170)\n    at goH (/$bunfs/root/src/entrypoints/cli.js:584:76271)","timestamp":"2026-03-11T12:02:07.560Z"},{"error":"Error\n    at call (/$bunfs/root/src/entrypoints/cli.js:1481:6033)\n    at async YN6 (/$bunfs/root/src/entrypoints/cli.js:3903:15032)\n    at processTicksAndRejections (unknown:7:39)","timestamp":"2026-03-11T13:23:21.539Z"},{"error":"Error\n    at Ib (/$bunfs/root/src/entrypoints/cli.js:74:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:10005)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:81:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:40:07.776Z"},{"error":"Error\n    at Ib (/$bunfs/root/src/entrypoints/cli.js:74:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:10005)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:81:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:40:19.424Z"},{"error":"Error\n    at Ib (/$bunfs/root/src/entrypoints/cli.js:74:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:10005)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:81:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:40:23.923Z"},{"error":"Error\n    at Ib (/$bunfs/root/src/entrypoints/cli.js:74:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:10005)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:81:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:40:31.098Z"},{"error":"Error\n    at Ib (/$bunfs/root/src/entrypoints/cli.js:74:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:10005)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:81:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:40:37.780Z"},{"error":"Error\n    at Ib (/$bunfs/root/src/entrypoints/cli.js:74:1144)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:79:10005)\n    at emit (node:events:92:22)\n    at endReadableNT (internal:streams/readable:861:50)\n    at processTicksAndRejections (native:7:39)\n    at request (/$bunfs/root/src/entrypoints/cli.js:81:2149)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:40:46.277Z"},{"error":"Error: Request was aborted.\n    at OI$ (/$bunfs/root/src/entrypoints/cli.js:1145:67347)\n    at next (native:1:11)\n    at pKD (/$bunfs/root/src/entrypoints/cli.js:6203:6810)\n    at next (native:1:11)\n    at gKD (/$bunfs/root/src/entrypoints/cli.js:6208:9181)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-03-14T08:41:59.972Z"},{"error":"Error\n    at readSync (unknown)\n    at readSync (/$bunfs/root/src/entrypoints/cli.js:12:1534)\n    at GPD (/$bunfs/root/src/entrypoints/cli.js:6781:81)\n    at uQH (/$bunfs/root/src/entrypoints/cli.js:6783:247)\n    at mz (/$bunfs/root/src/entrypoints/cli.js:6783:114)\n    at Qf_ (/$bunfs/root/src/entrypoints/cli.js:13407:8217)\n    at w (/$bunfs/root/src/entrypoints/cli.js:13407:7434)\n    at <anonymous> (/$bunfs/root/src/entrypoints/cli.js:13407:7764)\n    at ST (/$bunfs/root/src/entrypoints/cli.js:584:63170)\n    at goH (/$bunfs/root/src/entrypoints/cli.js:584:76271)","time…

Note: Content was truncated.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗