Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/store-conformance / verifySoakHistory

Function: verifySoakHistory()

ts
function verifySoakHistory(
   fixture, 
   events, 
runId): Promise<string[]>;

Defined in: packages/store-conformance/src/multi-process-soak.ts:713

The pure referee: rebuilds the serial history from the merged report events and diffs it against the actual post-storm store state. Returns every violation as a descriptive string; an empty array means the fencing promise held for the whole storm.

Parameters

ParameterType
fixtureFencedTranscriptsFixture
eventsreadonly SoakEvent[]
runIdstring

Returns

Promise&lt;string[]&gt;