Repository navigation
fix(storage): resolve GrpcStorageOptions default host from the configured universe domain - #15238
Open
nidhiii-27 wants to merge 2 commits into
Open
nidhiii-27 wants to merge 2 commits into
nidhiii-27 wants to merge 2 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates GrpcStorageOptions to correctly resolve and propagate the configured universe domain when setting up storage settings and hosts, and adds a comprehensive test suite in GrpcStorageUniverseDomainTest to verify these behaviors. Feedback on the changes suggests wrapping the spawned Process in the test probe in a try-finally block to prevent potential process leaks, and avoiding wrapping the in-memory ByteArrayOutputStream in a try-with-resources block since its close operation is a no-op.
…ured universe domain GrpcStorageOptions derives its default host and the StorageSettings universe domain from the universe domain resolved in StorageOptions, as HttpStorageOptions does. Custom hosts set with setHost() are used as set. GrpcStorageUniverseDomainTest covers host and channel settings.
nidhiii-27
force-pushed
the
fix/storage-universe-domain-env
branch
from
November 27, 2026 06:51
6c01bec to
fa26520
Compare
nidhiii-27
force-pushed
the
fix/storage-grpc-universe-domain
branch
from
November 27, 2026 06:51
bd534de to
540748d
Compare
nidhiii-27
marked this pull request as ready for review
November 27, 2026 06:52
Dhriti07
reviewed
Nov 27, 2026
Dhriti07
reviewed
Nov 27, 2026
GrpcStorageOptions.Builder.build() resolves the storage host before constructing GrpcStorageOptions when no host is set manually, and re-resolves after construction only when a manually set host equals the default host literal. Custom host preservation and explicit universe-domain precedence remain unchanged. Added assertions for custom-host toBuilder() preservation and explicit universe-domain precedence in GrpcStorageUniverseDomainTest. [Generated-by: AI]
This branch has not been deployed
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.
GrpcStorageOptions derives its default host and the StorageSettings universe domain from the universe domain resolved in StorageOptions, as HttpStorageOptions does. Custom hosts set with setHost() are used as set. GrpcStorageUniverseDomainTest covers host and channel settings.