Remote cache now shards by package graph
Cache keys used to hash the whole lockfile, so bumping one dev dependency invalidated every package. Keys are now scoped to each package's resolved subgraph. On our own monorepo (312 packages) median CI time went from 11m 40s to 3m 05s.
$ npx kiln@4.2.0 run build --affected
✓ 41 tasks · 37 cached · 3m 05s- kiln cache stats --since 7d shows hit rate per package
- New KILN_CACHE_SHARD env for self-hosted buckets
- Fixed a race when two runners uploaded the same artifact