Skip to main content
Version: Current

StoreDifferentialTckOptions

@rotorsoft/act-root


@rotorsoft/act-root / act-tck/src / StoreDifferentialTckOptions

Type Alias: StoreDifferentialTckOptions

StoreDifferentialTckOptions = object

Defined in: libs/act-tck/src/store-differential-tck.ts:67

Options for runStoreDifferentialTck.

Properties​

name​

readonly name: string

Defined in: libs/act-tck/src/store-differential-tck.ts:69

Display name for the differential suite.


piiIsolation?​

readonly optional piiIsolation?: boolean

Defined in: libs/act-tck/src/store-differential-tck.ts:104

Whether the comparand adapters support the optional Store.forget_pii surface (and the pii field on commit). When true, the workload commits PII-bearing events and the differential asserts that forget_pii wipes them identically across adapters. All in-tree adapters implement it, so it defaults to true; a third-party store that opts out sets it false. Default true.


runs?​

readonly optional runs?: number

Defined in: libs/act-tck/src/store-differential-tck.ts:95

How many independent randomized workloads to generate and compare, each from a distinct seed (seed, seed + 1, …, seed + runs - 1). More runs widen the slice of the input space the differential explores; fewer keep durable-adapter suites fast. Default 8.


seed?​

readonly optional seed?: number

Defined in: libs/act-tck/src/store-differential-tck.ts:83

Base PRNG seed. Workload r of StoreDifferentialTckOptions.runs is built from seed + r, so the whole fuzz campaign is reproducible: the same seed ⇒ the same family of workloads ⇒ any divergence is deterministically replayable. Default 0xac7.


skip?​

readonly optional skip?: DifferentialSkips

Defined in: libs/act-tck/src/store-differential-tck.ts:111

Known-divergence gates — see DifferentialSkips. Each flag suppresses the assertions a currently-filed bug makes red so the differential stays green until the fix merges. Default: nothing skipped.


stores​

readonly stores: ReadonlyArray<DifferentialStore>

Defined in: libs/act-tck/src/store-differential-tck.ts:76

Two or more stores to drive in lockstep and compare. The first entry is the reference; every other store's normalized output must match it exactly. Pass InMemoryStore as the reference and the durable adapter(s) as the comparands.


streams?​

readonly optional streams?: number

Defined in: libs/act-tck/src/store-differential-tck.ts:88

Number of distinct event-bearing streams per workload. Default 4.