You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert the snapshot writer emits the header it was handed
The licence and the copyright holder are parameters of
`LibRainDeploySnapshot` rather than constants inside it, so that deploy
repos in other orgs get their own header in their own append-only
`src/generated/<tag>/`. That freedom is only worth having if what is
handed in is what comes out.
The alias and released emitters each already assert their output byte for
byte. The snapshot writer had no such assertion: the two values are
strings of the same type in adjacent positions, so a call that swapped
them compiles and writes a file carrying both, in the wrong tags. Every
other test that reads a snapshot header reads the COMMITTED file, which
is evidence about a generation that already happened rather than about
what the writer emits now.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
0 commit comments