Skip to content

recoverOrphanedRuns

function recoverOrphanedRuns(runtime, options?): Promise<RecoverOrphanedRunsReport>;

Re-enter running runs whose execution lease is stale (crashed replica). Live leases are left alone. Re-entry is Runtime.run({ sessionId, runId }) — the same fail-closed resume path as any other addressed run.

Parameter Type

runtime

SweepRuntime

options

RecoverOrphanedRunsOptions

Promise<RecoverOrphanedRunsReport>