Sbt dependency cache key is calculated incorrectly, causing slowness & inconsistent run times #477
Closed
2 of 5 tasks
Labels
bug
Something isn't working
Description:
Sbt dependency cache key is calculated incorrectly.
Task version:
v3.11.0
Platform:
Runner type:
Repro steps:
Run this workfile on some scala project, later modify some scala or sbt file under
project/
and compare hashes.In our case, before modification of
api/project/Dependencies.scala
:After modification:
As you can see cache is calculated incorrectly.
Expected behavior:
When an
sbt
orscala
file has changed underActual behavior:
All
sbt
andscala
files are ignored under**/project/
and this is causing the cache to act slower / inconsistent. I also realized pruning cache was speeding up our CI runs a lot but they were slowing down by time and they were getting slower and slower almost every day.The text was updated successfully, but these errors were encountered: