Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Durable jobs

prqnt serve persists long-running work in application_jobs (SQLite or Postgres via paraclete-store).

Job kinds (durable async)

KindTrigger (examples)
scanPOST /api/v1/scans
repairPOST /api/v1/repairs
batch_repairPOST /api/v1/batches/repairs
batch_resumePOST /api/v1/batches/{run_id}/resume

States

queued → running → succeeded | failed | canceled

Workers claim jobs with leases and heartbeats. Expired leases are recovered on server startup (requeue or fail with attempt limits).

Cancellation

POST /api/v1/jobs/{job_id}/cancel — queued jobs cancel immediately; running jobs set a cooperative cancel flag.

Synchronous API operations

Diagnose, plan, check, verify, and batch status/check/plan/verify remain synchronous in v0.7 unless deliberately promoted later.

See HTTP API and prqnt serve.