GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(server): a fork's PR list follows the gh default repository by tebiggs · Pull Request #30 · tebiggs/t3code

Conversation

@tebiggs

@tebiggs tebiggs commented Nov 5, 2026

Copy link
Copy Markdown
Owner

A checkout with both upstream and origin remotes always took upstream as its repository. In this fork that pointed the PR view (web, desktop and Android) at upstream's pull requests, and the fork's own PRs never appeared.

The repository identity resolver now prefers the remote that gh repo set-default chose (git config remote.<name>.gh-resolved base), then upstream, then origin as before. Checkouts without a gh default behave as they did. It reads the config in parallel with git remote -v, once per identity cache miss.

Runtime check against a fork checkout after gh repo set-default tebiggs/t3code:

before: {"remote":"upstream","canonicalKey":"github.com/pingdotgg/t3code","origin":"github.com/tebiggs/t3code"}
after:  {"remote":"origin","canonicalKey":"github.com/tebiggs/t3code","origin":null}

The sidebar's grouping key and display name don't change, because they already preferred the fork's origin.

Done by Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
tebiggs and others added 3 commits November 5, 2026 05:52
@tebiggs @claude
feat(server): a fork's PR list follows the gh default repository
ea00046
A checkout with both `upstream` and `origin` always took `upstream` as its
repository, so a fork's PR view listed upstream's pull requests and none of
its own. The resolver now prefers the remote `gh repo set-default` marked
(`remote.<name>.gh-resolved base`), then `upstream`, then `origin`.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tebiggs @claude
docs(fork): number the gh default repository entry
a2c5d98
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tebiggs @claude
test(server): gh default remote edge cases fall back to upstream
841441f
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@tebiggs
tebiggs merged commit bb2899d into main Nov 5, 2026
5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Nov 12, 2026
chore(fork): merge upstream v0.1.10-nightly.20261112.4580 #43
Merged
chore(fork): drop #30, upstream follows gh repo set-default #44
Merged
tebiggs added a commit that referenced this pull request Nov 13, 2026
@tebiggs
Merge pull request #44 from tebiggs/dedup/gh-default-remote
4f09fb5
chore(fork): drop #30, upstream follows gh repo set-default
@tebiggs tebiggs mentioned this pull request Nov 13, 2026
chore(fork): merge upstream v0.1.10-nightly.20261113.4630 #46
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@tebiggs
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.