mirror of
https://github.com/sbt/sbt.git
synced 2026-08-30 09:50:02 +02:00
**Problem** CompileInputs2.sources and packageBin / mappings are hashed positionally but arrive in filesystem traversal order, which differs between APFS, ext4 and overlayfs. Two machines hash an identical tree into different cache keys and cannot use each other's entries. **Solution** Sort sourcesVF by virtualized id, and mappings where packageConfigurationTask reads it. Both are where the keys are built, so nothing appended later escapes the sort. Generated-by: Claude Opus 5