mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-10-28 20:21:50 +01:00
fix(runner): restore remote session checkpoints
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user