test(ha-commit-engine): RED tests for per-LSN majority evaluation (task 1.1)
commit.h umbrella-verbatim interface + inert stub commit.c (test target only); 7 Unity tests covering per-LSN vs acked_lsn>0 counting, majority median, monotonicity, append clamp, lagging standby, RETAIN immediacy. All 7 fail RED as intended. Documented 3 pre-existing masked suite failures (bug-411) and the per-group exit-code masking root cause.
This commit is contained in:
parent
06135954ff
commit
d5a0f9c64d
10 changed files with 757 additions and 283 deletions
|
|
@ -860,3 +860,13 @@
|
|||
| 05:57 | Edited .kiro/steering/roadmap.md | 6→8 lines | ~365 |
|
||||
| 11:40 | kiro-spec-batch complete: 4 sub-specs generated (3 waves), cross-spec review passed after 6 doc fixes (1 by fix-agent before spend limit, rest verified/applied); roadmap marked [x] | 4 spec dirs, roadmap.md, umbrella design.md | 51 sub-tasks total, ready for /kiro-impl ha-commit-engine | ~700k |
|
||||
| 05:57 | Session end: 99 writes across 12 files (brief.md, project_ha_consistency_invariants.md, product.md, spec.json, requirements.md) | 69 reads | ~240145 tok |
|
||||
| 06:26 | Created src/controller/include/commit.h | — | ~771 |
|
||||
| 06:27 | Created src/controller/commit.c | — | ~474 |
|
||||
| 06:28 | Created src/controller/testsuite/test_commit_engine.c | — | ~2440 |
|
||||
| 06:28 | Edited src/controller/meson.build | 2→4 lines | ~30 |
|
||||
| 06:28 | Edited src/controller/testsuite/controller_test.c | 1→2 lines | ~20 |
|
||||
| 06:28 | Edited src/controller/testsuite/controller_test.c | 3→4 lines | ~22 |
|
||||
| 06:32 | Edited src/controller/testsuite/test_commit_engine.c | modified for() | ~75 |
|
||||
| 13:30 | Task 1.1 ha-commit-engine RED: commit.h + stub commit.c + test_commit_engine.c (7 failing tests) | src/controller/{include/commit.h,commit.c,testsuite/test_commit_engine.c,meson.build,testsuite/controller_test.c} | 7/7 RED for right reasons; 3 suite failures proven pre-existing via baseline stash run | ~60k |
|
||||
| 07:16 | Edited .kiro/specs/ha-commit-engine/tasks.md | inline fix | ~23 |
|
||||
| 07:16 | Edited .kiro/specs/ha-commit-engine/tasks.md | modified now() | ~344 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue