myxce/src
Rongsong Shen bf61f5954e
test(scheduler-sim-diagnostics): close cross-cutting gaps for Requirement 6 (task 10.2)
Final validation task for the Human-Readable Units increment (tasks
7-10.1). Adds three tests closing gaps no prior task's own tests
covered:

- Cross-surface consistency (Requirement 6.5): a single info limit
  request against a byte-valued limit with both a configured setting
  and a live usage instance shows the SAME units convention in both
  lines, across mode switches -- neither task 8.2's nor task 9's own
  tests combined both surfaces in one capture.
- Non-byte-valued exclusion (6.3): a new "slots"-resourced fixture
  (the first non-"mem" fixture in this file) proves the entire
  combined display is byte-for-byte identical across all three units
  modes.
- Percentage exclusion (6.3) at the REPL-dispatch level: a percent
  limit's own percentage value survives real repl_dispatch()/
  set-units switching unchanged, complementing test_limit.c's
  existing library-level proof of the same invariant.

Full regression sweep: lib suite 368/368, scheduler suite 85/85,
including test_repl_limit_table.c (35/35), test_repl_resource_table.c,
test_repl_resource_formatting.c, and test_limit_plugin.c all
unaffected. No production code changed. This closes out Requirement 6
(ACs 6.1-6.5) and reconfirms Requirement 5 (ACs 5.1-5.3) end-to-end.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RLSNJhNoULvVcUhXEFafQC
2026-09-20 08:08:21 +00:00
..
autoscaler remove extralib 2026-09-04 11:24:43 +08:00
configs fix(scheduler): live-verify bug-1790 with a real global mem limit 2026-09-08 08:49:17 +00:00
controller fix(controller-status): ctrlstatus_fill must prefer a live registry slot over a stale disconnected one (task 8.6, bug-1819) 2026-09-16 17:53:13 +00:00
docs feat(eliminate-frontend-makefile): task 3.3 - update live documentation (11 files) 2026-09-03 14:22:54 +00:00
frontend fix(apiserver): fix job control union discriminant, add human-readable job ID support (gitea#45) 2026-09-07 08:31:54 +00:00
harness feat(controller-status): render per-controller connection status in ctrlstatus command (task 8.3) 2026-09-16 15:36:02 +00:00
include feat(scheduler-sim-diagnostics): add fmt_limit_units() sibling (task 8.1) 2026-09-20 05:09:09 +00:00
lib feat(scheduler-sim-diagnostics): add fmt_limit_units() sibling (task 8.1) 2026-09-20 05:09:09 +00:00
nixSupport remove extralib 2026-09-04 11:24:43 +08:00
scheduler test(scheduler-sim-diagnostics): close cross-cutting gaps for Requirement 6 (task 10.2) 2026-09-20 08:08:21 +00:00
schema feat(controller-status): add per-controller connection-status field to CtrlPeer schema (task 8.1) 2026-09-16 14:12:04 +00:00
tools fix(deploy-ha): stop-all.sh/cleanup.sh must find the real worker regardless of sudo process-tree depth (bug-1823) 2026-09-17 04:20:03 +00:00
worker fix(worker): stop treating systemd's UINT64_MAX sentinel as real rusage data 2026-09-15 11:21:55 +00:00
xceadmin feat(xceadmin): accept a comma-separated --controller failover list (bug-1821, bug-1822) 2026-09-17 03:53:35 +00:00
flake.lock remove extralib 2026-09-04 11:24:43 +08:00
flake.nix remove extralib 2026-09-04 11:24:43 +08:00
meson.build feat(xce-harness-component): relocate xce_test into standalone harness component 2026-09-14 05:08:15 +00:00
meson.options feat(dirty-content-fingerprint): add dirty_fingerprint meson option and C define 2026-08-21 03:54:37 +00:00