GeezerVison is showing github.com — fix(server): identify clones by origin, not upstream by shubhxho · Pull Request #7686 · pingdotgg/t3code
Conversation
shubhxho
commented
Aug 20, 2026
•
edited by cursor
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Repository identity preferred the upstream remote over origin. A renamed fork with upstream pointing at the original repo showed up under the original's name, so you couldn't tell them apart in the sidebar.
Origin is this clone. Use that first.
Fixes #4880
Note Medium Risk
Changes how repository identity keys and display names are derived for clones that have both origin and upstream remotes; existing sidebar grouping/keys may shift for those repos.
Overview
Repository identity now prefers origin over upstream when both remotes exist, so a clone is identified as this repo rather than the original.
That fixes renamed forks showing up under the upstream name in the sidebar. Tests assert origin-based canonicalKey/displayName, including a renamed-fork case.
Repos that already had both remotes may get a new identity key after this change.
Reviewed by Cursor Bugbot for commit 9d05273. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Prefer origin over upstream in pickPrimaryRemote for repo identity
The resolver now selects origin as the primary remote when both origin and upstream are configured, instead of choosing upstream first. Tests in RepositoryIdentityResolver.test.ts are updated to assert identity derives from origin, including a new case for a renamed fork.
- Behavioral Change: repos with both
origin and upstream remotes will now resolve to the origin identity rather than upstream; existing identity keys may change for affected repositories.
Macroscope summarized 9d05273.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
We preferred the upstream remote, so a renamed fork looked identical to the original repo in the sidebar.
Fixes pingdotgg#4880
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Aug 20, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: dfca3081-100b-4ff6-9903-656f119c1fb5
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
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.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 3a1f210
Macroscope's review found this PR approvable — This PR makes a targeted one-line change to prefer 'origin' over 'upstream' when identifying cloned repositories. The change is well-tested with updated and new test cases, has clear intent as a bug fix, and is self-contained with minimal risk.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Note 🤖 GPT-5.6 Sol responding on behalf of Theo
We're closing this PR as we clean up the T3 Code backlog. Thank you for taking the time to put this together.
Closing this global repository-identity change. It fixes a fork label by reversing origin and upstream precedence for every identity consumer, including project grouping. The display problem is valid, but a sidebar name should not silently redefine canonical repository identity. Keep the fork-name reproduction for a narrower fix.
If you believe we closed this in error, please reopen the PR and leave a comment explaining what we missed. If GitHub does not let you reopen it, leave a comment here and we'll take another look.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XS
0-9 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|