Repository navigation
Conversation
parseGitHubOwnerRepo only accepts a literal github.com host token, so multi-account remotes like git@github-work:org/repo failed PR merge with "Could not resolve GitHub owner/repo" even when HostName maps to ssh.github.com / github.com. After the sync parse miss, expand the remote host via ~/.ssh/config HostName (and ssh -G when needed) before classifying as github.com. Keep the original remote URL for Git transport so the correct IdentityFile still applies. Closes stablyai#10284
|
Warning Review limit reached
Next review available in: 21 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for jumping on this and for the initial SSH-alias implementation. #10361 has now merged with the same core fix plus runtime-scoped resolution for native, WSL, and SSH workspaces; retryable failure handling; case-sensitive alias caching; reconnect isolation; and GHES coverage. Closing this as superseded. |
Summary
github.comhost parse misses, expand SSH config Host → HostName (thenssh -Gwhen needed) so multi-account remotes likegit@github-work:owner/reporesolve to github.com.getOwnerRepoForRemote(local host only — SSH-provider remotes stay on the literal parser).IdentityFilestill applies.Fixes #10284.
Why
parseGitHubOwnerReporejects any host that is not literallygithub.com. SSH config Host aliases are common for multiple GitHub accounts; HostName is alreadygithub.com/ssh.github.com, but Orca never expanded it, so Squash and merge failed with “Could not resolve GitHub owner/repo for this repository” even though the PR UI worked.Test plan
pnpm exec vitest run --config config/vitest.config.ts src/main/github/github-remote-identity-parsing.test.ts(19)git@github-work:OWNER/REPOremote + Squash and merge succeeds when HostName maps to github.comScreenshots
No visual change.