Repository navigation
Description
Problem
The executable inside J5's release archives is still called t3, upstream's name. The j5 command is a link to it (~/.local/bin/j5 → ~/.j5code/runtime/versions/<version>/t3), the server shows up as t3 in process lists, and the service unit runs t3 __service-launcher. FORK.md case 40 records this as deliberate, to keep the upstream diff small.
Jackson's ruling, 2026-10-02: J5 shouldn't point at t3 at all. Rename the executable to j5.
Scope
- In: the executable in the archive (
j5,j5.exe) and every place that locates it by name. - Out: the archive file names. They stay
t3-<version>-<platform>.tar.gz, because existing servers download them by that name when they self-update and users never see them.
Places that hardcode the name today:
apps/server/src/cloud/pinnedRuntime.ts(pinnedRuntimePaths)apps/server/src/serviceLauncher.ts(runtimePaths)packages/ssh/src/tunnel.ts(remote launch script)scripts/build-cli-archive.ts,scripts/smoke-cli-archive.tsscripts/install.sh,scripts/install.ps1- Paths J5 doesn't ship today but that read the same name: the desktop WSL runtime (
apps/desktop/src/wsl/DesktopWslEnvironment.ts,DesktopBackendConfiguration.ts,scripts/build-desktop-artifact.ts) and the npm packaging (scripts/build-npm-platform-packages.ts,packages/shared/src/legacyCliLauncher.ts).
Moving existing servers across (agreed with Jackson, 2026-10-03)
An update from the app never replaces the service's launcher, and an old launcher starts every new version as t3. Shipping a t3 link with no end date would leave the migration unfinished, so each existing server is moved once, by hand:
- The rename is launcher protocol 4. A server from before it is refused the update from the app with a message to run
j5 updateon its machine. j5 updateinstalls the new version and replaces the launcher. The new launcher also reads the old state-file format, which the old CLI writes, so that one command is enough.- Each archive carries a
t3 -> j5link only so a pre-rename server can run that check and that command. Removing it is Remove the t3 shortcut from release archives once pre-rename servers have updated #440.
Done when
- After the rename, nothing looks for a file named
t3, and the server runs asj5in process lists. - An install on the last
t3-named release is told, when it updates from the app, to runj5 updateon its machine, and that command moves it across. - FORK.md case 40 is rewritten to match, and the change is recorded in the register of divergences.
Related: #397 (CLI not reachable after install), #398 (CLI stays on the old version after an in-app update).
Activity
feat(cli): the release executable is named j5 (#414)