From d9bc36cde389f216c1a0ffc67f13b94831f31ceb Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Tue, 29 Sep 2026 05:39:47 +0000 Subject: [PATCH] chore(scheduler-sim-discrete-clock): HA soak with the unmodified --sim-speed=0 caller passes (task 5.2) Co-Authored-By: Claude Opus 5.5 (1M context) --- .kiro/specs/scheduler-sim-discrete-clock/tasks.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.kiro/specs/scheduler-sim-discrete-clock/tasks.md b/.kiro/specs/scheduler-sim-discrete-clock/tasks.md index cac61761..a35e5d1a 100644 --- a/.kiro/specs/scheduler-sim-discrete-clock/tasks.md +++ b/.kiro/specs/scheduler-sim-discrete-clock/tasks.md @@ -55,13 +55,13 @@ Test-first throughout (red → green → refactor). Every sub-task leaves the bu - _Requirements: 5.2_ - _Boundary: Docs (scheduler-core spec)_ -- [ ] 5. Validation +- [x] 5. Validation - [x] 5.1 Full build and regression - Run the full ASAN build with the libxce, scheduler and controller suites, including the core-isolation test, and scan the test log for hidden Unity failures and sanitizer reports. - Confirm the replay schema and the normal-mode clock anchoring are unchanged by this feature's commits. - Done when every suite passes with no hidden failures, and the core clock source, the normal-mode wall-clock anchoring and the replay schema show no diff from this feature (the core header changes only in comments). - _Requirements: 4.1, 4.2, 4.3_ -- [ ] 5.2 HA soak with the existing `--sim-speed` caller +- [x] 5.2 HA soak with the existing `--sim-speed` caller - Run the HA soak skill, whose replay-verification step still passes `--sim-speed=0`, without modifying it. - Done when that step passes with zero mismatches and its log contains exactly one deprecation warning. - _Requirements: 5.3_ @@ -70,3 +70,4 @@ Test-first throughout (red → green → refactor). Every sub-task leaves the bu - Build dir: `bash src/tools/xce-build.sh scheduler asan xce.build.discrete` builds into `src/xce.build.discrete`; iterate with `meson test -C src/xce.build.discrete --suite scheduler` and grep its testlog for `:FAIL`. - 2.1 added `args->sim_speed = DISCRETE_CLOCK_RED_SPEED` (and that define) to `test_sim_discrete_clock.c` to prove RED; 3.1 removes both. Its fixture writer leaves mkdtemp dirs under `/tmp` (as `test_sim_record_output.c` does). - `test_clock.c` (~40, ~435) quotes scheduler-core AC 12 "fast mode" wording in its session-timing tests; reword it together with 4.2. +- 5.2: `run-ha-soak.sh --sequential` (5 rounds) with `XCE_HA_BIN`/`XCE_HA_XT` pointed at `src/xce.build.dc-full`: PASS, 18 jobs, zero loss; SIMVERIFY files=6 mismatches=0 errors=0; each `simverify-N.log` holds exactly one `--sim-speed "0"` deprecation warning. The soak finds xceadmin only in the shared default build dirs.