[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.
This commit is contained in:
eugene yokota
2026-02-07 23:40:16 -05:00
committed by GitHub
parent de2c27abeb
commit 3e3cde19b9
@@ -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