claude-code - 💡(How to fix) Fix [BUG]/ultrareview consumes free quota when remote session fails (timeout)

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 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?

What happened

Ran /ultrareview on master (7 files, 8024 insertions / 3081 deletions). The remote session exceeded the 30-minute cap and returned no output:

Remote review failed: remote session exceeded 30 minutes

When I went to retry, the prompt showed "Free ultrareview 2 of 3" — the failed run had consumed one of my three free uses despite producing no review output.

Expected

Failed remote sessions (timeouts, infrastructure errors, no output produced) should not count against the free quota. Quota should only decrement on successful completion.

Actual

Quota decremented from 3 → 2 on a run that returned no findings.

Repro

  1. Run /ultrareview on a branch large enough to trigger the 30-minute timeout
  2. Wait for the failure notification
  3. Re-invoke /ultrareview — counter shows "2 of 3" instead of "1 of 3"

Environment

  • Claude Code CLI on Windows 11
  • Branch: master, scope: 7 files changed, 8024+/3081-
  • Failed session: session_01At4ncgihLyqaUh5YntF4pw

Suggested fix

Refund quota automatically when the remote session terminates without producing review output (timeout, crash, cancel-before-start). Alternatively, surface a clear "this run will not count" message before the user re-invokes.

What Should Happen?

not be charged for failed sessions

Error Messages/Logs

Steps to Reproduce

<img width="2222" height="1070" alt="Image" src="https://github.com/user-attachments/assets/9d644a6e-c0c4-4477-953c-b930f2e7d9d8" />

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.119 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

No response

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 consumes free quota when remote session fails (timeout)