authorgravatar for me@t3.ggTheo Browne <me@t3.gg> 2026-10-05 21:22:20-07:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2026-10-05 21:22:20-07:00
log61a0ec9eb0ad12dd4ef054d2dbab8b5eedbdaf06
treeaa95907c5cf5378eea3c8bdf743d758f94768abb
parent71964e670ff212006ebb8de26585649c2adced68
signature Signed by PGP key B5690EEEBB952194

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

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

1 files changed, 4 insertions(+), 2 deletions(-)

apps/server/src/serverRuntimeStartup.autoPull.test.ts+4-2
......@@ -7,8 +7,8 @@ import * as Deferred from "effect/Deferred";
77import * as Effect from "effect/Effect";
88import * as Layer from "effect/Layer";
99import * as Path from "effect/Path";
10import { HttpServer } from "effect/unstable/http";
11import * as NetAddress from "effect/unstable/net/NetAddress";
10import { HttpServer } from "effect/http";
11import * as NetAddress from "effect/net/NetAddress";
1212
1313import * as EnvironmentAuth from "./auth/EnvironmentAuth.ts";
1414import * as ServiceLauncherClient from "./cloud/serviceLauncherClient.ts";
......@@ -17,6 +17,7 @@ import * as ServerEnvironment from "./environment/ServerEnvironment.ts";
1717import * as Keybindings from "./keybindings.ts";
1818import * as EffectWorker from "./orchestration-v2/EffectWorker.ts";
1919import * as LegacyV1ThreadImporter from "./orchestration-v2/legacy/LegacyV1ThreadImporter.ts";
20import * as Orchestrator from "./orchestration-v2/Orchestrator.ts";
2021import * as ProjectStore from "./orchestration-v2/ProjectStore.ts";
2122import * as ProviderRuntimeRecovery from "./orchestration-v2/ProviderRuntimeRecoveryService.ts";
2223import * as ProviderSessionManager from "./orchestration-v2/ProviderSessionManager.ts";
......@@ -113,6 +114,7 @@ it.effect("parks automatic pull until activation without delaying command readin
113114 prepareForShutdown: Effect.void,
114115 reconcile: () => Effect.succeed(recovery),
115116 }),
117 Layer.mock(Orchestrator.OrchestratorV2)({ recoverDelegatedTasks: Effect.void }),
116118 Layer.mock(ProviderSessionManager.ProviderSessionManagerV2)({ shutdown: Effect.void }),
117119 Layer.mock(AgentAwarenessRelay.AgentAwarenessRelay)({ start: () => Effect.void }),
118120 Layer.mock(EffectWorker.OrchestrationEffectWorkerV2)({ runOnce: Effect.never }),