Pipeline Notes

Notes on incremental builds

July 2, 2026

An incremental build is only as good as its idea of what changed. Most of the trouble I have seen comes from inputs the build tool does not know about: environment variables, generated files, the current date baked into a version string.

A short checklist I now go through when a build is "randomly" slow:

Fixing the second point alone made our rebuilds after a branch switch go from minutes to seconds. Generated code now lives in build/gen and nothing outside build/ is ever written.

← All posts