Skip to content
TestingModesModesStaticDrift

Drift

What it is

Generated-file vs. source comparison. Re-runs the generator (or its core logic) and byte-compares against the committed output. Catches the 'I edited the source but forgot to regenerate' failure mode.

When to use it

Codegen consistency — OpenAPI → MCP catalog, OpenAPI → SDK types, Prisma schema → migrations, TS tokens → CSS.

Example gates

openapi-mcp-drift, brand-tokens-drift, prisma-schema-drift

See also

On this page