mirror of
https://github.com/jmcorgan/fips.git
synced 2026-07-30 19:46:15 +00:00
The suite red-ed with an empty final peer_count while every substantive assertion passed: both denied peers showed inbound handshake attempts and zero outbound responses, which is the gate this suite exists to verify. Two pre-existing defects combined. The final count was sampled once, in the same second the load driver issues its last round of peer restarts, so the read can land on a daemon busy with those restarts and return nothing. And the fallback meant to cover that could never fire, because the shell applies it to the last stage of the pipeline, which succeeds on empty input - so an unanswered query was indistinguishable from a genuine zero, and reported as a cap violation. Poll the final read for a short window instead, and give the two cases distinct output. A real regression still fails, just after the retry window, since the loop exits early only on the expected value. Extract the read the two phases share rather than leaving them to drift.