diff --git a/crates/didbot-serve/tests/firehose_wire.rs b/crates/didbot-serve/tests/firehose_wire.rs index e55e59ca..9e43b76a 100644 --- a/crates/didbot-serve/tests/firehose_wire.rs +++ b/crates/didbot-serve/tests/firehose_wire.rs @@ -1,13 +1,13 @@ //! What this server writes on the firehose, against the recorded vectors. //! -//! The producer's half of `vectors/firehose/`. It asserts that serializing the -//! types this crate owns yields exactly the recorded bodies, so a rename or a -//! changed field here fails before it reaches a consumer that was built -//! somewhere else. +//! The producer's half of `vectors/firehose/`. Each vector's `event` and +//! `data` are the contract; this asserts that serializing the types this crate +//! owns yields exactly those, for `commit`, `delete`, `info`, `identity` and +//! `account` alike, so a rename or a changed field here fails before it +//! reaches a consumer built somewhere else. //! -//! Two of the vectors are consumer-side only and are not read here: they -//! record what an index must tolerate from a server that is not this one, and -//! no server built from this repository emits either. +//! `info-unknown-name` and `commit-sparse` pin what a consumer tolerates from +//! other servers, so only a consumer reads them. use std::path::PathBuf;