Skip to content

Escalations

Id Committed when Committed with
foreign:<object id> Find shows an object with the job's name that isn't dispatch's (a rewritten object, or an orphan cut loose from its owner; the detail says which), and it hasn't been disposed of nothing else; it blocks settlement until a person abandons it
admin-held:<object id> Find shows a gated object held by someone other than dispatch: on Slurm a JobHeldAdmin hold, on Kubeflow another entry left in the admission-gated-by annotation nothing else; the object is never opened
admin-held:<object id>:<restart> Find shows a pending object, past its gate, that the adapter reports held by someone other than dispatch: on Slurm the JobHeldUser hold a prolog failure leaves under PrologFlags=ForceRequeueOnFail, whose launch never ran nothing else; dispatch never releases it, and the launch failure counts no execution
requeued:<object id>:<restart> the header says the backend implements Requeuer, and an object of ours was requeued to restart <restart> with no live requeue call of dispatch's to claim it (a call claims one restart, unless its result was void or its lifetime, Expires plus the adapter's requeueSettle plus RequeueClaimSlack, passed before the restart was seen) nothing else; the object runs again without anyone, and its cause stays requeued with scheduler provenance. On a job sharing its checkpoint, requeued on a bit dispatch didn't leave, it is committed with a backend hold on the requeued object until the cessation signal says the old execution stopped
requeue-bit:<object id>:<restart> Find shows a requeue bit set on a live object of ours that no requeue call of dispatch's may have left: none of its restore windows is open, or an observation since showed the bit clear. <restart> is the restart count at first sight nothing else; the bit is left set, and the detail carries who set it when the adapter can tell, and names the corruption risk on a job that shares its checkpoint
all-unknown:<N> every attempt of open submission N is unresolved, none was refused, no retries are left (or the job is cancelled or finished), and the last attempt is at least the job's unresolved age old nothing else; it blocks N+1 and settlement
unmatched:<N>/<a> under the manual unmatched policy, attempt a of submission N has been unresolved for at least the job's unresolved age nothing else; it blocks settlement
refused:<N> the scheduler refused every attempt of submission N the outcome failed, cause launch-failed with the scheduler's words
failed:<cause kind> an execution ended with a cause no rule recovers: no rule covers it, its rule is escalate or enforced by nobody, its budget is spent, or the supervisor can't carry out its action the outcome failed, with that cause
unplaced:<cause kind>:<object id>:<restart> the canonical object's execution ended with a cause kind a newer build wrote, which this build can't place: no rule of this build's matches it nothing else: no outcome, so the job stays recovering and the record open. A newer build decides from the recorded observation, or a person gives up or cancels; Resubmit needs a recovery hold, and there is none. The supervisor then releases the lease and returns *supervise.NotSupervisedError. Committed once per object and restart
end-unread:<N>:<object id> submission N's canonical object ended while no supervisor saw it, a Find no longer shows it, and the adapter's history couldn't answer for its end: unreachable, an earlier execution's row, or a row not recognisable as ours nothing else; the job waits as last seen, and the escalation's time starts the job's history wait. History is read again on every pass, and an end read within the wait is the end. Past the wait the end is concluded vanished, failed:unknown
find-omitted:<N>:<object id> history answered that submission N's canonical object is alive, although no Find shows it: the adapter's Find and history disagree nothing else; the job waits for a person, however long, unless history later answers ended or not found. Check the object by its id, then give up or cancel; the terminal pass sends it a best-effort stop
overdue:<hold instance> the hold in force is past its deadline nothing else; the hold stays
cleanup-deadline a terminal job's record is still unsettled more than the job's clean-up deadline after the cancel, or after the outcome when there was no cancel nothing else; the detail names the objects still alive
give-up a person called GiveUp committed by Fold from the control intent, with the outcome failed

<object id> is the scheduler's id from the object's ref: a Slurm job id, or namespace/name on Kubernetes. <cause kind> is a cause name such as node-lost, or for unplaced: the name a newer build wrote.

The unresolved age, the clean-up deadline and the history wait are the job's own: 10 minutes, 30 minutes and an hour, unless dispatch.WithUnresolvedAge, dispatch.WithCleanupDeadline and dispatch.WithHistoryWait set them at submit. They are recorded in the header, so every supervisor uses the same ones.

Each id is committed at most once per job, and Job.Escalated(id) reports whether it has been. The supervisor commits all of them but give-up, which GiveUp brings with it. The Detail says, in words, what happened.

An escalation is delivered by the supervisor's Deliver function, if one is set (supervise.WithDeliver), and marked delivered in the record when that returns nil. Until then Escalation.Delivered is zero.

Receive and answer escalations says what to do about each.