Skip to main content

toReceipt()

toReceipt(graph): RunReceipt

Defined in: receipts.ts:77

Walk an execution graph and produce a structured RunReceipt.

Steps are sorted by startTime. Summary counts classify each node as succeeded (completed), failed (failed | hung | timeout), or skipped (none currently — reserved for future use). attempted equals the total node count.

Parameters

ParameterTypeDescription
graphExecutionGraphA built (or snapshot) execution graph.

Returns

RunReceipt

A frozen run receipt.