All versions since 2.10.0
2.10.0
API version: 11.2.0
Added
- A deployment can state its idle timeout (#232): how long a job pod waits without a job before it stops. The
ConfigureDeploymentaction of a ProcessingStep takes an optionalIdleTimeoutSecondsfrom 1 to 3600; other values get 400, and 0 (“never stop”) is not allowed, since such a job pod would hold a peak node for good. Without it the operator applies its default of 60 seconds. The deployment showsIdleTimeoutSeconds(null when unset), and the action’s prefilled values carry the current one. The operator receives it asspec.coolDownSeconds; when unset the field is left out of the message. Needs an operator whose StepFunction schema hascoolDownSecondsoptional.
2.11.0 Latest
API version: 12.0.0
Added
- BREAKING: new job state
CancellationRequested. Clients that reject unknown job states (e.g. pinexq-client-py’sJobStates, the workflow manager) fail on any job in that state. Update all clients, worker images included, to a version that knowsCancellationRequestedandCanceledbefore deploying this release. - Jobs can be canceled: the
Cancelaction of aPendingorProcessingjob moves it toCancellationRequested, and toCanceledonce its worker confirms; a worker that finishes or fails first wins (Completed/Error). If the cancel cannot be sent to the worker, the request fails and the job keeps its state. Canceling a job also cancels its running sub-jobs. Offered only for jobs whose ProcessingStep runs on ProCon 2.10.0 or later (pre-releases of 2.10.0 included). - Metric
jobs.processing.canceled. - Statistics count canceled Jobs as ended: each
CompletionDaysandProcessingStepsentry has aCanceledcount next toCompletedandFailed, and a day’sComputeMs, time-to-start percentiles andProducedBytesinclude its canceled Jobs.
Changed
- Admin
SetJobToErrorState/SetJobsToErrorState, worker errors and worker eviction also apply to jobs inCancellationRequested; eviction ends themCanceled. - The job command message sends
cancel(was the unusedabort), and the job status message acceptscanceled.
Fixed
- Creating a sub-job under a parent that is not
PendingorProcessingshowed the sub-job’s state in the error instead of the parent’s.