fix(web): open a fork PR against origin, not upstream - #412
Merged
Conversation
The thread PR panel used the project's primary repository identity, which prefers the upstream remote on a fork. #410 exists on patroza/t3code and not on pingdotgg/t3code, so detail failed as "Pull request not found". Open the panel from the change-request URL, and accept any of the checkout's remotes on the server so origin is still this project.
patroza
marked this pull request as ready for review
August 15, 2026 14:30
patroza
enabled auto-merge (squash)
August 15, 2026 14:30
patroza
disabled auto-merge
August 15, 2026 14:32
patroza
enabled auto-merge (squash)
August 15, 2026 14:32
patroza
disabled auto-merge
August 15, 2026 14:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
The thread PR panel used the project's primary repository identity. On a fork that prefers upstream, so
#410was loaded aspingdotgg/t3code#410.That number exists only on the fork:
patroza/t3codepingdotgg/t3codeThe agent on the left found the fork PR (
gh pr view 410withGH_REPO/ origin). The panel asked GitHub for the upstream number and showed Pull request not found.This is not the earlier App-install / wrapper issue. Ops #81 and product #408 already landed; t3vm is minting public-read fallback tokens.
Fix: open the panel from the change-request URL (
patroza/t3code), and accept any of the checkout's remotes on the server so origin is still this project.Test plan
vp test run apps/server/src/pullRequest/PullRequestService.test.ts apps/web/src/components/pullRequest/pullRequestDetail.logic.test.ts#410thread panel and confirm it loadspatroza/t3code#410pingdotgg/t3code