You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Desktop: T3CODE_TELEMETRY_ENABLED=false from the login shell is ignored for relay tracing (checked before the shell environment is read) #37772
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Steps to reproduce
Add export T3CODE_TELEMETRY_ENABLED=false to ~/.bash_profile.
Confirm the shell exports it: bash -ilc 'echo $T3CODE_TELEMETRY_ENABLED' prints false.
Make sure the variable is not set in launchd: launchctl unsetenv T3CODE_TELEMETRY_ENABLED.
Quit T3 Code fully (⌘Q) and open it from the Dock.
Check window.desktopBridge.getRelayTelemetryEnabled() in the renderer.
Expected: false. Relay tracing is off.
Actual: true. Relay tracing stays on.
Expected behavior
Expected: false. Relay tracing is off.
Actual behavior
Actual: true. Relay tracing stays on.
Impact
Minor bug or occasional failure
Version or commit
0.1.9 and 0.1.10-nightly.20261116.4800
Environment
macOS 26.7.3
Logs or stack traces
Span timings from ~/.t3/userdata/logs/desktop.trace.ndjson, in ms after launch:
Span Launch 1 Launch 2
desktop.shellEnvironment.installIntoProcess 0 0
desktop.shellEnvironment.refresh (start) 1 1
desktop.ipc.window.installRelayTelemetry 24 24 <-- flag decided here
desktop.shellEnvironment.publish 643 454 <-- shell values arrive
The relay telemetry flag is fixed roughly 450-650 ms before the shell environment shows up.
Screenshots, recordings, or supporting files
No response
Workaround
Set the variable in launchd so the app has it from the start:
launchctl setenv T3CODE_TELEMETRY_ENABLED false
To keep it after a reboot, add a LaunchAgent that runs the same command at login.
Activity
test(desktop): relay tracing honors a telemetry opt-out from the logi…