# Sidebar update comparison

Both sides: Linux x64, packaged Nightly AppImage, Xvfb, light theme, 1440×900 renderer viewport. Each side has separate fresh HOME and T3CODE_HOME directories. No application database was copied.

Build each commit with:

```sh
T3CODE_DEV_SEED=0 node scripts/build-desktop-artifact.ts --platform linux --target AppImage --arch x64 --build-version 0.1.14-nightly.20261128.5399 --mock-updates --mock-update-server-port 4187
```

Serve nightly-linux.yml with the repository's scripts/mock-update-server.ts on localhost:4187. It announces 0.1.14-nightly.20261202.5597; intentionally supply no AppImage binary.

The remote is the real published t3@0.1.12 npm release. Start it with an isolated base directory and port 4188. To expose real update support, run the release's own service launcher in the foreground: put its downloaded runtime directory under that base directory's runtime/versions/0.1.12, initialize runtime/service-state.json to {"protocol":3,"activeVersion":"0.1.12"}, and execute its t3 binary with __service-launcher --base-dir "$REMOTE_STATE". Set T3CODE_PORT=4188, T3CODE_HOST=127.0.0.1, T3CODE_ENVIRONMENT_LABEL='Stable remote', T3CODE_HOME="$REMOTE_STATE", and T3CODE_DEV_SEED=0. This runs the genuine launcher and server, without registering an OS service. The well-known environment endpoint reports serverVersion=0.1.12 and serverSelfUpdate=boot-service.

Create only a synthetic project, titled 'Stable server project', using t3 project add/rename. Mint separate t3 pair URLs for the two app clients.

Extract each AppImage and launch its packaged t3code executable under headless-desktop with APPIMAGE pointing to the corresponding AppImage. Set fresh HOME/T3CODE_HOME, T3CODE_ENVIRONMENT_LABEL='This computer', T3CODE_DEV_SEED=0, T3CODE_DESKTOP_MOCK_UPDATES=1, and T3CODE_DESKTOP_MOCK_UPDATE_SERVER_PORT=4187. drive.cjs launches with Chromium remote debugging, attaches Playwright over CDP and exposes page to commands supplied on stdin. Node inspector is disabled in packaged builds, so Electron.launch is unsuitable.

Finish onboarding with 'Start without an agent'. Open Settings > Environments > Add environment, paste the complete pairing URL in Host, add the environment, and close Settings. Wait for the remote project and the sidebar button 'Update 0.1.14-nightly.20261202.5597 ready to download'. interaction.cjs records these UI commands in reusable form.

On both sides, record.cjs hovers the sidebar update button, clicks it, and expands '1 skipped' if present. It captures the same nine-second interaction at 8 fps and saves a still after two identical screenshots 500 ms apart.

Base e846e1f127fc5583d4580efd32b662e4b9ed33f5: no dialog opens. The real desktop updater immediately requests /T3-Code-Nightly-x86_64.AppImage; the feed returns 404 and the app shows 'Could not download update'. The base still was captured during a retry of the same failed download, after two identical screenshots 500 ms apart, because the toast had expired by the end of the initial nine-second video. The video contains the first click and its error toast.

Head f6798ceab5284e8fc71fb66a376f6c6654d326d3: the dialog opens, lists This computer / This app, and expands '1 skipped' to show Stable remote / on the stable channel. No download is started by opening this dialog.

No provider turn, desktop install, or actual remote update was attempted. The mock feed is the repository's documented update mechanism; the remote server and desktop updater are real published/built software, not stubs.
