Skip to content

Conversation

davinci26
Copy link
Contributor

@davinci26 davinci26 commented Jul 29, 2025

Fixes #8473

Matches the implementation of grpc C++ and Envoy that makes the node ID optional.

RELEASE NOTES:

  • xds: Revert to allowing empty node ID in xDS bootstrap configuration

Fixes grpc#8473

Matches the implementation of [grpc C++](https://github.com/grpc/grpc/blob/2ca9ac63ced7b77cf0eb885276fbedec1ab0bd10/src/core/xds/grpc/xds_bootstrap_grpc.cc#L67)
and Envoy that makes the node ID optional.

Signed-off-by: sotiris <[email protected]>
Copy link

linux-foundation-easycla bot commented Jul 29, 2025

CLA Signed


The committers listed above are authorized under a signed CLA.

Copy link

codecov bot commented Jul 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.37%. Comparing base (9186ebd) to head (58d45f5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8476      +/-   ##
==========================================
- Coverage   82.47%   82.37%   -0.11%     
==========================================
  Files         413      413              
  Lines       40513    40511       -2     
==========================================
- Hits        33415    33369      -46     
- Misses       5743     5774      +31     
- Partials     1355     1368      +13     
Files with missing lines Coverage Δ
xds/internal/clients/xdsclient/xdsclient.go 83.05% <ø> (-0.14%) ⬇️

... and 24 files with indirect coverage changes

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

@davinci26 davinci26 marked this pull request as ready for review July 29, 2025 13:36
@davinci26
Copy link
Contributor Author

cc @easwars

Also this is tested via unit tests but let me know if you want me to add integration tests somewhere

@eshitachandwani eshitachandwani added this to the 1.75 Release milestone Jul 29, 2025
@eshitachandwani eshitachandwani added Type: Bug Area: xDS Includes everything xDS related, including LB policies used with xDS. labels Jul 29, 2025
@eshitachandwani
Copy link
Member

LGTM , adding @easwars to take a look.

@easwars
Copy link
Contributor

easwars commented Jul 29, 2025

Thank you for your contribution @davinci26

@easwars easwars changed the title Allow empty nodeID xds: allow empty nodeID in bootstrap configuration Jul 29, 2025
@easwars easwars merged commit 7238ab1 into grpc:master Jul 29, 2025
18 of 21 checks passed
@arjan-bal arjan-bal modified the milestones: 1.75 Release, 1.74 Release Aug 1, 2025
dimpavloff pushed a commit to dimpavloff/grpc-go that referenced this pull request Aug 22, 2025
eshitachandwani pushed a commit to eshitachandwani/grpc-go that referenced this pull request Aug 26, 2025
eshitachandwani added a commit that referenced this pull request Aug 26, 2025
Original PRs : #8476 ,
#8483
Related issues : #8473 ,
#8474

RELEASE NOTES:

- xds: Revert to allowing empty node ID in xDS bootstrap configuration
- lrsclient:
- Fix a race condition where the LRSClient was not initialized at
creation time but it was being initialized at the time of calling the
ReportLoad function.
	- Creating an LRSClient no longer requires a node ID.

---------

Co-authored-by: Sotiris Nanopoulos <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: xDS Includes everything xDS related, including LB policies used with xDS. Type: Bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Version v1.74.2 Doesn't allow empty Node ID value anymore
4 participants