Repository navigation
fix(client): resolve NIXL metadata hostnames before fetching - #848
Open
VanyaGlazunov wants to merge 3 commits into
Open
VanyaGlazunov wants to merge 3 commits into
VanyaGlazunov wants to merge 3 commits into
Conversation
Contributor
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
VanyaGlazunov
force-pushed
the
vanyaglazunov/resolve-nixl-metadata-hostnames
branch
from
October 6, 2026 11:15
8a12bc5 to
015c977
Compare
Author
|
Hello, @zhengluo-nv @nv-hwoo, could you take a look when you have time, please? |
VanyaGlazunov
force-pushed
the
vanyaglazunov/resolve-nixl-metadata-hostnames
branch
from
October 20, 2026 12:46
1be8a85 to
584fbe0
Compare
KavinKrishnan
approved these changes
Oct 26, 2026
Author
|
@KavinKrishnan Thanks for the approval! Can I get ok to test? |
Contributor
Could you rebase with main, apologies |
Signed-off-by: Ivan Glazunov <vanya.glazunov05@gmail.com>
VanyaGlazunov
force-pushed
the
vanyaglazunov/resolve-nixl-metadata-hostnames
branch
from
October 27, 2026 21:38
04ddeb8 to
e1c1f71
Compare
Contributor
|
/ok to test e1c1f71 |
Author
|
Hi, @KavinKrishnan, thanks again for helping me put together this contribution. As far as I am concerned remaining CI failures appear related to pytest version change rather than this pr content. Is there anything else needed from my side before this can be merged? Happy to make further changes if needed! |
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.
Summary
Closes #847.
ModelExpress accepts DNS hostnames for advertised worker endpoints, while NIXL's socket metadata API requires numeric IP addresses. Resolve hostnames at the shared metadata-fetch boundary before passing them to NIXL.
This complements NIXL #2236, which adds IPv6 socket support but explicitly disables DNS resolution through
AI_NUMERICHOST. Hostnames resolving to IPv6 therefore require both changes.getaddrinfo(AF_UNSPEC, SOCK_STREAM)and select the first IPv4/IPv6 result in system resolver order.This change uses only the Python standard library. It selects one address; multi-address connection failover is not implemented.
Validation
127.0.0.1,::1,[::1], andlocalhost, invalidating remote metadata between address cases.Summary by CodeRabbit
Features
Documentation