Repository navigation
Fix network status and latency on IPv6-only links - #11302
emanueleadelini wants to merge 1 commit into
Conversation
|
Reviewed at Reproduced on a worker built from the Omarchy ISO. I used real veth links and kernel routes in network namespaces rather than stubs, and ran the
Tests on the worker: Who checked it: Claude Opus 5.5 reviewed and tested it. The configured second opinion (Codex Medium) did not run, because its daily review limit was spent, so only one model has reviewed this. Related: this deliberately leaves #11215 open for the speedtest half, so it is not linked as closing it. #8683 (IPv6 detail rows), #8741 (full-width address rows), and #7932 and #11154 (internet probe) edit the same lines and will conflict with whichever lands first, but none fixes this bug. Next: this waits on the maintainer. It still needs the second opinion and CI before it can be marked ready. There is nothing for the author to do. |
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.