feat(services/gcs-grpc): add GCS gRPC service - #8153
Merged
Conversation
Xuanwo
marked this pull request as ready for review
August 26, 2026 07:51
…ervice # Conflicts: # dev/src/generate/mod.rs
PsiACE
approved these changes
Aug 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Which issue does this PR close?
N/A. No existing issue tracks this service implementation.
Rationale for this change
Provide a standalone Google Cloud Storage gRPC service without depending on the
google-cloud-storageclient crate. The service uses OpenDAL existing Google credential providers and a generated Tonic client for the retained Storage v2 API surface.What changes are included in this PR?
Add the optional
opendal-service-gcs-grpccrate and register theservices-gcs-grpcfacade feature andgcs-grpcURI scheme. The service implements stat, read, write, delete, list, and copy operations. Writes use a finite non-resumableWriteObjectstream for one-shot uploads and GCS resumable writes when OpenDAL supplies multiple writes.Add a cropped Storage v2 proto, generated client, pinned upstream descriptor, and generator-side compatibility validation for retained methods and messages.
Add GCS gRPC behavior-test setup backed by the existing GCS test credentials.
Are there any user-facing changes?
Yes. Users can enable
services-gcs-grpcand construct the service withGcsGrpcor thegcs-grpc://bucket/rootURI scheme.AI Usage Statement
AI materially assisted implementation and test drafting under human-directed design review. The contributor reviewed the submitted behavior and remains responsible for the changes and claims.