Repository navigation
Description
What happened
On Linux, T3 Code had been running as a client of the background service (t3code.service, Local environment off) since Oct 29. On Nov 4 the AppImage auto-updated to Nightly 0.1.8-nightly.20261104.4192. After that, every launch sat on the splash screen (T3 logo on black) indefinitely. No dialog appeared, the window never loaded, and Settings couldn't be reached to turn Local environment back off.
Two things combined:
- The update lost the client-mode setting.
desktop-settings.jsonwas rewritten at 17:07, two minutes after the AppImage was replaced at 17:05. The new file no longer containedlocalEnvironmentEnabled: false, andserverExposureModeandupdateChannelwere also gone. It held onlymainWindowBounds,mainWindowMaximizedandupdateChannelConfiguredByUser.desktop.trace.ndjsonshows 85desktop.ipc.localEnvironment.getEnabledspans and nosetLocalEnvironmentEnabledcall, so the setting doesn't appear to have been changed from the UI. - With Local environment back on, the desktop backend can never start, and on Linux the app hangs instead of reporting it. The background service owns
~/.t3/userdata, so the backend child exits with code 78 on every launch:The renderer then keeps failingServerAlreadyRunningError: A T3 Code server already owns /home/<user>/.t3/userdata. Stop that server, or use a separate T3 home and pair with it, then retry. No server was stopped.GET http://127.0.0.1:3774/.well-known/t3/environment(transport error) and logsDesktopLocalEnvironmentAuthBackendNotConfiguredErrorfordesktop:get-local-environment-bearer-token. The window stays on the splash screen. Home-ownership dialog gives the same advice for an old and a current background service, and never mentions turning off Local environment #22820 describes the same owner-lock conflict on macOS, where at least a "This T3 home is unavailable" dialog appears and the app quits. Here neither happened.
Steps to reproduce
- On Linux, install the background service (
t3 service install) and turn off Settings › Connections › Local environment in the desktop app, so the app works as a client. - Let the desktop AppImage auto-update to a newer nightly. In this case: an unrecorded earlier nightly, with runtime 0.1.4-nightly.20261028.3841 → 0.1.8-nightly.20261104.4192.
- Reopen the app.
localEnvironmentEnabledis gone fromdesktop-settings.json, and the app hangs on the splash screen.
I haven't confirmed which write dropped the key (the update or the first launch after it). The settings schema is the same in both versions, so it may be a whole-document fallback to defaults followed by a setMainWindowBounds write.
Expected
- Updates keep
localEnvironmentEnabled: false, along with the other persisted desktop settings. - If the backend exits with
ServerAlreadyRunningErrorwhile a current service owns the home, the app should offer to turn off Local environment and connect to that service (as Home-ownership dialog gives the same advice for an old and a current background service, and never mentions turning off Local environment #22820 suggests), and should never hang on the splash screen.
Version
Desktop and service: 0.1.8-nightly.20261104.4192 (AppImage, Nightly channel). Previous service runtime: 0.1.4-nightly.20261028.3841.
Environment
Zorin OS 18 (Ubuntu 24.04 base), x86_64, GNOME on X11, AppImage. Background service via a systemd user unit (t3code.service). The app also has an SSH environment to another machine.
Workaround
With the app closed, set "localEnvironmentEnabled": false in ~/.t3/userdata/desktop-settings.json, keep t3code.service running, and reopen the app. It loads immediately and connects to its saved environments.
Related
#22820 (same owner-lock conflict on macOS, with a dialog), #22983, #20250, #9194.
Activity