Structs§
- Callback
Config - Configuration for CEL callback expressions.
- List
Jobs Filter - List jobs with optional filters.
- Queue
Runtime Config Snapshot - Per-queue configuration published by a worker runtime instance.
- Queue
Runtime Snapshot - Runtime state for one queue on one worker instance.
- Queue
Runtime Summary - Queue-centric runtime/config summary aggregated across worker instances.
- Queue
Stats - Queue statistics.
- Rate
Limit Snapshot - Snapshot of a per-queue rate limit configuration.
- Runtime
Instance - A worker runtime instance as exposed through the admin API.
- Runtime
Overview - Cluster-wide runtime overview.
- Runtime
Snapshot Input - Data written by a worker runtime into the observability snapshot table.
- State
Timeseries Bucket - A bucketed count of jobs by state over time.
Enums§
- Callback
Poll Result - Result of a single poll iteration inside
wait_for_callback. - Default
Action - What
resolve_callbackshould do if no CEL conditions match or no expressions are configured. - Queue
Runtime Mode - Runtime concurrency mode for a queue.
- Resolve
Outcome - Outcome of
resolve_callback.
Functions§
- bulk_
cancel - Cancel multiple jobs by ID. Only cancels non-terminal jobs.
- bulk_
retry - Retry multiple jobs by ID. Only retries failed, cancelled, or waiting_external jobs.
- cancel
- Cancel a single non-terminal job.
- cancel_
by_ unique_ key - Cancel a job by its unique key components.
- cancel_
callback - Cancel (clear) a registered callback for a running job.
- check_
callback_ state - Check the current state of a job during callback wait.
- cleanup_
runtime_ snapshots - Opportunistically delete long-stale runtime snapshot rows.
- complete_
external - Complete a waiting job via external callback.
- discard_
failed - Discard (delete) all failed jobs of a given kind.
- distinct_
kinds - Return all distinct job kinds.
- distinct_
queues - Return all distinct queue names.
- drain_
queue - Drain a queue: cancel all non-running, non-terminal jobs.
- enter_
callback_ wait - Transition a running job to
waiting_externalfor the given callback. - fail_
external - Fail a waiting job via external callback.
- flush_
dirty_ admin_ metadata - Drain ALL dirty keys until the backlog is empty.
- get_job
- Get a single job by ID.
- heartbeat_
callback - Reset the callback timeout for a long-running external operation.
- list_
jobs - List jobs matching the given filter.
- list_
runtime_ instances - List all runtime instances ordered with leader/live instances first.
- pause_
queue - Pause a queue. Affects all workers immediately.
- queue_
runtime_ summary - Queue runtime/config summary aggregated across worker snapshots.
- queue_
stats - Get statistics for all queues.
- recompute_
dirty_ admin_ metadata - Drain one batch of dirty keys and recompute exact cached rows. Returns the number of dirty keys processed in this batch.
- refresh_
admin_ metadata - Full reconciliation of admin metadata counters from base tables.
- register_
callback - Register a callback for a running job, writing the callback_id and timeout to the database immediately.
- register_
callback_ with_ config - Register a callback with optional CEL expressions.
- resolve_
callback - Resolve a callback by evaluating CEL expressions against the payload.
- resume_
external - Complete a waiting job and resume the handler with the callback payload.
- resume_
queue - Resume a paused queue.
- retry
- Retry a single failed, cancelled, or waiting_external job.
- retry_
external - Retry a waiting job via external callback.
- retry_
failed_ by_ kind - Retry all failed jobs of a given kind.
- retry_
failed_ by_ queue - Retry all failed jobs in a given queue.
- runtime_
overview - Cluster runtime overview with instance list.
- state_
counts - Count jobs grouped by state.
- state_
timeseries - Return time-bucketed state counts over the last N minutes.
- take_
callback_ payload - Extract the
_awa_callback_resultkey from metadata and clean it up. - upsert_
runtime_ snapshot - Upsert a runtime observability snapshot for one worker instance.