Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions apps/server/src/mcp/OrchestratorMcpService.activity.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as NodeServices from "@effect/platform-node/NodeServices";
import * as ThreadLaunch from "../orchestration-v2/ThreadLaunchService.ts";
import * as GitVcsDriver from "../vcs/GitVcsDriver.ts";
import * as ServerSettings from "../serverSettings.ts";
import {
EnvironmentId,
NodeId,
Expand Down Expand Up @@ -129,7 +130,7 @@ it("readThread prefers activity-run status over a newer cancelled queued run", a
updatedAt: now,
} as unknown as OrchestrationV2ThreadProjection;

const layer = OrchestratorMcpService.layer.pipe(
const layer = OrchestratorMcpService.layer.pipe(Layer.provide(ServerSettings.layerTest())).pipe(
Layer.provide(
Layer.mergeAll(
NodeServices.layer,
Expand Down Expand Up @@ -197,7 +198,7 @@ it("readThread prefers waiting activity status over a newer cancelled queued run
updatedAt: now,
} as unknown as OrchestrationV2ThreadProjection;

const layer = OrchestratorMcpService.layer.pipe(
const layer = OrchestratorMcpService.layer.pipe(Layer.provide(ServerSettings.layerTest())).pipe(
Layer.provide(
Layer.mergeAll(
NodeServices.layer,
Expand Down Expand Up @@ -322,7 +323,7 @@ it("taskStatus returns task.providerInstanceId rather than the driver kind", asy
updatedAt: now,
} as unknown as OrchestrationV2ThreadProjection;

const layer = OrchestratorMcpService.layer.pipe(
const layer = OrchestratorMcpService.layer.pipe(Layer.provide(ServerSettings.layerTest())).pipe(
Layer.provide(
Layer.mergeAll(
NodeServices.layer,
Expand Down Expand Up @@ -423,7 +424,7 @@ it("readThread and sendToThread reach threads in other projects", async () => {
updatedAt: now,
}) as unknown as OrchestrationV2ThreadProjection;

const layer = OrchestratorMcpService.layer.pipe(
const layer = OrchestratorMcpService.layer.pipe(Layer.provide(ServerSettings.layerTest())).pipe(
Layer.provide(
Layer.mergeAll(
NodeServices.layer,
Expand Down
Loading
Loading