TypeScript
test(server): restart replay tests no longer hang on a leftover checkpoint capture (#24851)
Theo Browne375da0fb9a20
diff --git a/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts b/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.tsindex 2d441a74f31..d17b4075060 100644--- a/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts+++ b/apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts@@ -243,7 +243,8 @@ const runCursorRecovery = Effect.fn("runCursorRecovery")(function* (input: {runtimePolicyOverride: { cwd: tempDir },},harness,- options,+ // A real restart requeues effects, like checkpoint capture, the first runtime left running.+ { ...options, recoverOnStartup: true },),);@@ -336,7 +337,7 @@ describe("orchestrator replay recovery", () => {runtimePolicyOverride: { cwd: workspace },},harness,- options,+ { ...options, recoverOnStartup: true },);assertBaseProjection({@@ -436,7 +437,7 @@ describe("orchestrator replay recovery", () => {runtimePolicyOverride: { cwd: workspace },},harness,- options,+ { ...options, recoverOnStartup: true },),);yield* assertComplete;