Skip to content

fix(fork): stop fork builds from resolving upstream versions from npm - #102

Merged
collissimo merged 1 commit into
collin/mainfrom
t3/fix-upstream-release-checksum-url
Dec 5, 2026
Merged

collissimo merged 1 commit into
collin/mainfrom
t3/fix-upstream-release-checksum-url

Conversation

@collissimo

Copy link
Copy Markdown
Owner

Fork builds download CLI archives and SHA256SUMS from their own GitHub releases, but Update everything and NpmRelease still queried npm's t3 package (which belongs to upstream pingdotgg/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 on SHA256SUMS.

  • Export isForkReleaseRepository and IS_FORK_RELEASE_BUILD from @t3tools/shared/cliRelease.
  • Skip npmReleaseAtom on fork builds in useUpdateEverything and stableServerReleaseAtom so fork desktop clients keep the fork release offered by their own updater feed (even when updating an older fork server).
  • Return null from NpmRelease.make on fork server builds without querying npm so fork servers never hand back upstream versions to older clients.

Gemini 4 Neon (Antigravity)

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>
@collissimo
collissimo merged commit b6132e4 into collin/main Dec 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant