flybrain/services/flysim/crates/flybus/tests
acamilo c3bda90b82 test(flybus): prove the two section 9 rows a review found cited but unproven
An independent review of 4f44894 accepted the audit with two required evidence
changes, neither of which needed a code change.

"Classification is not a topic-name heuristic" cited a lane-order test that
never varies a topic name. The row is now conforms-by-construction, naming the
four scheduler functions that read only the queue an item sits in, and
a_topic_named_like_a_notice_is_still_classified_as_topic_data publishes on
topics called call.failed, route.removed and subscription.closed and asserts
each arrives as a topic.message delivery with its payload intact.

"A latest subscriber never causes BACKPRESSURE" cited a bounded-mode test and
the ignored measurement. a_latest_subscriber_never_refuses_a_publication floods
one unconsumed latest slot with 100 publications of 60 KB, six times the
per-client bounded byte pool, and asserts none is refused, 98 coalesce, the
queue stays at one and the credit never comes back. That row also underwrites
the byte-budget deviation and the first contradiction.

Both tests run over both transports.

The coordinator resolved both contradictions in the spec rather than the code,
so bus-v1 carries them as dated amendments with one line of reason each: the
section 9 table row becomes "Per-client ordinary bounded queued envelope bytes"
with a new "Latest subscription slots | subscriptions x 64 KiB" row, and the
section 2 sketch drops the budget argument and shows the deadline at the caller.
With the amended wording the byte-budget row conforms, so the report's counts
are 178 / 9 / 1 fixed / 7, and the crate README's differences 4 and 8 say they
no longer differ.
2026-09-22 12:39:07 +00:00
..
common test(flybus): the BUS acceptance bullets that were unproven, and transport traces 2026-09-22 12:01:34 +00:00
artifacts.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
bus_acceptance.rs test(flybus): prove the two section 9 rows a review found cited but unproven 2026-09-22 12:39:07 +00:00
conformance_artifacts.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
conformance_routing.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
conformance_wire.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
example_demo.rs test(flybus): assert the example's output, and split the frame measurement up 2026-09-22 12:01:43 +00:00
integration.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
perf.rs test(flybus): assert the example's output, and split the frame measurement up 2026-09-22 12:01:43 +00:00
pubsub.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
rpc.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
sol_rereview_regressions.rs fix(flybus): stop connection teardown being starved by the frame it waits for 2026-09-22 12:01:24 +00:00
sol_review_races.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00
wire.rs feat(flybus): add standalone IPC bus and conformance tests 2026-09-22 03:46:27 +00:00