claude-code - 💡(How to fix) Fix [BUG] /ultrareview returned empty findings ([]) on large-scope branch — free credit consumed [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

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#56201Fetched 2026-05-06 06:34:29
View on GitHub
Comments
1
Participants
2
Timeline
7
Reactions
0
Timeline (top)
labeled ×5commented ×1unlabeled ×1

Error Message

Empty [] returned with no error surfaced to the user, free credit consumed.

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Summary

/ultrareview returned empty findings ([]) on a large-scope branch review, and the free credit was still decremented (counter advanced from "1 of 3" to "2 of 3").
This matches the pattern reported in #50029, #53010, #54516, and #54871.

Environment

  • Platform: macOS (Darwin 25.4.0)
  • Shell: zsh
  • Claude Code: CLI
  • Model: Opus 4.7

Repro

  1. On branch review/phase-23-wide (target: main)
  2. Run /ultrareview (no args)
  3. CLI reports:
    • Free ultrareview 2 of 3.
    • Scope: 177 files changed, 22173 insertions(+), 8044 deletions(-)
    • Track URL issued, ~5–10 min cloud run
  4. Task notification arrives: status: completed, summary: Remote review completed
  5. Findings payload: []

Session details

  • Session ID: session_01BeLYYxmoA8VTjVrfTPP5DM
  • Branch: review/phase-23-widemain
  • Diff size: 177 files, +22173 / −8044
  • Result: empty findings array
  • Credit state after run: 2 of 3 free runs consumed

What Should Happen?

Expected

Either:

  • (a) Findings returned for a diff of this size, OR
  • (b) Free credit NOT decremented when the remote agent returns an empty payload
    on a non-trivial diff (server-side failure indistinguishable from a clean codebase).

Actual

Empty [] returned with no error surfaced to the user, free credit consumed.

Error Messages/Logs

Steps to Reproduce

This matches the pattern reported in #50029, #53010, #54516, and #54871.

Related

  • #50029, #53010, #54516, #54871, #49905

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.128

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

Request

Please restore the consumed free credit for session
session_01BeLYYxmoA8VTjVrfTPP5DM, and consider gating the credit decrement
on a non-empty response (or a clear "clean codebase" signal distinct from
silent server-side failure).

Related

  • #50029, #53010, #54516, #54871, #49905

extent analysis

TL;DR

The issue can be addressed by modifying the credit decrement logic to only decrement when a non-empty response is received or a clear "clean codebase" signal is present.

Guidance

  • Review the related issues (#50029, #53010, #54516, #54871, #49905) to understand the pattern of the problem and potential fixes.
  • Consider implementing a check for a non-empty response before decrementing the free credit to prevent unnecessary consumption.
  • Investigate the possibility of adding a clear "clean codebase" signal to distinguish between a silent server-side failure and a legitimate empty response.
  • Verify that the fix works by testing the /ultrareview command with a large-scope branch review and checking that the free credit is only decremented when a non-empty response is received.

Example

No code snippet is provided as the issue does not contain sufficient information about the implementation details.

Notes

The issue is reported to be a regression, and the last working version is not specified. The fix may need to be applied to the Anthropic API or the Claude Code CLI.

Recommendation

Apply a workaround by modifying the credit decrement logic to only decrement when a non-empty response is received or a clear "clean codebase" signal is present. This is recommended because it addresses the root cause of the issue and prevents unnecessary consumption of free credits.

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 returned empty findings ([]) on large-scope branch — free credit consumed [1 comments, 2 participants]