Expand description
The on-disk record format.
One JSON object per line, keys sorted, stored as a git note on the commit the
measurement describes. Line-oriented and order-independent so that git’s
cat_sort_uniq notes merge strategy resolves concurrent CI writers without
conflicts — see crate::notes.
Serialisation goes through Record::to_line rather than plain
serde_json::to_string because cat_sort_uniq dedupes on exact bytes: two
writers emitting the same measurement must produce byte-identical lines.
Structs§
Constants§
- SCHEMA_
VERSION - Bumped when the record shape changes incompatibly. Readers skip lines whose version they do not understand rather than failing the whole history.
Functions§
- parse_
note - Parse a whole note body, skipping lines that fail to parse.