Repository navigation
fix(fork): stop fork builds from resolving upstream versions from npm - #102
Merged
Merged
Conversation
Fork builds download CLI archives and SHA256SUMS from their own GitHub releases, but Update everything and NpmRelease queried npm's t3 package (which always belongs to upstream). Whenever upstream published a newer version on npm than the fork's release, servers tried to download that upstream version from the fork's GitHub releases and failed with HTTP 404. Skip npm t3 lookups on fork builds in both the web client (so new fork clients work against older fork servers) and NpmRelease on the server (so fork servers never return upstream npm versions to older clients). Verified: vp test run (cliRelease, npmRelease, updateEverything.logic), GITHUB_REPOSITORY=collissimo/t3code server+web build, vp run check:changed origin/collin/main Co-Authored-By: Gemini 4 Neon <noreply@google.com>
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.
Fork builds download CLI archives and
SHA256SUMSfrom their own GitHub releases, butUpdate everythingandNpmReleasestill queried npm'st3package (which belongs to upstreampingdotgg/t3code). Whenever upstream published a newer version on npm than the fork's offered release, servers were told to install that upstream version from the fork's GitHub releases and failed with HTTP 404 onSHA256SUMS.isForkReleaseRepositoryandIS_FORK_RELEASE_BUILDfrom@t3tools/shared/cliRelease.npmReleaseAtomon fork builds inuseUpdateEverythingandstableServerReleaseAtomso fork desktop clients keep the fork release offered by their own updater feed (even when updating an older fork server).nullfromNpmRelease.makeon fork server builds without querying npm so fork servers never hand back upstream versions to older clients.Gemini 4 Neon (Antigravity)