myxce/src/scheduler/include
Rongsong Shen 8b89a0ce6b
fix(scheduler): load user/host groups in the simulator too (bug-1943)
Only live's sched_init_config() (scheduler.c) registered the config's
named user and host groups into core.ugmgr/hgmgr. The simulator takes its
config from the replay snapshot (snapshot_load.c) and later pushes through
the core CONFIG_PUSH event (core_events.c); neither loaded groups, so a
limit whose users name a group ("ug1") never matched in sim, while the
same limit matched in live.

New xce_core_load_groups() (core.c) is the one loader, called by
sched_init_config(), the CONFIG_PUSH event and snapshot restore, each
before limit consumers are built. snapshot.c's field notes now say the
groups are rebuilt from the snapshot's config.
test_sim_group_limit_parity.c checks a ug1-scoped limit matches the same
job on both drivers and that CONFIG_PUSH alone registers ug1 and hg1.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-10 08:37:11 +00:00
..
sched fix(scheduler): place a task-range job with the largest count that fits (bug-1931) 2026-10-09 08:51:44 +00:00
cli_compat.h feat(scheduler-sim-discrete-clock): --sim-speed deprecation-warning helper and discrete-clock test binary (task 1.1) 2026-09-29 04:23:46 +00:00
core.h fix(scheduler): load user/host groups in the simulator too (bug-1943) 2026-10-10 08:37:11 +00:00
decision.h feat(scheduler-sim-decision-trace): trace attachment and trace-only op on decisions 2026-10-08 08:40:37 +00:00
driver.h feat(scheduler-core): implement record start/stop lifecycle (task 9.2) 2026-08-05 09:07:51 +00:00
plugin.h feat(scheduler-allocator-runner): declare the allocator plugin contract (task 1.2) 2026-09-30 07:49:25 +00:00
recording.h fix(scheduler): record events before the core applies them (bug-1852) 2026-09-24 08:41:55 +00:00
repl.h feat(scheduler-sim-decision-trace): wire tracing into the simulation driver 2026-10-08 15:35:20 +00:00
scheduler.h fix(scheduler): cache hits keep the full pend reason; sim uses the cache (bug-1932) 2026-10-09 08:02:18 +00:00
sim.h fix(scheduler): cache hits keep the full pend reason; sim uses the cache (bug-1932) 2026-10-09 08:02:18 +00:00