myxce/.claude/skills
Rongsong Shen 9b173c9a5e fix(xce-test-ha): guard start_node against duplicate launches (bug-1418)
Chaotic mode's run_chaotic_rounds restarts "the previously-downed node"
every round unconditionally via start_node(\$DOWN), but a round that skips
(no primary to kill) never updates \$DOWN -- so a stale node name reaches
start_node again while its own earlier restart is still alive, stacking a
second xce_controller on the same --myname/port without ever killing the
first. Six stacked ctrl-2 processes were observed by the end of a 10-round
run.

Fixed inside start_node itself with a pgrep guard, rather than reworking
run_chaotic_rounds's DOWN bookkeeping, so every call site is covered:
refuse to launch a duplicate if "xce_controller --myname \$1" is already
running.

Verified: re-ran the identical 10-round --chaotic soak that surfaced this.
The guard fired on every skip-round; exactly 3 xce_controller processes
alive throughout the entire run.

Note: the same soak run still hits a genuine, separate election-liveness
stall (a surviving node fenced non-promotable by a real apply-correctness
divergence, traced to non-identical duplicate WAL submits for the same
jobid) -- filed as bug-1419, not fixed here.
2026-07-07 13:53:54 +00:00
..
kiro-debug add kiro skills 2026-05-21 03:41:57 +00:00
kiro-discovery add kiro skills 2026-05-21 03:41:57 +00:00
kiro-impl add kiro skills 2026-05-21 03:41:57 +00:00
kiro-review add kiro skills 2026-05-21 03:41:57 +00:00
kiro-spec-batch add kiro skills 2026-05-21 03:41:57 +00:00
kiro-spec-design claude skills 2026-05-29 15:00:06 +08:00
kiro-spec-init claude skills 2026-05-29 15:00:06 +08:00
kiro-spec-quick claude skills 2026-05-29 15:00:06 +08:00
kiro-spec-requirements claude skills 2026-05-29 15:00:06 +08:00
kiro-spec-status add kiro skills 2026-05-21 03:41:57 +00:00
kiro-spec-tasks claude skills 2026-05-29 15:00:06 +08:00
kiro-steering claude skills 2026-05-29 15:00:06 +08:00
kiro-steering-custom claude skills 2026-05-29 15:00:06 +08:00
kiro-validate-design add kiro skills 2026-05-21 03:41:57 +00:00
kiro-validate-gap add kiro skills 2026-05-21 03:41:57 +00:00
kiro-validate-impl add kiro skills 2026-05-21 03:41:57 +00:00
kiro-verify-completion add kiro skills 2026-05-21 03:41:57 +00:00
xce-build feat(xce-build): add non-ASAN debug + release profiles; root-cause bug-1286 with the debug build 2026-06-30 09:15:36 +00:00
xce-deploy-ha docs(ha-single-leader-role): sync steering + contributor docs to three-state model + own-term gate (task 6.1) 2026-06-13 14:58:55 +00:00
xce-test-ha fix(xce-test-ha): guard start_node against duplicate launches (bug-1418) 2026-07-07 13:53:54 +00:00