Repository navigation
build: release the fork's server from greaber/t3code - #2
Merged
Merged
Conversation
The desktop app, `t3 service` self-update, `t3 update` and the install script downloaded server archives from pingdotgg/t3code, so every host ran upstream's build, and the fork had no way to publish its own. - Point CLI_RELEASE_REPOSITORY (the single source for the archive download base, release index and releases page) and scripts/install.sh at greaber/t3code. - Version the fork as <next upstream version>-grant.<n>, starting at 0.1.9-grant.1, so installs never collide with an upstream build in the runtime cache. Grant builds read as the stable track; version skew now compares full versions between two grant builds so -grant.2 offers an update to a host on -grant.1. install.sh's stable lookup accepts the suffix. - The manual update command no longer suggests `npx t3@<version>`, which does not exist for fork builds; it copies the install script one-liner pinned to the release tag. - Add .github/workflows/fork-release.yml: on a v*-grant.* tag (or by hand) it builds the JS bundle and the linux-x64, linux-arm64 and darwin-arm64 CLI archives on GitHub-hosted runners with upstream's build scripts, smoke-tests them, and publishes a release with SHA256SUMS. - Document versioning, cutting a release, building the desktop app and moving existing hosts to the fork in docs/operations/fork-release.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…at the fork - fork-release.yml refuses to publish when tag v<version> already exists on a different commit, so a manual run from a branch that moved on cannot attach archives that do not match the tag. - The service preflight's install hint and `t3 pair`'s protocol mismatch hint use the fork's install script; grant versions are not on t3.codes or npm. - The manual update toast says to start ~/.local/bin/t3, since an npm global t3 earlier on PATH would otherwise run. The installation prop that only chose between npm and npx wording is gone. - Move the grant version-skew test off the pingdotgg#7579 regression comment, and note in the fork release docs that upstream Blacksmith workflows should be disabled in the fork's Actions settings. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ease # Conflicts: # apps/web/src/components/ServerUpdateAction.tsx # apps/web/src/versionSkew.ts
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.
The desktop app and servers installed and updated the official server from pingdotgg/t3code, so fork fixes never reached remote hosts.
CLI_RELEASE_REPOSITORYisgreaber/t3code: the SSH launcher, self-update, boot service,t3 updateand the release index now use the fork's releases.<next upstream version>-grant.<n>; first version0.1.9-grant.1(server, desktop, web, contracts). Treated as the stable channel; hosts on upstream 0.1.7/0.1.8 are offered it..github/workflows/fork-release.yml(GitHub-hosted runners): on av*-grant.*tag or manual run, checks versions and that an existing tag points at the run's commit, builds linux-x64, linux-arm64 and darwin-arm64 server archives with upstream's scripts, smoke-tests them, and publishesv<version>with SHA256SUMS. The desktop app is built locally (docs/operations/fork-release.md).install.shat the version tag instead ofnpx t3@…or t3.codes; the toast says to start~/.local/bin/t3.vp test runcliRelease, versionSkew, install, servicePreflight, pair, updateEverything testsactionlint .github/workflows/fork-release.ymlsmoke-cli-archivet3 v0.1.9-grant.1)vp run check:changedpackages/ssh"concurrent launches" timeout (untouched; passes alone)Claude Opus 5.5 via Claude Code (T3 Code).