Skip to content

Don't fail configuring the consommé loopback adapter when ipv6 is disabled - #41729

Merged
Blue (OneBlue) merged 1 commit into
masterfrom
user/oneblue/consomme-no-ipv6
Sep 29, 2026
Merged

Blue (OneBlue) merged 1 commit into
masterfrom
user/oneblue/consomme-no-ipv6

Conversation

@OneBlue

Copy link
Copy Markdown
Collaborator

Summary of the Pull Request

This changes updates the loopback configuration logic to ignore ipv6 failures when ipv6 is disabled inside the VM

PR Checklist

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Copilot AI balanced review requested due to automatic review settings September 29, 2026 20:14
@OneBlue
Blue (OneBlue) requested a review from a team as a code owner September 29, 2026 20:14

Copilot AI 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.

Copilot review overview

🟡 Changes recommended

The new test does not verify that IPv4 loopback traffic actually works after suppressing the IPv6 error.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Prevents Consomme networking from failing when IPv6 is disabled at boot.

Changes:

  • Ignores expected missing IPv6 sysctl errors.
  • Adds IPv6-disabled configuration coverage.
  • Documents the behavior.
File Description
src/​linux/​init/​NetworkManager.cpp Continues IPv4 loopback setup after expected IPv6 errors.
test/​windows/​NetworkTests.cpp Tests Consomme configuration without IPv6.
doc/​docs/​technical-documentation/​localhost.md Documents IPv6-disabled initialization.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

VERIFY_ARE_EQUAL(loopbackState.V4Addresses.size(), 1u);
VERIFY_ARE_EQUAL(loopbackState.V4Addresses[0].Address, L"169.254.73.250");
VERIFY_ARE_EQUAL(loopbackState.V4Addresses[0].PrefixLength, 28u);
VERIFY_IS_TRUE(loopbackState.V6Addresses.empty());
@OneBlue
Blue (OneBlue) merged commit b87456d into master Sep 29, 2026
14 checks passed
@OneBlue
Blue (OneBlue) deleted the user/oneblue/consomme-no-ipv6 branch September 29, 2026 23:45
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.

4 participants