fix(runner): restore remote session checkpoints

This commit is contained in:
Dotta committed 2026-08-27 12:11:33 -05:00
1 parent 0bbabbaf1c
commit 42e8ac9d6f
5 files changed
+69 -5

No files matched your search

@@ -298,6 +298,20 @@ describe("verified native harness backups", () => {
},
});
const continuationExecution = {
...backupExecution,
binding: {
...backupExecution.binding,
runId: "run-2",
executionWorkspaceId: "run-2",
},
} as NativeExecutionInputV1;
expect(verifyNativeHarnessBackup({
root,
execution: continuationExecution,
runnerInstanceId: "runner-1",
})).not.toBeNull();
await writeFile(join(current, "codex-home", "sessions", "thread.jsonl"), "corrupt");
expect(verifyNativeHarnessBackup({
root,