Skip to content

Conversation

@apolcyn
Copy link
Contributor

@apolcyn apolcyn commented Sep 2, 2025

Remove reliance on metadata server since it's result is no longer needed, hardcode IPv6 support in node metadata instead.

Related c++ change: grpc/grpc#40571

Note we preserve prior behavior in case experiment NewPickFirstEnabled is disabled, because our testing/qualification has not covered that being disabled.

Related: internal issue b/407587619

RELEASE NOTES: n/a

@codecov
Copy link

codecov bot commented Sep 2, 2025

Codecov Report

❌ Patch coverage is 57.14286% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.42%. Comparing base (29ba001) to head (fa95888).
⚠️ Report is 6 commits behind head on master.

Files with missing lines Patch % Lines
xds/googledirectpath/googlec2p.go 57.14% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8550      +/-   ##
==========================================
- Coverage   82.00%   81.42%   -0.58%     
==========================================
  Files         413      413              
  Lines       40523    40621      +98     
==========================================
- Hits        33230    33075     -155     
- Misses       5909     6067     +158     
- Partials     1384     1479      +95     
Files with missing lines Coverage Δ
xds/googledirectpath/googlec2p.go 85.85% <57.14%> (-7.48%) ⬇️

... and 26 files with indirect coverage changes

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

@apolcyn apolcyn changed the title [google-c2p] remove dependency on metadata server for IPv6 node metadata google-c2p: remove dependency on metadata server for IPv6 node metadata Sep 2, 2025
@apolcyn apolcyn changed the title google-c2p: remove dependency on metadata server for IPv6 node metadata GoogleC2p: remove dependency on metadata server for IPv6 node metadata Sep 2, 2025
@apolcyn apolcyn changed the title GoogleC2p: remove dependency on metadata server for IPv6 node metadata GoogleC2P: remove dependency on metadata server for IPv6 node metadata Sep 2, 2025
@apolcyn
Copy link
Contributor Author

apolcyn commented Sep 2, 2025

@dfawley I'm having some trouble getting the PR validation to pass `This PR must have a label starting with 'Type:'. I don't have permissions to set labels.

Besides that, sending for review

@apolcyn apolcyn marked this pull request as ready for review September 2, 2025 22:35
@arjan-bal arjan-bal requested a review from dfawley September 3, 2025 07:04
@arjan-bal arjan-bal added the Type: Feature New features or improvements in behavior label Sep 3, 2025
@arjan-bal arjan-bal added this to the 1.76 Release milestone Sep 3, 2025
Copy link
Member

@dfawley dfawley left a comment

Choose a reason for hiding this comment

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

Thanks for the PR!

}
if envconfig.NewPickFirstEnabled {
// Enable dualstack endpoints in TD.
// TODO(apolcyn): remove IPv6 metadata server queries entirely after old pick first is removed.
Copy link
Member

Choose a reason for hiding this comment

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

If there isn't already one, could you please file an issue (internal or on github) to track this work? Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the review!

Done, filed #8561

@dfawley dfawley merged commit e60a04b into grpc:master Sep 8, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Feature New features or improvements in behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants