Interface: DefinitionVersionSummary
Defined in: packages/workflow-engine/src/kernel/commands.ts:533
Per-version run accounting.
Properties
active
readonlyactive:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:542
PENDING + RUNNING + SUSPENDED — the runs still needing a host.
counts
readonlycounts:Readonly<Record<string,number>>
Defined in: packages/workflow-engine/src/kernel/commands.ts:538
Run count per status.
definitionVersion
readonlydefinitionVersion:string|null
Defined in: packages/workflow-engine/src/kernel/commands.ts:536
null for runs created before the consumer migrated.
drained
readonlydrained:boolean
Defined in: packages/workflow-engine/src/kernel/commands.ts:544
True when nothing at this version still needs a host.
oldestCreatedAt
readonlyoldestCreatedAt:Date|null
Defined in: packages/workflow-engine/src/kernel/commands.ts:553
Creation time of the oldest run at this version, in any status.
servedHere
readonlyservedHere:boolean
Defined in: packages/workflow-engine/src/kernel/commands.ts:551
Whether this process's registry currently serves this version.
false with active > 0 is the state to act on: those runs have no
host here, and either a peer on the old build must finish them or
run.redrive must move them forward.
total
readonlytotal:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:540
Runs at this version in any status.
workflowId
readonlyworkflowId:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:534