Skip to content

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’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.