flaky-test (expedited): apply #898 wait_ready connect-probe to recovery_runtime_unittest.py (co-equal CI vector) #899
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Co-equal CI flake vector to #897/#898.
recovery_runtime_unittest.pyis ALSO in the CItestchain (pnpm test→ turbo →packages/mosaictest=vitest run && test:framework-shell, which runs 11 py unittests incl this one) and carries the IDENTICALwait_ready()TOCTOU race (socket_path.exists()beforelisten()→ ECONNREFUSED under load). Full CI stability needs this fixed too (#898 fixed only recovery_b1).Fix: cherry-pick the PROVEN form now on main from
recovery_b1_adversarial_unittest.py::wait_ready()(PR #898) intorecovery_runtime_unittest.py::wait_ready(). Same scalpel: readiness probe ONLY, zero assertion/logic changes, zero daemon changes. Independent review carries the assert-byte-unchanged gate. (The 2 compaction-refresh probes p5/p6 are docs/, NOT in CI — separate trailing low-priority PR per Mos.)