Overview
| Artifact ID: | f2c5d2fa5783bf75bfcacec154c3ef2f4454d70140f4a03340c9dde5be3c01fe |
|---|---|
| Ticket: | 029c4730c00f31dca3c02d8ed08b5880696b7735
ci: throttle the worker — max concurrent tasks, and a queueing story beyond it |
| User & Date: | dmestas on 2026-08-29 22:15:58 |
Changes
- comment changed to:
Three pipelines raced on one box on 2026-08-29 (two agents plus a landing) and step times stretched from ~2m to ~8m; one suite failed at 10m50s in the way loaded timing tests do. The worker executes every dispatched task concurrently. Near term: a -max-tasks flag on ci/worker gating handler entry with a semaphore, so N suites queue instead of thrashing (the SDK already REPORTS max_tasks in the worker registration; whether the engine or SDK enforces it anywhere is this ticket's first question — if enforcement belongs engine-side, that half is a dagnats ask to surface for signoff before filing). Further out, the throttling story proper: per-repo concurrency at the trigger, priority for premerge/landing runs over branch churn, and letting supersede-cancel (already live) do more of the shedding. One knob now, the policy later.
- priority changed to: "High"
- status changed to: "Open"
- subsystem changed to: "ci"
- title changed to:
ci: throttle the worker — max concurrent tasks, and a queueing story beyond it
- type changed to: "Feature"