[Bug] Anthropic API Error: Dedup stage crash on /ultrareview with no findings and misleading billing

Resolved 💬 2 comments Opened Apr 29, 2026 by kale222 Closed May 30, 2026

Bug Description
Three consecutive /ultrareview runs on the same PR all crashed at the dedup stage with no findings emitted. Each was billed as Extra Usage. - Repo: kale222/dboc-v1 (private) - PR: #5 — 62 files, 2,418 insertions, 1 deletion (Recharts wrapper package) - Claude Code version: 2.1.123 - OS: Windows 11 - GitHub App: Claude GitHub App installed, scoped to this repo - Auth: gh CLI authenticated, repo, workflow, read:org, gist scopes Session IDs (all three crashed at the dedup stage): - 01FyTddvPzs8gscK31MPVX8T - 014UYnjJNmWoZXRZrPD3VzBj - 019Lqber8Zx5ptW9uuKYzPGH Error returned to client (identical for all three): {"error":"Review crashed before producing findings. See session logs for details."} Expected: Either the review completes and emits findings, OR a clean error explaining what failed (cap exceeded, oversized diff, etc.). The current generic crash message gives no actionable signal. Impact: Three Extra Usage charges for zero output. Refund request alongside this report.

Environment Info

  • Platform: win32
  • Terminal: vscode
  • Version: 2.1.123
  • Feedback ID: 3f3fc21b-185d-47ee-a3f8-c4e10ab98111

Errors

[{"error":"MaxFileReadTokenExceededError: File content (55257 tokens) exceeds maximum allowed tokens (25000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n    at Su7 (B:/~BUN/root/src/entrypoints/cli.js:4908:12810)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T08:03:39.681Z"},{"error":"Error: EISDIR: illegal operation on a directory, read\n    at readSync (unknown)\n    at readSync (B:/~BUN/root/src/entrypoints/cli.js:55:1227)\n    at btH (B:/~BUN/root/src/entrypoints/cli.js:127:10601)\n    at xm (B:/~BUN/root/src/entrypoints/cli.js:128:181)\n    at yG (B:/~BUN/root/src/entrypoints/cli.js:130:54)\n    at W2A (B:/~BUN/root/src/entrypoints/cli.js:9030:8673)\n    at j (B:/~BUN/root/src/entrypoints/cli.js:9030:7826)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:9030:8220)\n    at B2 (B:/~BUN/root/src/entrypoints/cli.js:517:63724)\n    at DDH (B:/~BUN/root/src/entrypoints/cli.js:517:76931)","timestamp":"2026-04-29T08:12:42.108Z"},{"error":"Error: Request was aborted.\n    at q0q (B:/~BUN/root/src/entrypoints/cli.js:5491:8020)\n    at f (B:/~BUN/root/src/entrypoints/cli.js:279:16397)\n    at abort (unknown)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:2714:7656)\n    at abort (unknown)\n    at T (B:/~BUN/root/src/entrypoints/cli.js:9222:19026)\n    at N (B:/~BUN/root/src/entrypoints/cli.js:9222:19242)\n    at vt6 (B:/~BUN/root/src/entrypoints/cli.js:536:32754)\n    at handleTerminalFocus (B:/~BUN/root/src/entrypoints/cli.js:542:2039)\n    at m21 (B:/~BUN/root/src/entrypoints/cli.js:540:1997)","timestamp":"2026-04-29T08:19:02.330Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:120:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:119:3321)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:122:2467)\n    at async uo6 (B:/~BUN/root/src/entrypoints/cli.js:465:4271)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T08:19:22.366Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at Yw9 (B:/~BUN/root/src/entrypoints/cli.js:2823:17142)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T08:19:32.301Z"},{"error":"Error: Failed to fetch version from https://downloads.claude.ai/claude-code-releases/latest: ECONNREFUSED\n    at Yw9 (B:/~BUN/root/src/entrypoints/cli.js:2823:17142)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T08:19:32.301Z"},{"error":"Error: ENOENT: no such file or directory, unlink 'C:\\Users\\kaled\\AppData\\Local\\Temp\\claude\\C--Users-kaled-DBOC---Version-1\\be89957b-6dab-48ee-83bc-2db9834a59d8\\tasks\\a4e8c8d5dfd656e6c.output'\n    at async <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:8754:299)","timestamp":"2026-04-29T08:21:48.346Z"},{"error":"AxiosError: timeout of 5000ms exceeded\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:120:13313)\n    at emit (node:events:92:22)\n    at <anonymous> (B:/~BUN/root/src/entrypoints/cli.js:119:3321)\n    at request (B:/~BUN/root/src/entrypoints/cli.js:122:2467)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-29T09:14:52.794Z"}]

View original on GitHub ↗

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