[Bug] Session limit consumed rapidly during API errors on quick refreshes

Resolved 💬 3 comments Opened Apr 24, 2026 by devpls Closed Apr 28, 2026

Bug Description
I only saw how my session limit was being consumed by 10% with each refresh I was doing quickly. How is that possible? At the same time I was getting errors from the API.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 2.1.112
  • Feedback ID: e43d029d-a45c-43a6-992d-6a5e85334788

Errors

[{"error":"Error: Executable not found in $PATH: \"typescript-language-server\"\n    at spawn (unknown)\n    at spawn (node:child_process:667:35)\n    at spawn (node:child_process:14:39)\n    at start (/$bunfs/root/src/entrypoints/cli.js:3156:20885)\n    at w (/$bunfs/root/src/entrypoints/cli.js:3156:24868)\n    at z (/$bunfs/root/src/entrypoints/cli.js:3156:30016)\n    at f (/$bunfs/root/src/entrypoints/cli.js:3156:30353)\n    at j (/$bunfs/root/src/entrypoints/cli.js:3156:30910)\n    at call (/$bunfs/root/src/entrypoints/cli.js:4774:1378)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:33:41.502Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgYL9guznJqVarjHYLT\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:07.466Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZGaA5bgqKzfRQmBhm\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:21.793Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZRd82QyJsEPMugf8K\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:22.555Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZP1Mvr96GPK1n6kit\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:22.951Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZXQdVxpkxsftB6FUa\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:23.701Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZVHPWbLMdTx4GTVQR\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:23.812Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZUqbWYX85ESraSCY7\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:24.777Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZfVJPWsDANhF6SJKY\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:25.877Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"Rate limited\"},\"request_id\":\"req_011CaNgZfuMnzqdqoxXVXb4E\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:52923)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-24T13:34:25.895Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\"…

Note: Content was truncated.

View original on GitHub ↗

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