test: expect cursor projection after recovery log append

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-11-03 22:46:29 -06:00
1 parent 6704f322cd
commit 664036ed7e
1 file changed
+1
@@ -213,6 +213,7 @@ describeEmbeddedPostgres("native runner restart recovery with real processes", (
.resolves.toMatchObject({ claims: [], awaitingEvidenceRunIds: [waiting.runId] });
} finally { await heartbeat.drainActiveRunExecutions(); }
expect(await state()).toEqual({ ...before, run: [{ ...before.run[0],
eventCursorProjectionSeq: before.run[0].nextEventSeq,
nextEventSeq: before.run[0].nextEventSeq + 1, updatedAt: expect.any(Date) }] });
await waiting.db.update(issues).set({ executionRunId: null }).where(eq(issues.id, holder.issueId));