flybrain/docs
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
..
design bus: wait for the teardown the disconnect test asserts 2026-09-22 14:29:57 +00:00
publish flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
architecture-tour.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
control-api.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
dataset-format.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
feed-protocol.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
integration.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
limitations.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
loop-review.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
model.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
overview.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
plasticity.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
readout.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
rewards-learning.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
stream-mvp-plan.md docs: session framework, the contract and session slices 2026-09-22 13:48:09 +00:00
streaming-plan.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00
verification.md flybrain v0.4.0: public tree (history retained privately) 2026-09-21 15:09:46 +00:00