JobDetails
data class JobDetails(val summary: JobSummary, val payload: String, val payloadVersion: Int, val uniqueKey: String?, val fence: Long, val leaseUntil: Instant?, val holder: WorkerId?, val lastError: JobError?)
One job in full, for a detail view. payload is the serialized form as stored; anything mounted on top of this (the dashboard) shows it to operators, which is worth remembering when payloads carry sensitive data: the dashboard fails closed on authentication for exactly that reason.
Properties
Link copied to clipboard
The most recent failure recorded by JobStore.transition, or null if no attempt has failed. Kept across requeue and later success: JobError.attempt says which run it came from.
Link copied to clipboard
Live lease expiry while Running; null otherwise.
Link copied to clipboard
Link copied to clipboard