flybrain/services/flysim/crates/fly-legacy-session/tests
acamilo 6a92a1902b BUS-02 review notes: recycled writers zero-filled, replays wait for the sealing reply, typed seal failures
The feed and the control API run over flybus in production, so these notes are treated as
live-path correctness.

- N3: the router empties and re-reserves a recycled writer's staging file before reissuing it,
  so no artifact sealed from it (by prefix or whole) carries the previous artifact's bytes;
  ArtifactWriter::seal's doc now holds for every writer. contractDigest text says so.
- N2: a sealing reply is sent with the worker's result cache held, so a duplicate replays the
  sealed artifacts instead of attaching the still-unsealed writer.
- N1: a refused sealing reply is answered as the handler's own seal failure was before BUS-02
  (BACKEND_FAILURE, mutation applied), cached the same way, worker marked failed, and logged.
- N5: a failed staging rename unlinks the writer's own staging file.
- N4: recycle without a sealing attachment is refused even when false; one writer named by two
  attachments is refused as INVALID_ENVELOPE; the SDK checks writers on rpc.call and publish
  replies too.
- N6: the store-directory cache is per client connection; bus-v1 notes the residual case.
- N7: the fly-edge stall test waits for the feed topic; SERVE-01 parity accepts a refused
  /stimulate drained one frame late (retryAfterMs one frame apart, nothing else).
- tests: the review's adversarial lifecycle suite (sealing_lifecycle.rs); recycled-writer content,
  rename failure and recycle edges (sealing.rs); replay-vs-sealing and typed refusal in the worker
  shell; smaller-after-larger artifacts through fly-edge and fly-control-edge.
2026-10-02 10:14:23 +00:00
..
journal_replay.rs journal_replay: compare the adapter ledger as numbers 2026-09-29 21:54:41 +00:00
ledger_size.rs TASK-01 review fixes: an artifact-backed task ledger, the pending pulse, the palette seed, queued saves 2026-09-29 20:47:19 +00:00
palette_seed.rs TASK-01 review fixes: an artifact-backed task ledger, the pending pulse, the palette seed, queued saves 2026-09-29 20:47:19 +00:00
rollback_sequence.rs TASK-01 review fixes: an artifact-backed task ledger, the pending pulse, the palette seed, queued saves 2026-09-29 20:47:19 +00:00
save_handoff.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
service_parity.rs BUS-02 review notes: recycled writers zero-filled, replays wait for the sealing reply, typed seal failures 2026-10-02 10:14:23 +00:00
session_trace.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
shadow.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
shadow_relay_coverage.rs shadow: r3 notes: a reward skip still reads on for a stop; the relay flags a byte-cap stop; a window end takes back a pass; runbook: a new run after a long outage 2026-10-01 04:42:02 +00:00
shadow_remote.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
speed.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00
speed_ab.rs session: the live composition's participants on the router (BUS-01) 2026-10-02 00:09:41 +00:00