Adds a worst-case-occupancy test proving the scheduler's picker/allocator pipeline buffers briefly past a stalled publish (decisions cbuf cap 5, jbuf cap 1) then genuinely blocks until connectivity recovers, with zero job loss (Req 3 AC2). Adds a source-scan regression guard confirming the scheduler makes no periodic heartbeat call of its own (Req 3 AC3). Also fixes a real gap found along the way: sched_init()'s all-candidates-unreachable and join-failure log lines named only a candidate count, never which candidates were attempted (same class of bug worker's task 2.3 fixed). Added sched_format_candidate_list(), covered by a real dup2()-based stdout capture around a live sched_init() failure path (round-1 review caught this diagnostic shipping with zero test coverage; fixed in round 2). Multi-candidate join and kill-primary/reconnect were validated manually against a live 3-node cluster rather than committed as an automated test, following worker's task 2.3 precedent -- no automated live-deploy E2E harness exists for any C daemon in this repo. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NNB4zGPCsHyDUCDJyMbiQN |
||
|---|---|---|
| .. | ||
| autoscaler | ||
| configs | ||
| controller | ||
| docs | ||
| frontend | ||
| include | ||
| lib | ||
| nixSupport | ||
| scheduler | ||
| schema | ||
| tools | ||
| worker | ||
| xceadmin | ||
| flake.lock | ||
| flake.nix | ||
| meson.build | ||
| meson.options | ||