From 3e3cde19b95d3abaf4f3aced91af66bdd3977502 Mon Sep 17 00:00:00 2001 From: eugene yokota Date: Sat, 7 Feb 2026 23:40:16 -0500 Subject: [PATCH] [2.x] fix: Disk cache label (#8716) **Problem** Currently symlink hit is reported separately from the disk cache, which is not necessary. **Solution** Rename the symlink label to disk. --- util-cache/src/main/scala/sbt/util/ActionCache.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util-cache/src/main/scala/sbt/util/ActionCache.scala b/util-cache/src/main/scala/sbt/util/ActionCache.scala index 25dd8cbea..5120618c3 100644 --- a/util-cache/src/main/scala/sbt/util/ActionCache.scala +++ b/util-cache/src/main/scala/sbt/util/ActionCache.scala @@ -166,7 +166,7 @@ object ActionCache: store.syncBlobs(result.outputFiles, config.outputDirectory) if result.exitCode.contains(failureExitCode) then Some(Left(Some(failureFromStr(str)))) - else Some(Right(valueFromStr(str, Some("symlink")))) + else Some(Right(valueFromStr(str, Some("disk")))) case Left(_) => None else None