myxce/src/xceadmin
Rongsong Shen 362098b12a
fix(xceadmin tests): root-cause the three flaky tests (bug-1683, bug-1485, bug-1725)
- bug-1683 (test_wire known-good capture): the client closed its TLS
  socket with the server's TLS 1.3 NewSessionTickets unread, so the kernel
  sent RST and the server lost the unread payload record; the server
  swallowed the OSError. The client now waits for the capture to finish,
  handler errors are recorded and asserted, and a 50 ms "tickets-pending"
  variant makes the RST race deterministic.
- bug-1485 (live HA push, versionTag=0): the CLI's 0 was an error reply
  (-110): after a late-joiner election the primary's own-term no-op only
  commits ~6 s later via heartbeat catch-up, so a push in that window
  misses the majority barrier. The fixture now waits until the latest
  own-term no-op has committed (wait_for_primary_write_ready); versionTag
  asserts print the CLI's stdout/stderr. The controller latency itself is
  bug-1913.
- bug-1725 (activation line missing): "Config upgraded" and the
  activation line are logged after the reply; both tests now poll for all
  three commit lines (shared assert_primary_committed).

xceadmin suite 373 passed; live push tests looped (95 runs incl. heavy
CPU load, 0 failures from these mechanisms).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-03 14:49:46 +00:00
..
src feat(controller-peers-env-fallback): name the environment source in xceadmin's controller errors (task 4.3) 2026-10-03 07:57:00 +00:00
tests fix(xceadmin tests): root-cause the three flaky tests (bug-1683, bug-1485, bug-1725) 2026-10-03 14:49:46 +00:00
.gitignore feat(admin-config-tool): task 1.3 - nix and xce-build.sh integration 2026-07-22 03:57:43 +00:00
meson-build.sh build: make Go and Python builds fully offline (hermetic Nix build) 2026-09-03 12:38:49 +08:00
meson-install.sh fix(admin-config-tool): pin xceadmin's python3 to meson's own resolution 2026-07-22 13:07:23 +00:00
meson.build build: make Go and Python builds fully offline (hermetic Nix build) 2026-09-03 12:38:49 +08:00
pyproject.toml feat(deploy,xceadmin): standalone xceadmin packaging + deploy-ha usability (bug-1566) 2026-08-17 10:20:52 +00:00