flybrain/services/flysim/crates/flybus/tests
acamilo 0a35b393aa flybus: sealing sends, encode-once router, cheaper client hot path (BUS-02)
- bus-v1 section 12 amendment 2026-10-02: an rpc.call/rpc.reply/publish attachment may name the
  sender's own unsealed writer; the router seals its declared prefix on admission (copy outside
  the state lock), the writer becomes the sender's hold, and with recycle:true the staging
  allocation comes back as a new writer in the reply. A refused sealing send releases every
  writer it named. contractDigest changes.
- SDK: ArtifactWriter::into_unsealed, Responder::reply_sealing; no rpc.responder.release after an
  admitted reply; delivery payloads moved, not cloned; Fields without hashing.
- Router: every frame encoded once (id spliced at selection); admitted payloads forwarded as
  pre-encoded JSON instead of deep copies; seal copies via copy_file_range with a sized buffer;
  client location resolution caches the store directories.
- fly-session: result attachments kept as delivered (no artifact.retain round trip per
  attachment); reply artifacts sealed by the reply that carries them, writers recycled into a
  capacity-bucketed pool.
- tests: sealing.rs; artifacts.rs updated to the amendment. examples/rtt.rs measures a round trip.
2026-10-02 04:28:05 +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 flybus: sealing sends, encode-once router, cheaper client hot path (BUS-02) 2026-10-02 04:28:05 +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 flybus: deliveries carry read locations; small store I/O in place; no body copies 2026-10-01 23:57:29 +00:00
conformance_routing.rs flybus: assert the latest-mode guarantee, not the machine's timing 2026-09-22 17:05:25 +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 docs: the two sweep flakes are fixed, and one assertion that could not fail 2026-09-22 18:28:54 +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
sealing.rs flybus: sealing sends, encode-once router, cheaper client hot path (BUS-02) 2026-10-02 04:28:05 +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 flybus: deliveries carry read locations; small store I/O in place; no body copies 2026-10-01 23:57:29 +00:00
wire.rs flybus: deliveries carry read locations; small store I/O in place; no body copies 2026-10-01 23:57:29 +00:00