Skip to content

feat(option/internaloption): add EnableDirectPathXdsOverInterconnect - #3742

Merged
nidhiii-27 merged 5 commits into
mainfrom
feat/directpath-xds-over-interconnect
Oct 6, 2026
Merged

nidhiii-27 merged 5 commits into
mainfrom
feat/directpath-xds-over-interconnect

Conversation

@nidhiii-27

Copy link
Copy Markdown
Contributor

Blocked on googleapis/google-cloud-go#20559 being merged and cloud.google.com/go/auth being released (CI will fail until cloud.google.com/go/auth is bumped in go.mod).

Adds internaloption.EnableDirectPathXdsOverInterconnect() and plumbs DialSettings.EnableDirectPathXdsOverInterconnect into grpctransport.InternalOptions.EnableDirectPathXdsOverInterconnect in transport/grpc/dial.go.

Plumbs internaloption.EnableDirectPathXdsOverInterconnect() through internal.DialSettings into grpctransport.InternalOptions.EnableDirectPathXdsOverInterconnect.

[Generated-by: AI]
…thXdsOverInterconnect

Updates cloud.google.com/go/auth to include grpctransport.InternalOptions.EnableDirectPathXdsOverInterconnect and adds unit test coverage in transport/grpc/dial_test.go.

[Generated-by: AI]
@nidhiii-27
nidhiii-27 marked this pull request as ready for review September 28, 2026 06:23
@nidhiii-27
nidhiii-27 requested review from a team as code owners September 28, 2026 06:23
@nidhiii-27
nidhiii-27 requested a review from shollyman October 1, 2026 05:58

@shollyman shollyman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Reasonable while you work on this feature, though I wonder if its indicating we would be better off with an option that more completely controls transport details.

For example, if we're moving towards more "flavors" of directpath, EnableDirectPathMode(mode).

@nidhiii-27

Copy link
Copy Markdown
Contributor Author

Thanks for the review and approval, @shollyman! That makes a lot of sense—if we introduce additional DirectPath flavors or more fine-grained transport profiles in the future, consolidating them into something like EnableDirectPathMode(mode) or broader transport settings would definitely be cleaner than adding one-off booleans.

Since this is in internaloption (so no public API commitment) and auth/grpctransport (#20559) is already merged expecting this boolean, I’d like to keep it as-is for now to unblock the GCS gRPC changes in googleapis/google-cloud-go#20561. We can follow up with a transport-level refactor once the broader DirectPath mode requirements take shape.

cc: @cpriti-os

@nidhiii-27
nidhiii-27 merged commit 9bda4c1 into main Oct 6, 2026
12 checks passed
@nidhiii-27
nidhiii-27 deleted the feat/directpath-xds-over-interconnect branch October 6, 2026 06:47
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.

2 participants