Expand description
Deterministic examples for consumer tests, built from the production owners’ types.
Structs§
- Test
Oracle - An oracle of applied metadata that tests may populate from streamed records.
Constants§
- STORE_
ID - The store shared by the deterministic storage and format fixtures.
Functions§
- announcement
- An earlier snapshot announcement preserved by the fixture snapshot.
- authored_
records - The fixture’s kept source evidence, each change applied by its author:
the first write’s insert of the row, its value kept as a digest, then the
fixture write’s store part, whose reference
xis kept in full, and its execution-only row. - bounded_
slot - Seal and sign a bounded slot with public test keys and deterministic nonces.
- check_
past - Validate the fixture write against its explicitly supplied past.
- chunked_
snapshot_ frames - A snapshot with a merge row spanning chunk boundaries.
- chunked_
write - A two-audience write with a row frame spanning three chunks.
- column
- A value with no foreign-key metadata.
- concurrent_
loss - A concurrent cell loss of the fixture row.
- creation
- The fixture row’s selected creation, by device one’s first write.
- creation_
change - The first admin change, carried by slot one.
- encoded_
examples - Pinned plaintext frames, then a write prefix/header/part chunks and a snapshot prefix/plaintext chunks. Crypto supplies sealed bytes separately.
- excluded_
loss - The row values of a write excluded by a schema change.
- fixture_
bytes - Decode a pinned hexadecimal fixture for consumer tests.
- frame_
examples - Bounded canonical frames used to exercise every byte and truncation.
- identity
- Ana’s id with her original pair, as identity custody holds it.
- invite
- Invite contents with a fixed test secret.
- join_
request - Ana’s request answering the re-binding invite with her replacement pair, which signs it (D8, D13).
- keychain_
restore - The restore code as coven saves it for the person, named by a rename at slot 41.
- keys_
from_ seed - A private pair whose signing and sealing seeds are both
seed: public test data. - loss_
entry - A reset’s slot used by loss examples.
- member
- The public halves of Ana’s original pair.
- member_
id - The fixture member Ana’s stable id, independent of every key she holds.
- member_
keys - Ana’s original private pair, with fixed public test seeds 0x33.
- member_
removal - A member-removal admin change.
- merge_
row - The fixture’s merged row, with an actual concurrent loss validated by merge.
- merge_
row_ of - A merge row of
rowwhose cellxholdsvalue. - objects
- Every independently decoded ordinary object kind.
- oracle
- Three applied writes, including two concurrent setters of the fixture row.
- other_
member - Ben’s initial public pair, with fixed public test seeds 0x35.
- other_
member_ id - Another member, Ben, whom the fixtures add and remove.
- past
- The fixture author has read these original writes.
- position
- An original write by device one.
- replacement
- The public halves of Ana’s replacement pair, bound to the same id.
- replacement_
keys - Ana’s replacement private pair, with fixed public test seeds 0x34 (§10).
- restore
- Restore contents with test seeds and that S3 location, without a key.
- retained_
losses - Both kinds of loss after their row’s merge history has been discarded.
- row
- A row with a text key in the store.
- slot_
header - The deterministic header of a device-one claim.
- slot_
path - A canonical path for one positive slot number.
- snapshot_
frames - A complete example snapshot emitted by the production streaming encoder.
- snapshot_
header - The header for the fixture’s eleven snapshot sections.
- snapshot_
prefix - The sealed prefix carrying a snapshot’s coverage, with a fixed test key.
- snapshot_
records - Records in their canonical section and identity order.
- store_
changes - Each admin operation in its canonical tag order.
- store_
key - The public fixture’s store key, whose bytes are committed by creation.
- timestamp
- The fixture write’s timestamp.
- transient_
execution - A row the fixture write inserts and deletes again: no net change, two operations, which still reach the write’s authorship leaves (D5).
- write
- A write updating one cell, with named foreign-key metadata on its new value.
- write_
evidence - Evidence for the fixture write’s store part, opening its updated cell.
- write_
plaintext - A plaintext queue value produced by the format’s queue encoder.