Skip to content

feat(services/s3): add provider presets with documented endpoint defaults - #9045

Merged
Xuanwo merged 2 commits into
mainfrom
xuanwo/s3-provider-defaults-wave1
Nov 25, 2026
Merged

Xuanwo merged 2 commits into
mainfrom
xuanwo/s3-provider-defaults-wave1

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Nov 25, 2026

Copy link
Copy Markdown
Member

Which issue does this PR close?

Part of #8003.

Rationale for this change

Applications using S3-compatible storage currently assemble endpoints, signing regions and bucket addressing from generic S3 settings. These ten providers document enough of those settings for OpenDAL to derive them from the bucket location or account information, following RFC 7948 and #8013.

What changes are included in this PR?

The shared S3 runtime gains presets for Exoscale, Hetzner, OCI, OVHcloud, QingStor, Scaleway, DigitalOcean Spaces, Supabase, Tigris and Wasabi. Each has a typed config, URI scheme and Cargo feature. The change also adds the binding feature wiring, generated configuration types and provider guides.

Tigris defaults to a global endpoint and the auto signing region. Spaces derives its endpoint from the datacenter and defaults the signing region to us-east-1. OCI uses its commercial OC1 path-style endpoint, Supabase uses the project endpoint under /storage/v1/s3, and Wasabi selects from its published regional endpoints. Callers can supply an explicit endpoint for other deployments. The provider guides link the documentation for each default.

Are there any user-facing changes?

Enable the corresponding services-<scheme> feature to use the provider's builder or URI scheme. Existing generic s3 configurations continue to work. Each preset reports the shared S3 runtime's capabilities. Individual providers can support fewer operations. For example, Supabase does not support object versioning or restoring deleted objects.

Breaking changes

None.

AI Usage Statement

  • T3 Code / Pi, codex/gpt-6.2-sol, xhigh: implemented the presets, generated binding and website updates, and verified configuration, URI registration and presigned requests locally.
  • T3 Code / Pi, devin/swe-2, high: independently reviewed the implementation and checked provider defaults against official documentation.
  • T3 Code / Pi, agy-cli/gemini-4-neon, high: drafted the PR title and description.
  • T3 Code / Pi, codex/gpt-6.2-astra, high: coordinated the change, corrected documentation and feature ordering after review, and edited the PR description.

Provider defaults were checked against official documentation. Local tests exercise request construction and signing. Live operations against these ten providers and Java and .NET binding compilation were not verified locally.

@github-actions github-actions Bot added bindings/dotnet bindings/java bindings/python core releases-note/feat The PR implements a new feature or has a title that begins with "feat" services/s3 size:XXL This PR changes 1000+ lines, ignoring generated files. website labels Nov 25, 2026
@Xuanwo
Xuanwo merged commit 7dc9ec6 into main Nov 25, 2026
144 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/s3-provider-defaults-wave1 branch November 25, 2026 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bindings/dotnet bindings/java bindings/python core releases-note/feat The PR implements a new feature or has a title that begins with "feat" services/s3 size:XXL This PR changes 1000+ lines, ignoring generated files. website

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants