Adds begin_session/next_job/end_session/on_dispatch/on_pend, driving a dual-cursor walk (queue then job) over builtin_fcfs's private ordq_t state. next_job() returns candidates in (queue priority desc, job priority desc, queue_time asc) order and NULL once exhausted; on_dispatch removes permanently, on_pend is a true no-op. Review flagged an unsynchronized cross-thread access risk between next_job() (picker thread) and on_dispatch/on_pend (allocator thread) once wired live in task 2.4 — recorded in tasks.md Implementation Notes for that task to close before registering builtin_fcfs as the default. Requirements: 3.2, 3.4, 3.6 |
||
|---|---|---|
| .. | ||
| autoscaler | ||
| configs | ||
| controller | ||
| docs | ||
| frontend | ||
| include | ||
| lib | ||
| nixSupport | ||
| scheduler | ||
| schema | ||
| tools | ||
| worker | ||
| xceadmin | ||
| flake.lock | ||
| flake.nix | ||
| meson.build | ||
| meson.options | ||