Drift Checking

Engineering Practices

Generated artefacts are regenerated and byte-diffed in CI, so a hand edit fails loudly.

Regenerating a derived artefact in CI and comparing it byte for byte with the committed copy, so a generated file cannot be edited by hand without the build noticing.

How we use it

Applied to every generated artefact here: clients, schemas, documentation. A generated file that someone edited is a file that has quietly stopped being generated.

10

systems