flybrain/services/flysim/crates
acamilo 8afeaf6c92 bus: wait for the teardown the disconnect test asserts
caller_disconnect_cleanup_works_before_and_after_consumption failed 37 times
in 240 runs under load: the reply raced the router's own teardown. op_reply
reports routed:false only once disconnect has marked the call detached, and
the router runs that when its connection task reads EOF, while Client::close
waits for this client's reader only. The reply could therefore reach a
connection that was still closing and be routed. Nothing escaped -- teardown
releases those roots -- but the flag was read one step early.

The test now settles on the caller's connection being gone before asserting
the section 6 sentence, which is the poll the rest of the file already uses.
360 runs after the fix, 0 failures.

bus-conformance.md records the mechanism, the counts and the two other
intermittent failures seen in the same sweep, which are left to the bus slice.
2026-09-22 14:29:57 +00:00
..
fly-session media: native observation schemas and the presentation handoff 2026-09-22 14:28:58 +00:00
fly-session-types media: native observation schemas and the presentation handoff 2026-09-22 14:28:58 +00:00
flybrain-core flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
flybrain-gb macros: tests for the nurse's box 2026-09-22 10:39:15 +00:00
flybus bus: wait for the teardown the disconnect test asserts 2026-09-22 14:29:57 +00:00
flysim macros: count the centre's presses, not the whole run's 2026-09-22 11:17:30 +00:00