You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
nostream-relay transport test fails 4 of 5 runs at base under load, so the suite gate is a coin flip #1225
crates/nostream-relay/tests/transport.rs:507 — a_client_that_answers_every_ping_survives — fails under load, and it fails more often at base than on the branch under review, so it is not attributable to any one change.
Measured 2026-11-22
tree
command
result
job branch head 64f84448
cargo test -p nostream-relay --test transport --all-features
failed in 1 of 3 runs
same, case in isolation
… a_client_that_answers_every_ping_survives
3 of 3 green
base ab3626c1 (git archive into a clean dir, same target dir)
same target command
failed in 4 of 5 runs
Failure text: Connection reset without closing handshake. crates/nostream-relay has no diff on the branch that produced these numbers.
Why it matters beyond one job
The workspace suite is the factory's gate. A test that reddens 4 of 5 runs at base under concurrent load turns a green run into a coin flip, and the two ways an operator reacts — "re-run until green" or "ignore this target" — both cost the gate its meaning. It also cost one measured run tonight: a parallel second workspace suite collided with the first and produced a red head number that had to be discarded.
Shape of the test
A 20 ms keepalive across ten rounds; the client asserts it survives every ping. Under a loaded machine the keepalive and the reset race, so the assertion depends on scheduling rather than on the transport's contract.
What would fix it
Not a longer timeout — that hides the race the test exists to catch. Either drive the rounds on a mock clock, or assert the property that matters (no ping goes unanswered while the client is live) with the harness's clock under the test's control rather than the OS's.
Activity