myxce/src/scheduler
lei.chen 200303d8fe test(scheduler): G-8 dequeue routing — UPDATE_JOB_FIELDS → in-place, bulk → no damage
Closes the msg-gap G-8 test gap the research flagged ("handler→dequeue ROUTING
is verified by code review, NOT an automated integration test"). The
remediation (UPDATE_JOB_FIELDS op routed to sched_update_existing_job) is
already in the code (93124c5); these tests lock the routing:

- test_update_fields_routes_to_inplace_path: driving the real sched_update()
  dequeue loop, an UPDATE_JOB_FIELDS request reaches sched_update_existing_job
  and mutates the existing job in place (same object, runtime state kept).
- test_bulk_update_existing_job_no_damage: a re-pushed dataset row for an
  existing jobid is EEXIST-dropped by key_add (via the real sched_add_job) —
  the live job keeps identity/state/runtime state.

10/10 sched_redispatch_test PASS; full scheduler suite 6/6 OK. Live cluster:
job PEND→RUN→DONE via notify updates, no WARN, no duplicate instance.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-14 02:08:49 +00:00
..
include fix(scheduler): re-queue job as PEND on dispatch failure (bug-1494 class) 2026-08-11 03:19:07 +00:00
src fix(scheduler): re-PEND only on real dispatch failures, not the success ack 2026-08-13 06:20:43 +00:00
testsuite test(scheduler): G-8 dequeue routing — UPDATE_JOB_FIELDS → in-place, bulk → no damage 2026-08-14 02:08:49 +00:00
CLAUDE.md enhance xce-build skill 2026-05-30 08:13:59 +08:00
meson.build improve xkvmgr and testsuite for scheduler 2026-02-26 14:39:12 +08:00