Use nightly remote T3 CLI in development

- Resolve dev remote package specs to `t3@nightly`
- Cover the dev fallback in sshEnvironment tests
This commit is contained in:
Julius Marminge authored and Julius Marminge committed 2026-04-27 18:14:50 -07:00
1 parent 3af684f852
commit fcf9ce0b10
2 files changed
+11

No files matched your search

+7
View File
@@ -207,6 +207,13 @@ describe("sshEnvironment", () => {
isDevelopment: true,
}),
).toBe("t3@nightly");
expect(
__test.resolveRemoteT3CliPackageSpec({
appVersion: "0.0.0-dev",
updateChannel: "latest",
isDevelopment: true,
}),
).toBe("t3@nightly");
});
it("uses the remote t3 runner for launch and pairing scripts", () => {
+4
View File
@@ -708,6 +708,10 @@ export function resolveRemoteT3CliPackageSpec(input: {
return `t3@${appVersion}`;
}
if (input.isDevelopment) {
return "t3@nightly";
}
return input.updateChannel === "nightly" ? "t3@nightly" : "t3@latest";
}