Runners hand jobs back: POST /flow/jobs/{id}/release, and a lapsed lease requeues issue #312 closed: completed andymccall opened this · 0 comments
andymccall set labels feature ·
closed by change ab4df6aae179 ·
andymccall referenced by change 234921ea0834 on main ·
The hub's half of oxygenflow#76 (docs/handover.md §6 in oxygenflow).
POST /api/v1/flow/jobs/{id}/release{reason}: a draining runner hands back a job it holds (a phone leaving Wi-Fi, a host restarting, a spot reclaim). The job is queued again ahead of new work, its log says who handed it back and why, and its next attempt's log follows on. Not a decline: the runner is not held from it and it does not count towards unplaceable.Migration 0094:
flow_jobs.handed_back_ms,flow_jobs.handbacks.