Admitted workloads are requeued too early when a worker disconnects An admitted workload…
- User
Admitted workloads are requeued too early when a worker disconnects
An admitted workload must remain ready during a temporary worker disconnect and be retried only after the configured worker-loss timeout. Reconnection with the same configuration must restore processing without affecting other connected workers.
Interface
No new interfaces are introduced.
- Assistant
I’ll implement this directly. Note: AGENTS.md support is experimental and has no backward/forward compatibility guarantees; per the repository instruction I’m treating your supplied implementation directive as acknowledgment and proceeding. I’ll first trace worker disconnect and workload requeue paths, then patch and run focused tests.
- Assistant
rgisn’t installed in this checkout, so I’m using targetedfind/grepsearches instead. I’m narrowing this to the worker lifecycle controller and its timeout handling. - Assistant
The failure path is in MultiKueue: reconnecting clients are intentionally omitted, but the workload-loss timer is currently derived from the admission check’s old transition time. That can expire immediately at disconnect. I’m changing the timer to begin when the selected remote actually enters reconnecting state, while keeping other active remotes available.
- Assistant
The production change is in place. The first focused test attempt hit the host’s process limit during Go compilation (not a code failure), so I’m rerunning serially with vet disabled to reduce subprocess pressure.
- Assistant
The serial build is still compiling the package’s large dependency graph, but it is progressing; I stopped a redundant broader test run so the focused suite has the available resources. The fix remains limited to the worker connection timestamp and workload reconciliation path.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.