claude-code - 💡(How to fix) Fix ultrareview: failed Find phase consumed free quota slot (empty results, ~10s heartbeats) [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#53252Fetched 2026-04-26 05:20:29
View on GitHub
Comments
1
Participants
2
Timeline
6
Reactions
0
Participants
Timeline (top)
labeled ×4commented ×1cross-referenced ×1

A /ultrareview invocation completed in a "Review failed" state with empty Find output, but my free quota was decremented. Requesting the slot be credited back.

Root Cause

Likely root cause (best guess)

Code Example

[heartbeat] 10:42:52
  [heartbeat] 10:43:02

  <remote-review>[]</remote-review>
RAW_BUFFERClick to expand / collapse

Summary

A /ultrareview invocation completed in a "Review failed" state with empty Find output, but my free quota was decremented. Requesting the slot be credited back.

Session

What happened

UI showed:

  • ✓ Set up cloud container
  • ✓ Cloned repository
  • ○ Run setup script — not run (no setup.sh existed yet)
  • ✓ Started Claude Code

Then Review failed:

  • ✓ Setup
  • ✗ Find — output was just two heartbeats then an empty array:
    [heartbeat] 10:42:52
    [heartbeat] 10:43:02
    
    <remote-review>[]</remote-review>
  • ○ Verify (not started)
  • ○ Dedupe (not started)

So Find ran for ~10 seconds, returned no findings, and the run halted as failed. The quota counter still went from "Free ultrareview 1 of 3" to "Free ultrareview 2 of 3" on the next invocation.

Likely root cause (best guess)

The diff was 692 files / 297,951 insertions because the main base branch was an empty initial commit (the repo had no prior history — first push). Reviewing "everything as additions" appears to be outside Find's working envelope. A subsequent slot used on a smaller scope (27 files, 6.5K lines) succeeded and returned 8 high-quality findings.

Suggested behavior

Either:

  1. Don't decrement quota on a Find failure (no findings produced ≠ a successful review).
  2. Or detect "diff too large / unreviewable scope" earlier and refuse to launch (clearer feedback than a silent empty-array failure).

Ask

Please credit back the 1 free slot from this failed run. Happy to provide more detail if useful.

Thanks!

extent analysis

TL;DR

The issue can be mitigated by adjusting the review scope to a smaller, more manageable size to prevent Find failures due to an excessively large diff.

Guidance

  • Verify that the review scope is reasonable by checking the number of files and lines in the diff before invoking the /ultrareview command.
  • Consider implementing a pre-review check to detect and handle large diffs, potentially by splitting the review into smaller scopes or providing an error message indicating the diff is too large.
  • If a review fails due to a large diff, check the quota counter to ensure it is not decremented unnecessarily.
  • Provide clearer feedback when a review fails due to an unreviewable scope, such as displaying an error message instead of a silent empty-array failure.

Example

No code snippet is provided as the issue does not require a specific code change, but rather a change in approach to handling large diffs.

Notes

The root cause of the issue appears to be related to the large diff size, which is outside the working envelope of the Find feature. The suggested behavior is to either not decrement the quota on a Find failure or detect the large diff earlier and refuse to launch the review.

Recommendation

Apply a workaround by adjusting the review scope to a smaller size to prevent Find failures. This approach is recommended as it allows the user to continue using the /ultrareview command while avoiding unnecessary quota decrements.

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