Skip to content

Fix assumption of IPv4 loopback address on macOS#68

Merged
jpsamaroo merged 3 commits intomasterfrom
jps/macos-loopback-ipv6-fix
Apr 20, 2026
Merged

Fix assumption of IPv4 loopback address on macOS#68
jpsamaroo merged 3 commits intomasterfrom
jps/macos-loopback-ipv6-fix

Conversation

@jpsamaroo
Copy link
Copy Markdown
Member

Found when precompiling DistributedNext without Wifi on macOS - apparently _get_interfaces doesn't find an IPv4 loopback address (but does find one for IPv6), but start_worker assumed that the bind_addr was always IPv4.

@jpsamaroo jpsamaroo requested a review from JamesWrigley April 20, 2026 14:56
@jpsamaroo jpsamaroo added the bug Something isn't working label Apr 20, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.82%. Comparing base (1bea48c) to head (5d86852).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #68   +/-   ##
=======================================
  Coverage   88.81%   88.82%           
=======================================
  Files          13       13           
  Lines        2271     2272    +1     
=======================================
+ Hits         2017     2018    +1     
  Misses        254      254           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Copy link
Copy Markdown
Collaborator

@JamesWrigley JamesWrigley left a comment

Choose a reason for hiding this comment

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

LGTM!

@jpsamaroo jpsamaroo merged commit 2914b2b into master Apr 20, 2026
13 checks passed
@jpsamaroo jpsamaroo deleted the jps/macos-loopback-ipv6-fix branch April 20, 2026 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants