--- id: multi-user/markinterruptedjobs-and-getoldestpendingjob title: "`markInterruptedJobs()` and `getOldestPendingJob()` are platform-wide" theme: multi-user status: open created: 2026-08-20 date_source: assumed order: 18 --- **`markInterruptedJobs()` and `getOldestPendingJob()` are platform-wide.** The pipeline queue is a single global lane; ownership is enforced one layer up, in `pipeline-jobs-routes.ts`, by an explicit `job.userId !== user.id → 404` on every by-id route. Correct today, but the queue itself has no notion of whose work it is running.