Interface: ShadowRunsOptions
Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:101
Input to shadowRuns.
Properties
blobStore?
readonlyoptionalblobStore?:object
Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:125
When supplied, a completed stage whose output was written to the blob store is fetched and validated against the candidate's output schema. Without it, only inline outputs are validated.
get()
get(
key):Promise<unknown>
Parameters
key
string
Returns
Promise<unknown>
candidates
readonlycandidates: readonlyWorkflow<any,any, { }>[]
Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:111
The build being proposed: one entry per workflow id it defines.
persistence
readonlypersistence:Pick<WorkflowPersistence,"getRun"|"getStagesByRun"|"getDefinition"|"supportsDefinitionVersioning">
Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:103
Read surface over recorded runs. A real or in-memory adapter both work.
runIds
readonlyrunIds: readonlystring[]
Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:113
The runs to replay.
stepLedger?
readonlyoptionalstepLedger?:Pick<StepLedger,"list">
Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:119
When supplied, each stage's durable step ids are read and reported, and
a removed stage that still holds step records raises
STEP_LEDGER_ORPHANED.