[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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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