claude-code - 💡(How to fix) Fix [Bug] /ultrareview quota consumed on failed runs: empty findings with worktree confusion and result-posting crash

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…

Error Message

[{"error":"MaxFileReadTokenExceededError: File content (50893 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 qm7 (/$bunfs/root/src/entrypoints/cli.js:4852:12789)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T01:25:08.879Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jamila/Desktop/Claude/Projects/eaglewatch/.worktrees/foundation. Did you mean form-registry.tsx?\n at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:24:17.262Z"},{"error":"McpToolCallError: ### Error\nError: Ref e118 not found in the current page snapshot. Try capturing new snapshot.\n at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:45:16.058Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jamila/Desktop/Claude/Projects/eaglewatch/.worktrees/foundation.\n at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:46:05.949Z"},{"error":"McpToolCallError: ### Error\nError: Ref e135 not found in the current page snapshot. Try capturing new snapshot.\n at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:53:25.930Z"},{"error":"McpToolCallError: ### Error\nError: Ref e132 not found in the current page snapshot. Try capturing new snapshot.\n at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:53:36.681Z"},{"error":"McpToolCallError: {"error":{"name":"HttpException","message":"Failed to run sql query: ERROR: 23503: insert or update on table \"guard_requests\" violates foreign key constraint \"guard_requests_filing_supervisor_id_fkey\"\nDETAIL: Key (filing_supervisor_id)=(c317f8fc-2fdc-4dd7-a159-2294101bf9d3) is not present in table \"users\".\n"}}\n at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T03:14:39.662Z"},{"error":"McpToolCallError: ### Error\nError: Protocol error (Page.handleJavaScriptDialog): No dialog is showing\n at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T03:41:29.178Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011Cb9UNGPDXuiBynWZFyiPn"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:21:13.339Z"},{"error":"Error: 429 {"type":"error","error":{"type":"rate_limit_error","message":"This request would exceed your account's rate limit. Please try again later."},"request_id":"req_011Cb9UNPy7zyeBjhhq3NwiP"}\n at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:21:18.189Z"},{…

Code Example

[{"error":"MaxFileReadTokenExceededError: File content (50893 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 qm7 (/$bunfs/root/src/entrypoints/cli.js:4852:12789)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T01:25:08.879Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jamila/Desktop/Claude/Projects/eaglewatch/.worktrees/foundation. Did you mean form-registry.tsx?\n    at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:24:17.262Z"},{"error":"McpToolCallError: ### Error\nError: Ref e118 not found in the current page snapshot. Try capturing new snapshot.\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:45:16.058Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jamila/Desktop/Claude/Projects/eaglewatch/.worktrees/foundation.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:46:05.949Z"},{"error":"McpToolCallError: ### Error\nError: Ref e135 not found in the current page snapshot. Try capturing new snapshot.\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:53:25.930Z"},{"error":"McpToolCallError: ### Error\nError: Ref e132 not found in the current page snapshot. Try capturing new snapshot.\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:53:36.681Z"},{"error":"McpToolCallError: {\"error\":{\"name\":\"HttpException\",\"message\":\"Failed to run sql query: ERROR:  23503: insert or update on table \\\"guard_requests\\\" violates foreign key constraint \\\"guard_requests_filing_supervisor_id_fkey\\\"\\nDETAIL:  Key (filing_supervisor_id)=(c317f8fc-2fdc-4dd7-a159-2294101bf9d3) is not present in table \\\"users\\\".\\n\"}}\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T03:14:39.662Z"},{"error":"McpToolCallError: ### Error\nError: Protocol error (Page.handleJavaScriptDialog): No dialog is showing\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T03:41:29.178Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb9UNGPDXuiBynWZFyiPn\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:21:13.339Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb9UNPy7zyeBjhhq3NwiP\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:21:18.189Z"},{
RAW_BUFFERClick to expand / collapse

Bug Description Two /ultrareview runs failed but consumed free quota — requesting refund.

1st: https://claude.ai/code/session_01VvUmFw93ZGNvSsfxhhudwp Returned empty findings []. Cause appears to be worktree confusion — my main branch lives in a .worktrees/ subdir; the launcher seems to have computed the diff from the project root (detached HEAD), not the actual branch.

2nd: https://claude.ai/code/session_01D39gTeP6WPqSBKRbjBraT5 Notification returned {"error":"Review crashed before producing findings"} but the UI actually shows 18 valid findings rendered. Looks like the result-reporting/posting step crashed after the review itself completed successfully.

Can both runs be refunded to my Max 5x quota?

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.1.122
  • Feedback ID: 5abd1bbc-d573-4c60-9791-cfa5b855d890

Errors

[{"error":"MaxFileReadTokenExceededError: File content (50893 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 qm7 (/$bunfs/root/src/entrypoints/cli.js:4852:12789)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T01:25:08.879Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jamila/Desktop/Claude/Projects/eaglewatch/.worktrees/foundation. Did you mean form-registry.tsx?\n    at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:24:17.262Z"},{"error":"McpToolCallError: ### Error\nError: Ref e118 not found in the current page snapshot. Try capturing new snapshot.\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:45:16.058Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/jamila/Desktop/Claude/Projects/eaglewatch/.worktrees/foundation.\n    at call (/$bunfs/root/src/entrypoints/cli.js:4865:7658)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:46:05.949Z"},{"error":"McpToolCallError: ### Error\nError: Ref e135 not found in the current page snapshot. Try capturing new snapshot.\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:53:25.930Z"},{"error":"McpToolCallError: ### Error\nError: Ref e132 not found in the current page snapshot. Try capturing new snapshot.\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T02:53:36.681Z"},{"error":"McpToolCallError: {\"error\":{\"name\":\"HttpException\",\"message\":\"Failed to run sql query: ERROR:  23503: insert or update on table \\\"guard_requests\\\" violates foreign key constraint \\\"guard_requests_filing_supervisor_id_fkey\\\"\\nDETAIL:  Key (filing_supervisor_id)=(c317f8fc-2fdc-4dd7-a159-2294101bf9d3) is not present in table \\\"users\\\".\\n\"}}\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T03:14:39.662Z"},{"error":"McpToolCallError: ### Error\nError: Protocol error (Page.handleJavaScriptDialog): No dialog is showing\n    at nF5 (/$bunfs/root/src/entrypoints/cli.js:4892:63)\n    at cB7 (/$bunfs/root/src/entrypoints/cli.js:4892:1409)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T03:41:29.178Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb9UNGPDXuiBynWZFyiPn\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:21:13.339Z"},{"error":"Error: 429 {\"type\":\"error\",\"error\":{\"type\":\"rate_limit_error\",\"message\":\"This request would exceed your account's rate limit. Please try again later.\"},\"request_id\":\"req_011Cb9UNPy7zyeBjhhq3NwiP\"}\n    at generate (/$bunfs/root/src/entrypoints/cli.js:11:57915)\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:50:4943)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-18T05:21:18.189Z"},{

Note: Content was truncated.

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] /ultrareview quota consumed on failed runs: empty findings with worktree confusion and result-posting crash