types.JobStatus
CreatedAt is the time when the job was created
Revision is a per-job monotonically increasing revision number that is incremented on each update to the job's state or specification. This includes both user-initiated changes (which also increment Version) and system-initiated changes (status updates, state transitions, etc.). Revision >= Version always.
rollout object
Rollout contains the runtime state of the active rollout. Empty (zero State) when no rollout is in progress.
Canary tracking (runtime state)
When rollout finished (zero if in progress)
Progress tracking
Nodes that failed
RollbackToVersion is the stable version to rollback to when a rollout halts. For Create: 0 (no previous version - cannot rollback) For Update: last version with completed rollout (stable version to fallback to) For Rollback: version being rolled back from
Timestamps
Target nodes for this rollout
Type indicates what triggered this rollout
Possible values: [create, update, restart, rollback]
Nodes successfully updated
state object
State represents the current state of the job
details object
Details is a map of additional details about the state.
Message is a human readable message describing the state.
StateType is the current state of the object.
Possible values: [``, pending, queued, deploying, running, rollout_paused, rollout_failed, degraded, completed, failed, stopped, deleted]
UpdatedAt is the time when the job was last updated
Version is a per-job monotonically increasing version number that is incremented on each job specification update. Version tracks changes to the job specification (user-defined fields like runtime, deployment settings, etc.). Compare with Revision which tracks ANY change including status updates.
{
"created_at": "string",
"revision": 0,
"rollout": {
"canary_nodes": [
"string"
],
"canary_promoted": true,
"completed_at": "string",
"current_wave": 0,
"failed_nodes": 0,
"rollback_to_version": 0,
"started_at": "string",
"total_nodes": 0,
"total_waves": 0,
"type": "create",
"updated_nodes": 0
},
"state": {
"details": {},
"message": "string",
"state_type": ""
},
"updated_at": "string",
"version": 0
}