Function: runMaintenanceTick()
runMaintenanceTick(
kernel,options?):Promise<MaintenanceTickCounts>
Defined in: packages/workflow-engine/src/kernel/helpers/host-support.ts:523
Runs one bounded maintenance pass: claim pending runs, poll suspended
stages (transitioning any that resumed), reap stale leases, flush the
outbox, reap stuck runs, and — only when retention is set — purge
terminal runs past their retention age. Each command's error is caught
and logged independently so a failure in one doesn't block the rest of
the tick.
Parameters
kernel
options?
RunMaintenanceTickOptions = {}
Returns
Promise<MaintenanceTickCounts>