Skip to content

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 ConfigureDeployment action of a ProcessingStep takes an optional IdleTimeoutSeconds from 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 shows IdleTimeoutSeconds (null when unset), and the action’s prefilled values carry the current one. The operator receives it as spec.coolDownSeconds; when unset the field is left out of the message. Needs an operator whose StepFunction schema has coolDownSeconds optional.

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’s JobStates, the workflow manager) fail on any job in that state. Update all clients, worker images included, to a version that knows CancellationRequested and Canceled before deploying this release.
  • Jobs can be canceled: the Cancel action of a Pending or Processing job moves it to CancellationRequested, and to Canceled once 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 CompletionDays and ProcessingSteps entry has a Canceled count next to Completed and Failed, and a day’s ComputeMs, time-to-start percentiles and ProducedBytes include its canceled Jobs.

Changed

  • Admin SetJobToErrorState / SetJobsToErrorState, worker errors and worker eviction also apply to jobs in CancellationRequested; eviction ends them Canceled.
  • The job command message sends cancel (was the unused abort), and the job status message accepts canceled.

Fixed

  • Creating a sub-job under a parent that is not Pending or Processing showed the sub-job’s state in the error instead of the parent’s.