@devries-cameron20 / t3code Mirror · read-only / commits / 61a0ec9eb0
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 23, 19:15 UTC

fix(server): main's startup auto-pull test compiles again (#16357)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

Theo Browne committed Oct 5, 2026 at 21:22 UTC 61a0ec9eb0ad12dd4ef054d2dbab8b5eedbdaf06
1 file changed +4 -2
apps/server/src/serverRuntimeStartup.autoPull.test.ts
+4 -2
@@ -7,8 +7,8 @@ import * as Deferred from "effect/Deferred";
7 import * as Effect from "effect/Effect";
8 import * as Layer from "effect/Layer";
9 import * as Path from "effect/Path";
10 -import { HttpServer } from "effect/unstable/http";
11 -import * as NetAddress from "effect/unstable/net/NetAddress";
10 +import { HttpServer } from "effect/http";
11 +import * as NetAddress from "effect/net/NetAddress";
12
13 import * as EnvironmentAuth from "./auth/EnvironmentAuth.ts";
14 import * as ServiceLauncherClient from "./cloud/serviceLauncherClient.ts";
@@ -17,6 +17,7 @@ import * as ServerEnvironment from "./environment/ServerEnvironment.ts";
17 import * as Keybindings from "./keybindings.ts";
18 import * as EffectWorker from "./orchestration-v2/EffectWorker.ts";
19 import * as LegacyV1ThreadImporter from "./orchestration-v2/legacy/LegacyV1ThreadImporter.ts";
20 +import * as Orchestrator from "./orchestration-v2/Orchestrator.ts";
21 import * as ProjectStore from "./orchestration-v2/ProjectStore.ts";
22 import * as ProviderRuntimeRecovery from "./orchestration-v2/ProviderRuntimeRecoveryService.ts";
23 import * as ProviderSessionManager from "./orchestration-v2/ProviderSessionManager.ts";
@@ -113,6 +114,7 @@ it.effect("parks automatic pull until activation without delaying command readin
114 prepareForShutdown: Effect.void,
115 reconcile: () => Effect.succeed(recovery),
116 }),
117 + Layer.mock(Orchestrator.OrchestratorV2)({ recoverDelegatedTasks: Effect.void }),
118 Layer.mock(ProviderSessionManager.ProviderSessionManagerV2)({ shutdown: Effect.void }),
119 Layer.mock(AgentAwarenessRelay.AgentAwarenessRelay)({ start: () => Effect.void }),
120 Layer.mock(EffectWorker.OrchestrationEffectWorkerV2)({ runOnce: Effect.never }),