Skip to content

Commit a1eda74

Browse files
committed
fix(test): keep replay harness within legacy import boundary
1 parent c430548 commit a1eda74

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

‎apps/server/src/orchestration-v2/testkit/ProviderReplayHarness.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import * as CheckpointStore from "../../checkpointing/CheckpointStore.ts";
1515
import * as ServerConfig from "../../config.ts";
1616
import * as SqlitePersistence from "../../persistence/Sqlite.ts";
1717
import * as ServerSettings from "../../serverSettings.ts";
18-
import * as LegacyV1ThreadImporter from "../legacy/LegacyV1ThreadImporter.ts";
1918
import * as ThreadManagementService from "../ThreadManagementService.ts";
2019
import * as McpSessionRegistryTestkit from "../../mcp/McpSessionRegistry.testkit.ts";
2120
import * as VcsDriverRegistry from "../../vcs/VcsDriverRegistry.ts";
@@ -436,11 +435,6 @@ export function layerWithRegistry<Error>(
436435
);
437436
const layerThreadManagementProvided = ThreadManagementService.layer.pipe(
438437
Layer.provide(layerOrchestratorProvided),
439-
Layer.provide(
440-
Layer.mock(LegacyV1ThreadImporter.LegacyV1ThreadImporter)({
441-
ensureTranscript: () => Effect.succeed({ importedThreadCount: 0, importedMessageCount: 0 }),
442-
}),
443-
),
444438
);
445439
const layerContinuationWorkerProvided =
446440
options.runContinuationWorker === true

0 commit comments

Comments
 (0)