The best way to control Claude Code, Codex and more from any computer or phone
fix(cli): t3 up's retry and restart hints keep --base-dir (#30480)
spoukyii committed
Nov 5, 2026 at 20:31 UTC
40d7d48a889c591151ad7a0f6eb157317dc251fc
2 files changed
+5
-3
apps/server/src/cli/up.test.ts
+1
-1
@@ -221,7 +221,7 @@ it.layer(Layer.mergeAll(NodeServices.layer, NodeCrypto.layer, NetService.layer))
221
{
222
label: "a failed update keeps service.env matching the old service",
223
// The old service still runs, so no foreground server is offered.
224
- prints: "Fix that, then run `t3 up` again.",
224
+ prints: "Fix that, then run `t3 up --base-dir <baseDir>` again.",
225
installed: true,
226
status: { current: false },
227
installFails: true,
apps/server/src/cli/up.ts
+4
-2
@@ -367,8 +367,9 @@ const setUp = Effect.fn("cli.up")(function* (flags: {
367
if ("failed" in result && before.service.installed) {
368
// The old service still runs, so a foreground server would clash with it.
369
yield* restoreServiceEnv;
370
+ const { command } = yield* resolveHostCliCommand("up", baseDirArgs);
371
yield* Console.log(
371
- `Service setup failed: ${result.failed} Fix that, then run \`t3 up\` again.`,
372
+ `Service setup failed: ${result.failed} Fix that, then run \`${command}\` again.`,
373
);
374
} else if ("failed" in result) {
375
yield* printServeCommand(`Service setup failed: ${result.failed}`);
@@ -387,7 +388,8 @@ const setUp = Effect.fn("cli.up")(function* (flags: {
388
}),
389
).pipe(Effect.catchTags({ QuitError: () => Effect.succeed(false) })));
390
if (!confirmed) {
390
- yield* Console.log("Run `t3 service restart` to turn T3 Connect off.");
391
+ const { command } = yield* resolveHostCliCommand("service restart", baseDirArgs);
392
+ yield* Console.log(`Run \`${command}\` to turn T3 Connect off.`);
393
} else {
394
if (!interactive && !stopped) {
395
yield* Console.log("Restarting T3 Code. Running agent turns will stop.");