myxce/src/worker/testsuite
Rongsong Shen a35f597e06
fix(worker): real maxswap/maxtmp detection; feat(scheduler): annotate multi-slot assigned jobs
bug-1554: init_host_attrs() replaces hardcoded placeholder stubs with real
detection -- maxswap from sysinfo()'s totalswap (reusing the same syscall
snapshot already taken for maxmem), maxtmp from a fresh statvfs("/tmp")
total-capacity measurement. No synthetic fallback on detection failure, so
a system with swap genuinely disabled correctly reports 0.

bug-1776: the scheduler simulator's "info worker" assigned-jobs listing now
annotates a job consuming more than one "slots" unit (e.g. "jobid*2"),
using per-host allocation data that was already being walked but discarded.
Falls back to the pre-existing per-job listing when jobs on the same worker
have differing slot counts, since a single suffix on a compressed range
would be ambiguous.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hb6Edtj4KbS8CrgEWYdA2E
2026-09-07 04:39:22 +00:00
..
meson.build fix(worker): real maxswap/maxtmp detection; feat(scheduler): annotate multi-slot assigned jobs 2026-09-07 04:39:22 +00:00
test_controller_connector.c feat(worker-rejoin-resync): task 6.1 - trigger reconciliation on rejoin 2026-09-01 19:43:18 +00:00
test_dbus_workers_update.c fix(worker): dbus_workers_update() starves workers after first DONE/EXITED (bug-1589) 2026-08-19 09:48:23 +00:00
test_finished_job_retention.c feat(worker-rejoin-resync): task 4.1 - bounded finished-job retention on worker 2026-09-01 16:03:19 +00:00
test_hardware_monitor.c fix(worker): real maxswap/maxtmp detection; feat(scheduler): annotate multi-slot assigned jobs 2026-09-07 04:39:22 +00:00
test_resource_sync.c fix(worker-rejoin-resync): task 4.4 - gate periodic load-indices send on resync_pending 2026-09-02 03:01:56 +00:00
test_uv_ipc_job_exit_severity.c feat(worker): distinguish signal-killed job exits from real crashes in logs 2026-08-29 11:43:52 +00:00
test_worker_launch_type_dispatch.c test(resreq-maxtasks-wiring): close worker launch-type dispatch coverage gap 2026-09-06 05:26:32 +00:00
test_xcecd_resync.c feat(worker-rejoin-resync): task 4.3 - wire query receipt and post-join gate 2026-09-01 18:01:03 +00:00
test_xcecd_startup_order.c fix(worker): real maxswap/maxtmp detection; feat(scheduler): annotate multi-slot assigned jobs 2026-09-07 04:39:22 +00:00