Support ZSTD compression in s3 remote cache
Open
Nobody has claimed this yet.
help wanted
kind/enhancement
- Dominant language
- Go
- Stars
- 10.3k
- Forks
- 1.5k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 48
Description
Right now the s3 remote cache only supports the default gzip compression(https://github.com/moby/buildkit/blob/9528036502c589626bfb60600af6ce5ee427f479/cache/remotecache/s3/s3.go#L166).
I would like to adjust the compression settings when using the s3 cache.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at cache/remotecache/s3/s3.go around line 166, where the S3 remote cache compression is currently selected. Trace how compression settings reach this entry point and determine the existing configuration surface. Done means S3 remote caches can select ZSTD compression instead of only the default gzip setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, go
- Domain
- cloud, devops
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100