Skip to content

fix(ssh): install the remote release runtime under T3CODE_HOME - #4

Merged
PixelHabits merged 2 commits into
devfrom
remote-runtime-home
Sep 15, 2026
Merged

PixelHabits merged 2 commits into
devfrom
remote-runtime-home

Conversation

@PixelHabits

Copy link
Copy Markdown
Owner

Problem

Upstream commit 13c134c (pingdotgg#11319) added a remote runner that downloads the self-contained t3 release archive and unpacks it into $HOME/.t3/runtime/versions/<version>. That path ignores T3CODE_HOME, so a remote with a relocated home gets ~/.t3 back, and the runtime lands outside the home the server and t3 service install use.

Change

  • Runner derives T3_HOME="${T3CODE_HOME:-$HOME/.t3}" and installs under $T3_HOME/runtime/versions. Same rule as the launch, pairing, stop and log scripts from fix(ssh): honor T3CODE_HOME on the remote host #1.
  • The XDG default snippet exports T3CODE_HOME after resolving it, so the runner child sees the same home as its launcher.
  • Test expectations updated.

The runner part is upstream material, same shape as #1.

Verification

  • vp test run packages/ssh: 35 passed
  • lint clean on both files

Context

dev was rebased onto upstream/main (106 new commits, through ae53072). Your three commits sit at the tip. The desktop typecheck error in apps/desktop/src/updates/updatesTestHarness.ts is upstream's, the file is identical there.

The remote runner unpacks the t3 release archive into
$HOME/.t3/runtime/versions, which ignores T3CODE_HOME and lands next
to a server whose home already moved. Derive the runtime directory from
${T3CODE_HOME:-$HOME/.t3} like the other remote scripts, and export the
XDG default so the runner child sees the same home as its launcher.
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:S labels Sep 15, 2026
@PixelHabits
PixelHabits merged commit 5dee903 into dev Sep 15, 2026
7 of 15 checks passed
@PixelHabits
PixelHabits deleted the remote-runtime-home branch September 15, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant