Skip to content

rulvar API reference


rulvar API reference / @rulvar/testing / recordOrchestratorCrash

Function: recordOrchestratorCrash()

ts
function recordOrchestratorCrash(): Promise<{
  checkpoints: Record<string, string>;
  entries: JournalEntry[];
}>;

Defined in: packages/testing/src/cassettes/m6-orchestrator.ts:61

Phase 1: record the pre-crash journal. The transcripts store carries the boundary checkpoint the resume restores from; the recorder keeps it in memory because the cassette pins only journal bytes (checkpoint blobs are engine-internal at-least-once state).

Returns

Promise<{ checkpoints: Record&lt;string, string&gt;; entries: JournalEntry[]; }>