Interface: DefinitionVersionSummary
Defined in: packages/workflow-engine/src/kernel/commands.ts:532
Per-version run accounting.
Properties
active
readonlyactive:number
Defined in: packages/workflow-engine/src/kernel/commands.ts:541
PENDING + RUNNING + SUSPENDED — the runs still needing a host.
counts
readonlycounts:Readonly<Record<string,number>>
Defined in: packages/workflow-engine/src/kernel/commands.ts:537
Run count per status.
definitionVersion
readonlydefinitionVersion:string|null
Defined in: packages/workflow-engine/src/kernel/commands.ts:535
null for runs created before the consumer migrated.
drained
readonlydrained:boolean
Defined in: packages/workflow-engine/src/kernel/commands.ts:543
True when nothing at this version still needs a host.
oldestCreatedAt
readonlyoldestCreatedAt:Date|null
Defined in: packages/workflow-engine/src/kernel/commands.ts:552
Creation time of the oldest run at this version, in any status.
servedHere
readonlyservedHere:boolean
Defined in: packages/workflow-engine/src/kernel/commands.ts:550
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:539
Runs at this version in any status.
workflowId
readonlyworkflowId:string
Defined in: packages/workflow-engine/src/kernel/commands.ts:533