mirror of
https://github.com/sbt/sbt.git
synced 2026-09-02 20:00:01 +02:00
**Problem** Serializing an UpdateReport re-reads every artifact through sjson-new's File iso to recompute its sha256, so every ActionCache key computation and Tracked write-back re-reads the whole dependency classpath on every invocation, including no-ops. **Solution** Override the iso with a hash memoized by (path, size, lastModified), with the same invalidation semantics as the digest cache in sbt/sbt#8363, and mix it into the generated codec via contrabandCodecParents. Generated-by: Claude Fable 5