- Update various dependencies (Kotlin, google-cloud-storage, Gradle plugin publish plugin)
- Warn when a user incorrectly configures GCP bucket to be used for the cache.
- Downloads
Blob
s to an intermediateBuffer
or aFile
depending on the size of the blob. - The underlying
FileHandleInputStream
gets cleaned up automatically after theInputStream
is closed. - This way we can avoid flakes from the build cache, that is caused by intermittent
StorageException
s - Retry on fetches given they are being fetched to an intermediate location.
- Handles exceptions when fetching
BlobInfo
s andReadChannel
s from the storage service.
- Fixes issue 19.
- Remove retry-ing of RPCs.
- When writes fail, we fail silently and treat subsequent reads as a cache-miss.
- Set the
chunkSize
for reads to equal the size of theBlob
. This way, we only make 1 RPC per blob input stream. This is safe because the size of the objects in cache are not very large.