Skip to main content

CancelQueuedExecution

Cancels one execution that is still waiting in an adapter pool's queue. It never runs.

Examples

Basic usage:

octo-cli -c CancelQueuedExecution -id "670000000000000000000001" -eid "8f1c0b9a-0001-4a8f-9d21-2f0c9c4f5a11"

Non-interactive:

octo-cli -c CancelQueuedExecution `
-id "670000000000000000000001" `
-eid "8f1c0b9a-0001-4a8f-9d21-2f0c9c4f5a11" `
-y

Options

ShortLongRequiredDescription
-id--adapterPoolRtIdyesThe adapter pool's runtime object ID
-eid--executionIdyesThe queued execution to cancel
-y--yesnoSkip confirmation prompt

Notes

Cancels a QUEUE entry, not a running pipeline. An execution that already holds a lease is refused (HTTP 409) — interrupting it is a different operation with different consequences.

The cancelled execution becomes Cancelled and is never leased; it stays visible in the execution history as a cancelled attempt.

The tenant of the active context is the LENDING tenant that owns the adapter pool, not the borrowing tenant whose work is cancelled. Find execution ids with GetAdapterPoolQueue.

Acts on the tenant of the active context; switch with UseContext or pass --context <name>.