Closed liam-baker-sm closed 5 months ago
Thanks for the bug report- I pushed a fix to the master branch.
Updated: Sorry it seems that I mistakenly understood it. The header belongs to a "skippable frame" so it doesn't affect decompressing, does it?
Hello, I noticed the fix for this solution changed a very deep logic about how to returning a zstd-compressed blob, and is incompatible with previous versions.
I wonder if we may add an extra field (like HTTP header) to tell a bazel-remote
backend to return a zstd stream with the header or without it.
Setup: Local test server in docker container, compressed storage (zstd). Remote server, compressed storage (zstd) Version: 2.4.4 bazel_remote_arguments (local test server): --max_size=100 --grpc_proxy.url=grpcs://bazel-cache.domain:8443 Upstream fetches fail with the following error (note: real object hash replaced with the empty hash for confidentiality)
Works fine if using
--max_size=100 --http_proxy.url=https://bazel-cache.domain --storage_mode=uncompressed
Bazel builds use the GRPCS url without issue.