Job List
job_listList async jobs in the current worker session and inspect the main-thread queue to diagnose stalled shape optimizations. Returns job IDs, status, elapsed time, and queue counters showing whether work is advancing or not polling.
Instructions
List every async job this worker session. Returns {count, jobs:[{job_id,
kind, status, elapsed_s}]} in submit order, plus main_thread_queue:{queued, ran,
failed, drains, pending} — the diagnostic for a shape optimization that looks
stuck. Those builds run on the worker's main thread, and that queue is drained
once per request: pending high with drains climbing means the work is slow;
drains flat means nothing is polling, so nothing is advancing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||