For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Type Alias: JobUpdateRequest

type JobUpdateRequest = object;

Properties

changeset

changeset: JobChangeset;

leaseToken?

optional leaseToken?: string | null;

The token identifying a leased job's activation, obtained from ActivatedJobResult.leaseToken. For a leased job, a supplied token is validated to prove the command comes from the worker that holds the current lease; a command carrying a stale token is rejected, fencing the job against a superseded activation (for example, after the job timed out or failed and was re-activated by another worker). An update without a token always applies to support operator and bulk updates of leased jobs. Note that this is different from lifecycle requests like complete, fail, and throw-error that always require a token for leased jobs. A job that was activated without a lease requires no token.


operationReference?

optional operationReference?: OperationReference;