Parse-then-pack, for a caller holding raw bytes rather than parsed messages.
ponytail: no production caller is left — killing the double parse gave every
one of them the parsed messages already. It stays because the wire
characterization pins chunk boundaries through it, and pinning them through
the composition is what makes those goldens comparable across the refactor.
Upgrade path: point the characterization at packChunks(readMessages(...))
and delete this.
Parse-then-pack, for a caller holding raw bytes rather than parsed messages.
ponytail: no production caller is left — killing the double parse gave every one of them the parsed messages already. It stays because the wire characterization pins chunk boundaries through it, and pinning them through the composition is what makes those goldens comparable across the refactor. Upgrade path: point the characterization at
packChunks(readMessages(...))and delete this.