All versions since 2.11.0
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.