Skip to main content

Interface: JobHeartbeatResult

Defined in: packages/workflow-engine/src/kernel/commands.ts:303

Result of a job.heartbeat command.

Properties​

leaseHeld​

readonly leaseHeld: boolean

Defined in: packages/workflow-engine/src/kernel/commands.ts:311

False when the job row is no longer RUNNING under this worker's attempt — released as stale, expired by the absolute cap, cancelled, or re-claimed by another worker. touchJob was a no-op in that case.


runStatus​

readonly runStatus: Status | null

Defined in: packages/workflow-engine/src/kernel/commands.ts:305

The run's status as of this beat, or null when the run is gone.