Files
autocraft/src/checktool
aiongg 78470474d8 Stuck jobs review fixes: code-derived deadlines, graceful deadline stop, drain only from on, check history, drain blocks manual jobs, cheaper warning query
- Deadline is the larger of the registry floor and the bound from the code (model calls, check time, lint rounds, items); a stopped step waits at least 1 hour.
- At the deadline the job is told to finish its current item; its process is stopped 10 minutes later.
- pipeline drain is refused from Off; pipeline on --if-draining ends only a drain.
- Check limit history: same shape, exit 0, run time from worker claim; queue wait keeps the total cap.
- Draining starts no job, manual ones included. deadlineStops reads a bounded window; index for the median query; ack refuses unknown steps; no Draining subtitle.
2026-11-05 18:26:26 +00:00
..