Fix network status and latency on IPv6-only links - #11302
Open
emanueleadelini wants to merge 1 commit into
Open
Conversation
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.
On a link with a usable IPv6 default route but no ordinary IPv4 route,
omarchy-network-statuscan reportdisconnectedor show failed IPv4 probes while IPv6 works. This addresses the status and latency portion of #11215, reported by @anomalousmouse.The command now shares route selection between status and verbose output, preferring native IPv6 when IPv4 is absent or uses an IPv6 next hop / an IPv4 service-continuity source (
192.0.0.0/29). Ordinary IPv4 and dual-stack links keep their IPv4 preference; an existing IPv4 route is retained if IPv6 is unavailable.via.host.Related: #8683 adds separate IPv6 detail fields. This change focuses on selecting a usable route before the IPv4-only early return; it does not add parallel address fields.
Validation
Panel.qmlwere exercised; packaged files were restored after capture.test/allrun on baseb5589faand this candidate in identical headless VM environments: CLI suite passes in both; the same four shell test files fail in both, with no added failures. The affected files arelocate-test.sh,network-qr-test.sh,snapper-test.sh(missingomarchy-isofixture), andssh-reconnect-test.sh. This is not a claim that the full suite passes.network-test.sh, Bash syntax andgit diff --checkpass.Reproduction harness, results and environment notes. The isolated peer owns the probe addresses locally: these checks do not validate an ISP, Wi-Fi hardware, NAT64 or a complete 464XLAT deployment.
omarchy-network-speedtestis outside this patch's scope, so #11215 should remain open for the remaining work.Desktop before / after (isolated IPv6 backend)
Before: a reachable IPv6-only link is shown as disconnected.
After: connected status, IPv6 address, gateway and successful local probes; long values fit the panel. The local-peer latency is not an Internet performance measurement.
Prepared with AI assistance (Codex), by Emanuele Adelini · AD Next Lab.