claude-code - 💡(How to fix) Fix [BUG] /ultrareview fails with "no GitHub remote" on properly configured HTTPS origin (v2.1.119) [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#52744Fetched 2026-04-24 10:40:46
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Timeline (top)
labeled ×3commented ×1

/ultrareview fails with a "no GitHub remote detected" style error on a repository that has a properly configured HTTPS origin, a valid merge-base with main, and a live GitHub Pull Request. All four documented invocation styles fail:

  • /ultrareview (no args)
  • /ultrareview main
  • /ultrareview origin/main
  • /ultrareview <PR#> (where the PR exists on origin)

Tried variants cover the full surface documented in v2.1.86+ release notes.

Error Message

/ultrareview fails with a "no GitHub remote detected" style error on a same class of error.

  • #49458 — similar symptom shape but the reported error is about The exact error string from the CLI was not captured verbatim in the

Root Cause

/ultrareview fails with a "no GitHub remote detected" style error on a repository that has a properly configured HTTPS origin, a valid merge-base with main, and a live GitHub Pull Request. All four documented invocation styles fail:

  • /ultrareview (no args)
  • /ultrareview main
  • /ultrareview origin/main
  • /ultrareview <PR#> (where the PR exists on origin)

Tried variants cover the full surface documented in v2.1.86+ release notes.

Fix Action

Workaround

Fell back to a local multi-agent review flow. No cloud review was possible on this repo in this session.

Code Example

$ git merge-base main <feature-branch>
<commit>                            # succeeds

$ git remote -v
origin  https://github.com/<owner>/<repo>.git (fetch)
origin  https://github.com/<owner>/<repo>.git (push)

$ git config --get branch.main.remote    # origin
$ git config --get branch.main.merge     # refs/heads/main
$ git symbolic-ref refs/remotes/origin/HEAD    # refs/remotes/origin/main

$ gh repo view --json name,owner
{"name":"<repo>","owner":{"login":"<owner>"}}    # gh authenticated
RAW_BUFFERClick to expand / collapse

Summary

/ultrareview fails with a "no GitHub remote detected" style error on a repository that has a properly configured HTTPS origin, a valid merge-base with main, and a live GitHub Pull Request. All four documented invocation styles fail:

  • /ultrareview (no args)
  • /ultrareview main
  • /ultrareview origin/main
  • /ultrareview <PR#> (where the PR exists on origin)

Tried variants cover the full surface documented in v2.1.86+ release notes.

Environment

  • Claude Code: 2.1.119
  • OS: macOS (Darwin 25.1.0)
  • Shell: zsh
  • Repo: private, HTTPS origin on github.com
  • Branch under review: a 13-commit feature branch diverged from main
  • Target PR: a live Draft PR (base=main, head=feature branch)

Local verification — all healthy

$ git merge-base main <feature-branch>
<commit>                            # succeeds

$ git remote -v
origin  https://github.com/<owner>/<repo>.git (fetch)
origin  https://github.com/<owner>/<repo>.git (push)

$ git config --get branch.main.remote    # origin
$ git config --get branch.main.merge     # refs/heads/main
$ git symbolic-ref refs/remotes/origin/HEAD    # refs/remotes/origin/main

$ gh repo view --json name,owner
{"name":"<repo>","owner":{"login":"<owner>"}}    # gh authenticated

Nothing in the local environment suggests a broken remote.

Expected

/ultrareview should detect origin on https://github.com/... and proceed with the cloud review, either on the working diff or the specified PR.

Actual

The command returns immediately with a "no GitHub remote" / "no GitHub project context" style failure. All four argument shapes produce the same class of error.

Workaround

Fell back to a local multi-agent review flow. No cloud review was possible on this repo in this session.

Related issues

  • #49458 — similar symptom shape but the reported error is about merge-base with main, which succeeds in our case
  • #49534 — feature request to add directory validation
  • #49510 — commands not visible despite eligibility
  • #50029 — empty findings on large repos (different failure mode)

None of the above are exact matches: in our case the command is visible, quota is available, merge-base does resolve, and the remote is a standard HTTPS GitHub origin — yet detection still fails.

Note

The exact error string from the CLI was not captured verbatim in the failing session. Following the reproduction above on any similarly configured HTTPS-origin repo with a live PR should reproduce it; happy to capture the precise output on request.

extent analysis

TL;DR

The issue may be resolved by checking the origin remote configuration and ensuring that the GitHub repository is properly linked to the local repository.

Guidance

  • Verify that the origin remote is correctly configured by running git remote -v and checking that the URL matches the expected GitHub repository URL.
  • Check the GitHub repository settings to ensure that the repository is properly linked to the local repository and that the main branch is set as the default branch.
  • Try running the command with the --verbose flag to get more detailed output and potentially identify the root cause of the issue.
  • Consider checking the Claude Code version and ensuring that it is up-to-date, as the issue may be related to a version-specific bug.

Example

No code snippet is provided as the issue is related to configuration and repository settings rather than code.

Notes

The issue may be specific to the Claude Code version (2.1.119) or the repository configuration, and further investigation may be needed to determine the root cause.

Recommendation

Apply workaround: Try re-configuring the origin remote and re-running the command to see if the issue is resolved. If the issue persists, consider reaching out to the Claude Code support team for further assistance.

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 fails with "no GitHub remote" on properly configured HTTPS origin (v2.1.119) [1 comments, 2 participants]