Skip to content

s3: bump opendal to 0.59.4 to support S3 Express One Zone - #2902

Open
Kostoprav19 wants to merge 2 commits into
mozilla:mainfrom
Kostoprav19:bump-opendal-0.59.4
Open

Kostoprav19 wants to merge 2 commits into
mozilla:mainfrom
Kostoprav19:bump-opendal-0.59.4

Conversation

@Kostoprav19

Copy link
Copy Markdown

opendal 0.59.0 recognizes directory bucket names (--x-s3 suffix), derives the zonal endpoint and defaults to the session signer for them (apache/opendal#8135), so bumping opendal and its split crates is enough: no change to how sccache builds the S3 operator is needed.

Document that directory buckets work with plain SCCACHE_BUCKET.

Fixes #2220

opendal 0.59.0 recognizes directory bucket names (`--x-s3` suffix),
derives the zonal endpoint and defaults to the session signer for
them (apache/opendal#8135), so bumping opendal and its split crates
is enough: no change to how sccache builds the S3 operator is needed.

Document that directory buckets work with plain SCCACHE_BUCKET.

Fixes mozilla#2220
@codecov-commenter

codecov-commenter commented Oct 12, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.14%. Comparing base (bab4d74) to head (f60f369).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2902      +/-   ##
==========================================
- Coverage   78.27%   78.14%   -0.13%     
==========================================
  Files          72       72              
  Lines       42123    42197      +74     
==========================================
+ Hits        32970    32976       +6     
- Misses       9153     9221      +68     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread docs/S3.md Outdated
- Optionally, `SCCACHE_ENDPOINT=<ip>:<port>` with a custom URL of a server you want a use, such as MinIO or DigitalOcean storage.
- `SCCACHE_S3_ENABLE_VIRTUAL_HOST_STYLE` to `true` if you are using a custom endpoint that supports virtual host style addressing. This is required for S3 transfer acceleration and some S3-compatible storage services. If you are using AWS S3, you can leave this unset.

S3 Express One Zone directory buckets (names ending in `--x-s3`) are supported as well: set `SCCACHE_BUCKET` to the directory bucket name and sccache uses the zonal endpoint and S3 Express session authentication automatically.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happens if SCCACHE_ENDPOINT is set too? does it override the zonal endpoint?
if so, please mention to leave it unset

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No — with a --x-s3 bucket opendal always sends requests to the zonal endpoint it derives from the bucket name; SCCACHE_ENDPOINT can’t override it.

opendal always sends directory bucket requests to the derived zonal
endpoint; an explicit AWS endpoint is only validated against the
bucket, and sccache defaults an unschemed SCCACHE_ENDPOINT to http,
which that validation rejects. Say to leave it unset.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@Kostoprav19

Copy link
Copy Markdown
Author

@sylvestre can you help please - CodSpeed job failed with error code 143, but i have completely no visibility why.

https://github.com/mozilla/sccache/actions/runs/38264728514/job/114964510974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support S3 Express One Zone

3 participants