Expand description
Golden-fixture record and replay for streams.
A StreamCassette captures a deterministic trace of a stream – its
metadata, the ordered envelopes it produced, derived timing, accumulated
diagnostics, and the final stats – so that the same trace can be replayed
as a fresh StreamValue or persisted as a golden fixture for tests. The
kernel supplies the protocol types (Expr, Symbol, Error) used to
serialize a cassette; this module supplies the concrete streaming-fabric
behavior that records, redacts, validates, and round-trips those traces.
Structs§
- Stream
Cassette - A recorded, replayable trace of a single stream.
- Stream
Cassette Timing - Derived timing summary for a recorded cassette.
- Stream
Golden Fixture Report - Outcome of validating a cassette against the golden-fixture rules.
Constants§
- STREAM_
CASSETTE_ EXTENSION - File extension (without the leading dot) for a persisted golden fixture.
- STREAM_
CASSETTE_ FIXTURE_ ROOT - Repository-relative root directory under which golden stream fixtures live.
Functions§
- stream_
cassette_ format_ symbol - Returns the format symbol stamped into every serialized cassette.
- stream_
cassette_ golden_ extension - Returns the file extension (without leading dot) for golden fixtures.
- stream_
cassette_ golden_ root - Returns the repository-relative root for golden stream fixtures.