@devries-cameron20 / t3code-1 / commits / 375da0fb9a
Fork 0

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

test(server): restart replay tests no longer hang on a leftover checkpoint capture (#24851)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Theo Browne committed Oct 25, 2026 at 04:09 UTC 375da0fb9a20dfdbd2eb2db99050341fc30f3a23
1 file changed +4 -3
apps/server/src/orchestration-v2/testkit/OrchestratorReplayRecovery.integration.test.ts
+4 -3
@@ -243,7 +243,8 @@ const runCursorRecovery = Effect.fn("runCursorRecovery")(function* (input: {
243 runtimePolicyOverride: { cwd: tempDir },
244 },
245 harness,
246 - options,
246 + // A real restart requeues effects, like checkpoint capture, the first runtime left running.
247 + { ...options, recoverOnStartup: true },
248 ),
249 );
250
@@ -336,7 +337,7 @@ describe("orchestrator replay recovery", () => {
337 runtimePolicyOverride: { cwd: workspace },
338 },
339 harness,
339 - options,
340 + { ...options, recoverOnStartup: true },
341 );
342
343 assertBaseProjection({
@@ -436,7 +437,7 @@ describe("orchestrator replay recovery", () => {
437 runtimePolicyOverride: { cwd: workspace },
438 },
439 harness,
439 - options,
440 + { ...options, recoverOnStartup: true },
441 ),
442 );
443 yield* assertComplete;