Four checks in one run: (a) REPL-vs-batch decision equivalence unmodified and still passing; (b) --sim-verify reports no false mismatch for a recording with multiple already-resolved jobs across rounds (non-adjacent memmove compaction, no cross-round bleed); (c) a replay starting from a snapshot with a job already RUN-state and no in-window recorded decision degrades gracefully (no crash, no fabricated value, a second ordinary job unaffected) -- the first test to exercise reconciliation's "not found" path through the real sched_sim_driver_run()/xce_sched_core_load_snapshot() path rather than a hand-built core; (d) normal-mode behavior is byte-for- byte unchanged (zero production diff, the strongest possible evidence). Found and fixed a real test-authoring gap while building (b): builtin_fcfs re-offers a still-PEND job as a fresh PEND every round (confirmed pre-existing, unrelated, also visible in test_repl_equivalence.c's own fixture) -- the first draft's round-2 fixture omitted this recurrence. No production code touched (task 3 already completed the feature) -- git diff on sim_loop.c/resource.c/scheduler.c/driver.c/sim_verify.c is empty. 49/50 scheduler tests pass; the 1 failure is pre-existing bug-1560 (unrelated). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| autoscaler | ||
| configs | ||
| controller | ||
| docs | ||
| frontend | ||
| include | ||
| lib | ||
| nixSupport | ||
| scheduler | ||
| schema | ||
| tools | ||
| worker | ||
| xceadmin | ||
| flake.lock | ||
| flake.nix | ||
| meson.build | ||
| meson.options | ||