1 parent 47c78fa commit 7e906f6Copy full SHA for 7e906f6
1 file changed
packages/pi-auto-dag/test/execution.test.ts
@@ -624,7 +624,7 @@ test("durable blocked/completed notifications retain stable IDs and settle deliv
624
assert.equal(completedRoundTrip.notifications.find(({ kind }) => kind === "completed")!.event_id, completedId);
625
assert.equal(completedRoundTrip.notifications.length, 3);
626
await assert.rejects(lifecycle.abort(project.root, "Too late"), /Cannot abort a completed run/);
627
- assert.equal((await readRunState(project.root, RUN_ID))!.phase, "completed");
+ assert.deepEqual(await readRunState(project.root, RUN_ID), completedRoundTrip);
628
await writeRunState(project.root, {
629
...completedRoundTrip,
630
notifications: completedRoundTrip.notifications.map((notification) => notification.kind === "completed"
0 commit comments