myxce/.kiro/specs/scheduler-allocation
Rongsong Shen 9d64ba0d69
test(scheduler-allocation): prove seqjob rewrap preserves host selection
Add a dedicated equivalence suite (test_seqjob_rewrap_equivalence.c)
covering multi-host fixtures the trivial single-host test doesn't reach:
select-filter-only rejection, resource-only rejection, a combined
select-then-resource-then-success ordering, and per-host debit
correctness. The iteration-order test is grounded in the deleted
pre-rewrap sched_collect_workers() code path (verified via git show
against the parent commit) and the unmodified xlist.c primitive, not
merely in host_iter.c's own traversal, so it proves equivalence to the
old behavior rather than internal self-consistency.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYdtrEWWZfKRRGED7raEYg
2026-09-04 19:35:38 +00:00
..
brief.md docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
design.md docs(scheduler-allocation): fix xce_host_iter_t.next() return type 2026-09-04 13:26:18 +00:00
requirements.md docs(scheduler-allocation): fix xce_host_iter_t.next() return type 2026-09-04 13:26:18 +00:00
research.md docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
spec.json docs(scheduler-allocation): approve requirements, add design and tasks 2026-09-04 12:59:39 +00:00
tasks.md test(scheduler-allocation): prove seqjob rewrap preserves host selection 2026-09-04 19:35:38 +00:00