ppsspp_batch_list
List all background batch jobs in the registry to recover a lost batch_id after a submit timeout or survey background activity before touching the session. Read-only, lock-free, no parameters.
Instructions
PURPOSE: Survey all background batch jobs currently retained by the registry — the list companion to ppsspp_batch_status / ppsspp_batch_cancel.
USAGE: no parameters. Use it to recover a batch_id after the submit response was lost (e.g. client timeout) or to survey background activity before touching the session.
BEHAVIOR: Lock-free registry read — never opens the WS transport and never waits for the per-session lock. Jobs appear in submission order; finished jobs beyond the retention window (retention_jobs, in job count) are already evicted and absent. READ-ONLY.
RETURNS: {jobs: [{batch_id, session_id, status: queued|running|completed|failed|cancelled, executed, total, error, result_present}], retention_jobs}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobs | Yes | All retained jobs, in submission order | |
| retention_jobs | Yes | Finished-job retention window (in job count): finished jobs beyond the oldest this many are evicted and absent from jobs |