Skip to main content

Interface: ShadowVersionsOptions

Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:403

Input to shadowVersions.

Properties​

candidates​

readonly candidates: readonly Workflow<any, any, { }>[]

Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:411

The build being proposed: one entry per workflow id it defines.


persistence​

readonly persistence: Pick<WorkflowPersistence, "getDefinition" | "supportsDefinitionVersioning" | "countRunsByDefinitionVersion">

Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:404


statuses?​

readonly optional statuses?: readonly string[]

Defined in: packages/workflow-engine/src/testing/shadow-runs.ts:417

Only versions that still have runs in these statuses are checked. Defaults to the statuses in which a run still needs a host: ["PENDING", "RUNNING", "SUSPENDED"].