Record a recovery milestone
Idempotently persist one scheduler-action completion occurrence for recovery tracing and latency measurement.
Request
RecordRecoveryMilestoneRequest records one scheduler-action completion occurrence.
sequenceId
Durable recovery sequence UUID.
idempotencyKey
Stable key that deduplicates reports of this action occurrence.
operation
RecoveryOperation identifies the scheduler-neutral recovery intent.
- RECOVERY_OPERATION_UNSPECIFIED: No recovery operation was specified.
- RECOVERY_OPERATION_RESTART: Restart the failed source attempt.
- RECOVERY_OPERATION_TERMINATE: Terminate the source attempt.
- RECOVERY_OPERATION_DAG_RELEASE: Release a held job after its DAG dependencies are satisfied.
Allowed values:
action
RecoverySchedulerAction identifies one scheduler command occurrence.
- RECOVERY_SCHEDULER_ACTION_UNSPECIFIED: No scheduler action was specified.
- RECOVERY_SCHEDULER_ACTION_SLURM_REQUEUE_HOLD: Ask Slurm to requeue the job and hold the target attempt.
- RECOVERY_SCHEDULER_ACTION_SLURM_UPDATE_CONSTRAINTS: Ask Slurm to update the target attempt’s node constraints.
- RECOVERY_SCHEDULER_ACTION_SLURM_RELEASE: Ask Slurm to release the target attempt from its hold.
- RECOVERY_SCHEDULER_ACTION_SLURM_CANCEL: Ask Slurm to cancel the job.
Allowed values:
outcome
RecoverySchedulerActionOutcome classifies one scheduler action occurrence.
- RECOVERY_SCHEDULER_ACTION_OUTCOME_UNSPECIFIED: No scheduler action outcome was specified.
- RECOVERY_SCHEDULER_ACTION_OUTCOME_PLANNED: The action was planned in observe mode and no command ran.
- RECOVERY_SCHEDULER_ACTION_OUTCOME_SUCCESS: The scheduler command completed successfully.
- RECOVERY_SCHEDULER_ACTION_OUTCOME_ERROR: The scheduler command returned an error.
- RECOVERY_SCHEDULER_ACTION_OUTCOME_ALREADY_SATISFIED: Fresh scheduler state showed that the action was already satisfied.
Allowed values:
completedAt
When the scheduler action returned or its logical outcome was determined.
completesSequence
Whether this occurrence completes the owning recovery sequence. The scheduler adapter sets this from its workflow semantics; Job Manager does not derive it from operation, action, or outcome.
Response
A successful response.
duplicate
Whether this idempotency key had already been recorded.
sequenceCompleted
Whether the sequence is completed after accepting this report.
endToEndDurationSeconds
Trigger-to-terminal-milestone duration when this report newly completed its sequence.