Renew every open member's task lease (LeaseTogether)
POST/work-batches/:batchId/lease-renewals
The batch's lease is the union of its open members' task leases (ADR 0063's LeaseTogether policy): one call renews every still-open stop, so later stops of a long walk cannot expire mid-walk. Completed members are not renewed; detached members are gone (the sweep already returned them to the pool).
Request
Responses
- 204
- 400
- 404
- 409
- 500
Every open member's lease was renewed.
Response Headers
Present, with the value true, ONLY when this answer is the stored replay of an earlier request that used the same Idempotency-Key (the handler did not run again). The first execution never carries it.
A missing or malformed Idempotency-Key header (the route is behind the idempotency middleware, like every non-idempotent POST that changes lease state).
No batch exists with this batchId.
The batch is not OPEN (already completed or abandoned).
An unexpected server-side failure (e.g. a repository or event-publisher error).