Cache keys are inputs, not branch names
How hashing a step's real inputs took median CI from 18 minutes to 3.
NOTE · PLAIN TEXT
How hashing a step's real inputs took median CI from 18 minutes to 3.
How hashing a step's real inputs took median CI from 18 minutes to 3.
If your cache key contains the branch name, every new branch starts cold. The only honest key is a hash of what the step reads.
What counts as an input
Source files, environment variables the step reads, and the toolchain version. Forgetting the toolchain cost us a week of confusing hits after an upgrade.
One note a month. No tracking pixels.
New research notes by email, plain text, with a one-click unsubscribe.
Keep reading.
Short write-ups of things that broke and how they got fixed. Plain language, real numbers.
The projects behind the notes.
Filter by language, sort any column, and hover a row for the preview. Each row opens the full case study.