feat(libSceNet): implement the Ex and Internal socket forms, sceNetSysctl, scope-ID text and the default route #9578

Merged
EagleBearerYS merged 19 commits from upstream-pr/9578 into main 2026-11-02 10:25:40 +00:00
EagleBearerYS commented 2026-10-22 02:56:06 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T02:56:06Z.


What

This implements 7 libSceNet functions that threw. 4 more from the same batch stay throwing, because their answer would be a guess.

  • The Ex and Internal forms: sceNetSocketInternal, sceNetGetsockoptEx and sceNetSetsockoptEx forward to sceNetSocket, sceNetGetsockopt and sceNetSetsockopt. Their restored argument lists match the public ones. How the console tells them apart is recorded as debt.
  • sceNetSysctl calls libkernel's sysctl (FreeBSD sysctl(3) arguments). A failure is reported as 0x80410100 | errno, like the library's other calls.
  • The scope-ID forms: sceNetInetNtopWithScopeId and sceNetInetPtonWithScopeId follow rooklz's reading of the console's libSceNet.sprx (comment).
    • The zone is an interface name from the module's table (lo0, eth0, eth1, dbg0, gbe0, bt0, wlan0, wlan1, phone0, pppoe0). Ntop prints %<name>, and a decimal zone such as fe80::1%2 doesn't convert.
    • Pton's % branch runs only with a scope output.
    • Null ntop arguments set ENOSPC. Another family gives EAFNOSUPPORT: null from ntop, 0x8041012F from pton.
    • A name maps to a host interface through #14213's interface table and helpers, taken with the same text.
    • A null pton destination throws std::invalid_argument, where the module faults.
  • sceNetConfigGetDefaultRoute follows rooklz's measured chain (comment).
    • Before initialization it returns 0x804101C8 with errno 200.
    • Without a route it returns 0x8041130C with the output untouched.
    • Otherwise it returns 1 after storing the gateway.
    • The gateway is the host's: the IPv4 gateway of the interface that sceNetCtlGetInfo describes as DEFAULT_ROUTE, through a libSceNetCtl helper next to the DNS one.
    • A null output with a route throws std::invalid_argument, where the module faults.

Still throwing:

  • sceNetConfigGetDefaultRoute6: NetCtl has no IPv6 model.
  • sceNetConfigGetIfFlags and sceNetGetIfnameNumList: the console's interface numbering isn't known.
  • sceNetInitParam: NetInitializeParameter's layout isn't known.

81bc358860 (the scope-ID forms) and 0a4d4e792c (the default route) replace the earlier numeric zones and throws with the module's answers, after rooklz's reading and oneandonlydean's review. Both commits carry rooklz's Co-authored-by line. The debt entries list what isn't measured:

  • ntop for a scope that no interface has (it still throws, and no test asserts it);
  • the exact name comparison;
  • the order of the family and null checks;
  • that the default route's kernel dword is the gateway in network byte order.

#9494 and #9515, which this was stacked on, have both merged. The scope-ID forms use #9494's text rules through sceNetInetNtop and sceNetInetPton.

Related: #9231 changes sceNetSocket's errors and, on macOS, sceNetInetPton's IPv4 path. sceNetSocketInternal follows whatever sceNetSocket returns.

Overlap: checked with git merge-tree against every open PR touching these files, on main 6ef5a1c4c9. The conflicts it reported came from #9515's commits in this branch's base, which are on main now that #9515 has merged: #9365, #9099 and #8359 in docs/dev/debt/libkernel.md, and #7511 in Socket/src/Udp.cpp. This PR's own commits change only libSceNet, libSceNetCtl, GuestSceNet.cpp, libSceNet's debt file and the iphlpapi link in core/libs/CMakeLists.txt. #9231 merges cleanly with this PR and with #9494, whose IPv6 path in sceNetInetPton its macOS IPv4 check sits next to, and Gonic0 agreed that neither waits for the other (comment). The order agreed on #9515 (comment), #9523 → #9542 → #9515 → this PR, has reached this PR: the other three have merged. #9542 (Queuse) carried the same sceNetGetsockopt readback as #9515's e887616e74, and the merge of #9515's 4432e8aa57 in 57ba2fc47c kept #9542's version. #14213 (rooklz, interface names) shares the interface table, its host helpers and the iphlpapi links, which this PR takes with the same text, so a merge keeps one copy of each. git merge-tree against its 20fd7cfb07 conflicts only in GuestSceNet.cpp, in the same two places as before these commits: both PRs add test functions, and their calls, at the same point. Keeping both sides resolves it.

Tested

  • GitHub's Linux and Windows runners (run), against the merge of #9494 and #9515: guest_sce_net fails ×2 on both with the stubs, and passes ×5 on both with this PR.
  • Linux (Ubuntu 24.04, Release): guest_sce_net_tests gains these cases:
    • the Ex and Internal forms equal their twins;
    • sceNetSysctl against libkernel's sysctl on hw.pagesize, with its error cases;
    • the fe80::1%2 round trip, with rejected and boundary texts;
    • the default route against sceNetCtlGetInfo's DEFAULT_ROUTE.
    • Each function reverted alone fails (7 of 7), and the PR passes 10 of 10 repeats.
    • That machine has no IPv6 loopback, so the test's existing IPv6 socket checks skip there, as on main. None of the new cases needs IPv6 networking.
    • The no-gateway branch of the default-route case wasn't exercised.
    • Full ctest under CI's configure has only that machine's IPv6 failures, plus one AGC fill test that passes on rerun.
  • 43ea7772bb, main 8b3e39832a merged in (clean; the PR's own diff is unchanged), on GitHub's runners (run): guest_sce_net and guest_net_ctl pass 10 of 10 on Linux and Windows, none skipped. On its one run with main's implementation, guest_sce_net fails on both runners and guest_net_ctl passes. libkernel's suite passes on both, and libc's on Windows.
    • On Linux, libc's precise_wait failed on the fix arm only in the run's first attempt. It's a runner timing test outside the files this PR touches, and in run 39788040462 it failed with main's implementation as well. The rerun of the Linux job passed.
  • check_conventions.py passes, with no comment lines added.
  • Not tested with a title.
  • dda8c45be7, a merge of #9515's merge of main 938812df14 (efd999c8ed). It brings no conflict of its own, and the PR's own diff is unchanged. On GitHub's runners (run), guest_net_ctl, guest_sce_net, guest_socket_options and guest_socket_error pass 10 runs in a row on Linux and on Windows, 4 of 4, none skipped. The libc and libkernel suites pass on both (119 and 201 tests on Linux, 146 and 211 on Windows), run with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • c0caad00ca, a merge of main db6af9e0fd (run). main now has #10275 (orezraey's sceNetInetPton, measured on a PS5: a null dst for IPv6 returns NET_EINVAL, IPv4 text ends at the first whitespace, and the dotted IPv4 part of IPv6 text is checked the same way). The merge keeps that function as main has it and sends only its IPv6 conversion through libkernel's inet_pton, as this PR does; the IPv4 conversion and the dotted-part check stay on the host. The debt file keeps main's measured entry and this PR's IPv6 entry, which now says the FreeBSD forms are unverified on a console beyond those PS5 measurements. guest_net_ctl, guest_sce_net, guest_socket_error and guest_socket_options pass 10 runs in a row on both runners, 4 of 4 each, none skipped. The libc and libkernel suites pass on both, run with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners. This PR's sceNetInetPtonWithScopeId calls sceNetInetPton with the text before the zone, so it takes the same rules.
  • 5cffcf56d1, a merge of #9515's merge of main 67bbe03f91 (abbb7ac6b5, whose one conflict was docs/dev/debt/libkernel.md, where #9099 (aarushkha, regular-file events) reworded the sceKernelAddReadEvent pipe entry and added its own regular-file entry just above this PR's close, setsockopt and getsockopt line; the merge keeps both of main's entries and this PR's line). It brings no conflict of its own, and the PR's own diff is unchanged. On GitHub's runners (run), guest_net_ctl, guest_sce_net, guest_socket_error and guest_socket_options pass 10 runs in a row with the change, on Linux and on Windows: 4 run, 4 pass, 0 skip, 0 fail. With main's code, guest_sce_net fails on both. The libc and libkernel suites pass on both (143 and 205 tests on Linux, 170 and 218 on Windows), run with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 6c938db3ce, a merge of #9515's merge of main a512780d58 (fc47c2f491; see #9515). The conflicts were in core/libs/tests/GuestSceNet.cpp and libSceNet's Export.cpp, where #10706 (the public-header migration) removed their local declarations, among them this PR's for sceNetSocketInternal, sceNetGetsockoptEx, sceNetSetsockoptEx, sceNetSysctl, sceNetInetNtopWithScopeId, sceNetInetPtonWithScopeId, sceNetConfigGetDefaultRoute and libkernel's sysctl, __inet_pton and __inet_ntop. The merge takes main's side: Net.hpp and libkernel's include/Api.hpp now declare each of them with the same arguments as this PR's definitions, and tests/test_public_headers.py --audit-only passes. So the PR's own diff loses those declarations and is otherwise unchanged.
    • On GitHub's runners (run), guest_net_ctl, guest_sce_net, guest_socket_error, guest_socket_options and public_headers pass 10 runs in a row with the change, on Linux and on Windows: 5 run, 5 pass, 0 skip, 0 fail. With main's code, guest_sce_net fails on both.
    • The libkernel suite passes on both (206 tests on Linux, 222 on Windows) and the libc suite on Windows (170). On Linux, libc's guest_floating_point failed once in that run, on its feholdexcept workers preserve the main environment check, which #8863 added; this PR changes nothing in libc. Run alone on this head 20 times in a row (run), it passes on both runners, and both suites pass on both (143 and 206 tests on Linux, 170 and 222 on Windows). The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 7f300827d1, a merge of main 75227c7cdc (run). The one conflict was docs/dev/debt/libkernel.md's entry on libSceNet sockets, where main adds poll and fcntl and this PR adds getsockopt; the merge keeps both, in the same words as #9515's merge. The PR's code diff is unchanged. guest_sce_net and guest_tcp pass 10 runs in a row on both runners. guest_floating_point, which this PR doesn't touch, passed 10 of 10 on Windows; on Linux it passed seven times and aborted on the eighth run, at feholdexcept workers preserve the main environment. At 6c938db3ce it passed 20 runs in a row on both runners (run). That check is the AMD x87 pointer-word case reported in #10899, which #10937 addresses; both aborts here were on AMD EPYC Linux runners. Suites: libc and libkernel pass on Linux (144 and 207) and on Windows (171 and 223). The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 89da0c7455, a merge of main 2b5225605b (run). main now has #9494, so its part of this branch leaves the diff: the IPv6 text conversion in sceNetInetPton and sceNetInetNtop, CheckRejectedAddressText and the sceNetInetPton, sceNetInetNtop debt entry. This PR's other changed lines are the same as before the merge. One conflict, in docs/dev/debt/libSceNet.md: KernelPanicNT's #9727 adds a sceNetResolverStartNtoa entry after the sceNetInetPton, sceNetInetNtop entry both sides now carry, and the merge takes it. guest_net_ctl and guest_sce_net pass 10 runs in a row, and guest_sce_net fails on the before arm. Linux: 2 run, 2 pass, 0 skip, 0 fail. Windows: 2 run, 2 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (144 and 209), and libc passes on Windows (171). Windows' libkernel suite runs 227 tests and fails guest_timed_join_import_libkernel_sys and guest_timed_join_import_libkernel_web, which this PR doesn't touch; main 88f99678bf fails the same two in this verify's Windows job (run), and main's own Windows CI passes them. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 57ba2fc47c, after oneandonlydean's review (run). It holds three commits: f051532324, a merge of main 439d03db38, whose one conflict, in libSceNetCtl's Export.cpp, keeps this PR's NetCtlHostIpv4Gateway helper next to main's STUN block from #10790; 930c1c0ec0, which removes the four assertions that pinned valid inputs to throw (the named zone fe80::1%lo0, the two AF_INET scope conversions, and sceNetConfigGetDefaultRoute with a valid output and no host gateway), keeping the malformed and null-pointer checks, the numeric IPv6 round trips and the success and no-write controls; and a merge of #9515's 4432e8aa57, which drops the duplicate readback block (see #9515). This PR's other changed lines are the same. guest_sce_net, guest_net_ctl, guest_socket_error, guest_socket_options, guest_tcp, guest_net_boolean_readback, guest_socket_descriptor_flags and public_headers pass 10 runs in a row. Linux: 8 run, 8 pass, 0 skip, 0 fail. Windows: 8 run, 8 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (166 and 264). On Windows libc passes (194) and libkernel passes 283 of 286: exec_arguments, guest_timed_join_import_libkernel_sys and guest_timed_join_import_libkernel_web fail at their setup in the verify's Windows build (FileNotFoundError starting the title, or copying the libraries they load), with main's code too, and pass in main's own Windows job at 1829def9bf (job). The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 8c13ac3865, a merge of main cc672fdfc6 (run). The one conflict was in libSceNet's Export.cpp, where #10502 (frankea, the interface and socket tables from sceNetShowIfconfig and sceNetShowNetstat) declares libSceNetCtl's NetCtlHostIpv4Address_nid_no_patch on the line where this PR declares NetCtlHostIpv4Gateway_nid_no_patch; the merge keeps both declarations. This PR's other changed lines are the same. guest_sce_net, guest_net_ctl, guest_net_boolean_readback, guest_socket_descriptor_flags, guest_socket_error, guest_socket_options and guest_tcp pass 10 runs in a row. Linux: 7 run, 7 pass, 0 skip, 0 fail. Windows: 7 run, 7 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (166 and 265). On Windows libc passes (194), and libkernel passes 284 of 287: exec_arguments, guest_timed_join_import_libkernel_sys and guest_timed_join_import_libkernel_web fail at their setup in the verify's Windows build (FileNotFoundError starting the title, or copying the libraries they load), with main's code too, and pass in main's own Windows job at 1829def9bf (job). The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • e88598fd9e, a merge of main 2960e9a6e7 after #9515 merged (run). The merge was clean. With #9515 on main, its lines leave this PR's diff: the libkernel socket files and debt entry, and its getter in libSceNet's Export.cpp with its tests in GuestSceNet.cpp. The diff now holds only libSceNet, libSceNetCtl, GuestSceNet.cpp and libSceNet's debt file, and this PR's own changed lines are the same as before the merge. guest_sce_net, guest_net_ctl, guest_net_boolean_readback, guest_socket_descriptor_flags, guest_socket_error, guest_socket_options and guest_tcp pass 10 runs in a row, and with main's code guest_sce_net fails on both runners ("sceNetSocketInternal not implemented"). Linux: 7 run, 7 pass, 0 skip, 0 fail. Windows: 7 run, 7 pass, 0 skip, 0 fail. The libc and libkernel suites run 191 and 291 tests on Linux and 220 and 314 on Windows, with 0 failed. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
  • 0a4d4e792c, the module's answers for the scope-ID forms and the default route (run). Two commits on e88598fd9e, with no merge. guest_sce_net and the 11 net_dontwait_blocking_* and net_epoll_lifetime_* tests, which build libSceNet's Export.cpp into themselves, pass 10 runs in a row. Linux: 12 run, 12 pass, 0 skip, 0 fail. Windows: 12 run, 12 pass, 0 skip, 0 fail. With e88598fd9e's Export.cpp, guest_sce_net aborts on both runners at its first new check ("the interface name zone in fe80::1%lo0 is not implemented"). The libc and libkernel suites run 191 and 291 tests on Linux and 220 and 314 on Windows, with 0 failed. The suites ran with APS5_SKIP_TIMING_TESTS=1, which relaxes precise_wait's median bounds on GitHub's hosted runners.
    • The default-route case checks the branch its host has. The no-route branch (0x8041130C with the output untouched, for a null output too) also ran on Linux in a network namespace with only lo up.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none; #9494 and #9515 have merged (no order with #9231, agreed in its thread)
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4961393811 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T02:56:06Z. --- ### What This implements 7 libSceNet functions that threw. 4 more from the same batch stay throwing, because their answer would be a guess. - **The Ex and Internal forms:** sceNetSocketInternal, sceNetGetsockoptEx and sceNetSetsockoptEx forward to sceNetSocket, sceNetGetsockopt and sceNetSetsockopt. Their restored argument lists match the public ones. How the console tells them apart is recorded as debt. - **sceNetSysctl** calls libkernel's sysctl (FreeBSD sysctl(3) arguments). A failure is reported as `0x80410100 | errno`, like the library's other calls. - **The scope-ID forms:** sceNetInetNtopWithScopeId and sceNetInetPtonWithScopeId follow rooklz's reading of the console's `libSceNet.sprx` ([comment](https://github.com/boykopovar/AnyPS5/pull/9578#issuecomment-6549946559)). - The zone is an interface name from the module's table (`lo0`, `eth0`, `eth1`, `dbg0`, `gbe0`, `bt0`, `wlan0`, `wlan1`, `phone0`, `pppoe0`). Ntop prints `%<name>`, and a decimal zone such as `fe80::1%2` doesn't convert. - Pton's `%` branch runs only with a scope output. - Null ntop arguments set `ENOSPC`. Another family gives `EAFNOSUPPORT`: null from ntop, `0x8041012F` from pton. - A name maps to a host interface through #14213's interface table and helpers, taken with the same text. - A null pton destination throws `std::invalid_argument`, where the module faults. - **sceNetConfigGetDefaultRoute** follows rooklz's measured chain ([comment](https://github.com/boykopovar/AnyPS5/pull/9578#issuecomment-6565097123)). - Before initialization it returns `0x804101C8` with errno 200. - Without a route it returns `0x8041130C` with the output untouched. - Otherwise it returns 1 after storing the gateway. - The gateway is the host's: the IPv4 gateway of the interface that sceNetCtlGetInfo describes as DEFAULT_ROUTE, through a libSceNetCtl helper next to the DNS one. - A null output with a route throws `std::invalid_argument`, where the module faults. **Still throwing:** - sceNetConfigGetDefaultRoute6: NetCtl has no IPv6 model. - sceNetConfigGetIfFlags and sceNetGetIfnameNumList: the console's interface numbering isn't known. - sceNetInitParam: NetInitializeParameter's layout isn't known. 81bc358860 (the scope-ID forms) and 0a4d4e792c (the default route) replace the earlier numeric zones and throws with the module's answers, after rooklz's reading and oneandonlydean's review. Both commits carry rooklz's Co-authored-by line. The debt entries list what isn't measured: - ntop for a scope that no interface has (it still throws, and no test asserts it); - the exact name comparison; - the order of the family and null checks; - that the default route's kernel dword is the gateway in network byte order. #9494 and #9515, which this was stacked on, have both merged. The scope-ID forms use #9494's text rules through sceNetInetNtop and sceNetInetPton. Related: #9231 changes sceNetSocket's errors and, on macOS, sceNetInetPton's IPv4 path. sceNetSocketInternal follows whatever sceNetSocket returns. **Overlap:** checked with `git merge-tree` against every open PR touching these files, on `main` 6ef5a1c4c9. The conflicts it reported came from #9515's commits in this branch's base, which are on `main` now that #9515 has merged: #9365, #9099 and #8359 in `docs/dev/debt/libkernel.md`, and #7511 in `Socket/src/Udp.cpp`. This PR's own commits change only libSceNet, libSceNetCtl, `GuestSceNet.cpp`, libSceNet's debt file and the iphlpapi link in `core/libs/CMakeLists.txt`. #9231 merges cleanly with this PR and with #9494, whose IPv6 path in `sceNetInetPton` its macOS IPv4 check sits next to, and Gonic0 agreed that neither waits for the other ([comment](https://github.com/boykopovar/AnyPS5/pull/9231#issuecomment-6332879742)). The order agreed on #9515 ([comment](https://github.com/boykopovar/AnyPS5/pull/9515#issuecomment-6352700405)), #9523 → #9542 → #9515 → this PR, has reached this PR: the other three have merged. #9542 (Queuse) carried the same `sceNetGetsockopt` readback as #9515's e887616e74, and the merge of #9515's 4432e8aa57 in 57ba2fc47c kept #9542's version. #14213 (rooklz, interface names) shares the interface table, its host helpers and the iphlpapi links, which this PR takes with the same text, so a merge keeps one copy of each. `git merge-tree` against its 20fd7cfb07 conflicts only in `GuestSceNet.cpp`, in the same two places as before these commits: both PRs add test functions, and their calls, at the same point. Keeping both sides resolves it. ### Tested - **GitHub's Linux and Windows runners** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39712171178)), against the merge of #9494 and #9515: `guest_sce_net` fails ×2 on both with the stubs, and passes ×5 on both with this PR. - **Linux (Ubuntu 24.04, Release):** `guest_sce_net_tests` gains these cases: - the Ex and Internal forms equal their twins; - sceNetSysctl against libkernel's sysctl on hw.pagesize, with its error cases; - the `fe80::1%2` round trip, with rejected and boundary texts; - the default route against sceNetCtlGetInfo's DEFAULT_ROUTE. - Each function reverted alone fails (7 of 7), and the PR passes 10 of 10 repeats. - That machine has no IPv6 loopback, so the test's existing IPv6 socket checks skip there, as on `main`. None of the new cases needs IPv6 networking. - The no-gateway branch of the default-route case wasn't exercised. - Full ctest under CI's configure has only that machine's IPv6 failures, plus one AGC fill test that passes on rerun. - **43ea7772bb, `main` 8b3e39832a merged in** (clean; the PR's own diff is unchanged), on GitHub's runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39788550620)): `guest_sce_net` and `guest_net_ctl` pass 10 of 10 on Linux and Windows, none skipped. On its one run with `main`'s implementation, `guest_sce_net` fails on both runners and `guest_net_ctl` passes. libkernel's suite passes on both, and libc's on Windows. - On Linux, libc's `precise_wait` failed on the fix arm only in the run's first attempt. It's a runner timing test outside the files this PR touches, and in run [39788040462](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39788040462) it failed with `main`'s implementation as well. The rerun of the Linux job passed. - `check_conventions.py` passes, with no comment lines added. - Not tested with a title. - **dda8c45be7, a merge of #9515's merge of `main` 938812df14** (efd999c8ed). It brings no conflict of its own, and the PR's own diff is unchanged. On GitHub's runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39965330688)), `guest_net_ctl`, `guest_sce_net`, `guest_socket_options` and `guest_socket_error` pass 10 runs in a row on Linux and on Windows, 4 of 4, none skipped. The libc and libkernel suites pass on both (119 and 201 tests on Linux, 146 and 211 on Windows), run with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **c0caad00ca, a merge of `main` db6af9e0fd** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40053715598)). `main` now has #10275 (orezraey's `sceNetInetPton`, measured on a PS5: a null `dst` for IPv6 returns `NET_EINVAL`, IPv4 text ends at the first whitespace, and the dotted IPv4 part of IPv6 text is checked the same way). The merge keeps that function as `main` has it and sends only its IPv6 conversion through libkernel's `inet_pton`, as this PR does; the IPv4 conversion and the dotted-part check stay on the host. The debt file keeps `main`'s measured entry and this PR's IPv6 entry, which now says the FreeBSD forms are unverified on a console beyond those PS5 measurements. `guest_net_ctl`, `guest_sce_net`, `guest_socket_error` and `guest_socket_options` pass 10 runs in a row on both runners, 4 of 4 each, none skipped. The libc and libkernel suites pass on both, run with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. This PR's `sceNetInetPtonWithScopeId` calls `sceNetInetPton` with the text before the zone, so it takes the same rules. - **5cffcf56d1, a merge of #9515's merge of `main` 67bbe03f91** (abbb7ac6b5, whose one conflict was `docs/dev/debt/libkernel.md`, where #9099 (aarushkha, regular-file events) reworded the `sceKernelAddReadEvent` pipe entry and added its own regular-file entry just above this PR's `close`, `setsockopt` and `getsockopt` line; the merge keeps both of `main`'s entries and this PR's line). It brings no conflict of its own, and the PR's own diff is unchanged. On GitHub's runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40117423476)), `guest_net_ctl`, `guest_sce_net`, `guest_socket_error` and `guest_socket_options` pass 10 runs in a row with the change, on Linux and on Windows: 4 run, 4 pass, 0 skip, 0 fail. With `main`'s code, `guest_sce_net` fails on both. The libc and libkernel suites pass on both (143 and 205 tests on Linux, 170 and 218 on Windows), run with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **6c938db3ce, a merge of #9515's merge of `main` a512780d58** (fc47c2f491; see #9515). The conflicts were in `core/libs/tests/GuestSceNet.cpp` and libSceNet's `Export.cpp`, where #10706 (the public-header migration) removed their local declarations, among them this PR's for `sceNetSocketInternal`, `sceNetGetsockoptEx`, `sceNetSetsockoptEx`, `sceNetSysctl`, `sceNetInetNtopWithScopeId`, `sceNetInetPtonWithScopeId`, `sceNetConfigGetDefaultRoute` and libkernel's `sysctl`, `__inet_pton` and `__inet_ntop`. The merge takes `main`'s side: `Net.hpp` and libkernel's `include/Api.hpp` now declare each of them with the same arguments as this PR's definitions, and `tests/test_public_headers.py --audit-only` passes. So the PR's own diff loses those declarations and is otherwise unchanged. - On GitHub's runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40147757411)), `guest_net_ctl`, `guest_sce_net`, `guest_socket_error`, `guest_socket_options` and `public_headers` pass 10 runs in a row with the change, on Linux and on Windows: 5 run, 5 pass, 0 skip, 0 fail. With `main`'s code, `guest_sce_net` fails on both. - The libkernel suite passes on both (206 tests on Linux, 222 on Windows) and the libc suite on Windows (170). On Linux, libc's `guest_floating_point` failed once in that run, on its `feholdexcept workers preserve the main environment` check, which #8863 added; this PR changes nothing in libc. Run alone on this head 20 times in a row ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40149256067)), it passes on both runners, and both suites pass on both (143 and 206 tests on Linux, 170 and 222 on Windows). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **7f300827d1, a merge of `main` 75227c7cdc** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40186665303)). The one conflict was `docs/dev/debt/libkernel.md`'s entry on libSceNet sockets, where `main` adds `poll` and `fcntl` and this PR adds `getsockopt`; the merge keeps both, in the same words as #9515's merge. The PR's code diff is unchanged. `guest_sce_net` and `guest_tcp` pass 10 runs in a row on both runners. `guest_floating_point`, which this PR doesn't touch, passed 10 of 10 on Windows; on Linux it passed seven times and aborted on the eighth run, at `feholdexcept workers preserve the main environment`. At 6c938db3ce it passed 20 runs in a row on both runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40149256067)). That check is the AMD x87 pointer-word case reported in #10899, which #10937 addresses; both aborts here were on AMD EPYC Linux runners. Suites: libc and libkernel pass on Linux (144 and 207) and on Windows (171 and 223). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **89da0c7455, a merge of `main` 2b5225605b** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40244723827)). `main` now has #9494, so its part of this branch leaves the diff: the IPv6 text conversion in `sceNetInetPton` and `sceNetInetNtop`, `CheckRejectedAddressText` and the `sceNetInetPton, sceNetInetNtop` debt entry. This PR's other changed lines are the same as before the merge. One conflict, in `docs/dev/debt/libSceNet.md`: KernelPanicNT's #9727 adds a `sceNetResolverStartNtoa` entry after the `sceNetInetPton, sceNetInetNtop` entry both sides now carry, and the merge takes it. `guest_net_ctl` and `guest_sce_net` pass 10 runs in a row, and `guest_sce_net` fails on the before arm. Linux: 2 run, 2 pass, 0 skip, 0 fail. Windows: 2 run, 2 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (144 and 209), and libc passes on Windows (171). Windows' libkernel suite runs 227 tests and fails `guest_timed_join_import_libkernel_sys` and `guest_timed_join_import_libkernel_web`, which this PR doesn't touch; `main` 88f99678bf fails the same two in this verify's Windows job ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40238050809)), and `main`'s own Windows CI passes them. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **57ba2fc47c, after oneandonlydean's review** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40630292330)). It holds three commits: f051532324, a merge of `main` 439d03db38, whose one conflict, in libSceNetCtl's `Export.cpp`, keeps this PR's `NetCtlHostIpv4Gateway` helper next to `main`'s STUN block from #10790; 930c1c0ec0, which removes the four assertions that pinned valid inputs to throw (the named zone `fe80::1%lo0`, the two AF_INET scope conversions, and `sceNetConfigGetDefaultRoute` with a valid output and no host gateway), keeping the malformed and null-pointer checks, the numeric IPv6 round trips and the success and no-write controls; and a merge of #9515's 4432e8aa57, which drops the duplicate readback block (see #9515). This PR's other changed lines are the same. `guest_sce_net`, `guest_net_ctl`, `guest_socket_error`, `guest_socket_options`, `guest_tcp`, `guest_net_boolean_readback`, `guest_socket_descriptor_flags` and `public_headers` pass 10 runs in a row. Linux: 8 run, 8 pass, 0 skip, 0 fail. Windows: 8 run, 8 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (166 and 264). On Windows libc passes (194) and libkernel passes 283 of 286: `exec_arguments`, `guest_timed_join_import_libkernel_sys` and `guest_timed_join_import_libkernel_web` fail at their setup in the verify's Windows build (`FileNotFoundError` starting the title, or copying the libraries they load), with `main`'s code too, and pass in `main`'s own Windows job at 1829def9bf ([job](https://github.com/boykopovar/AnyPS5/actions/runs/40627345977/job/122615375186)). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **8c13ac3865, a merge of `main` cc672fdfc6** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40660627898)). The one conflict was in libSceNet's `Export.cpp`, where #10502 (frankea, the interface and socket tables from `sceNetShowIfconfig` and `sceNetShowNetstat`) declares libSceNetCtl's `NetCtlHostIpv4Address_nid_no_patch` on the line where this PR declares `NetCtlHostIpv4Gateway_nid_no_patch`; the merge keeps both declarations. This PR's other changed lines are the same. `guest_sce_net`, `guest_net_ctl`, `guest_net_boolean_readback`, `guest_socket_descriptor_flags`, `guest_socket_error`, `guest_socket_options` and `guest_tcp` pass 10 runs in a row. Linux: 7 run, 7 pass, 0 skip, 0 fail. Windows: 7 run, 7 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (166 and 265). On Windows libc passes (194), and libkernel passes 284 of 287: `exec_arguments`, `guest_timed_join_import_libkernel_sys` and `guest_timed_join_import_libkernel_web` fail at their setup in the verify's Windows build (`FileNotFoundError` starting the title, or copying the libraries they load), with `main`'s code too, and pass in `main`'s own Windows job at 1829def9bf ([job](https://github.com/boykopovar/AnyPS5/actions/runs/40627345977/job/122615375186)). The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **e88598fd9e, a merge of `main` 2960e9a6e7 after #9515 merged** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/40826717051)). The merge was clean. With #9515 on `main`, its lines leave this PR's diff: the libkernel socket files and debt entry, and its getter in libSceNet's `Export.cpp` with its tests in `GuestSceNet.cpp`. The diff now holds only libSceNet, libSceNetCtl, `GuestSceNet.cpp` and libSceNet's debt file, and this PR's own changed lines are the same as before the merge. `guest_sce_net`, `guest_net_ctl`, `guest_net_boolean_readback`, `guest_socket_descriptor_flags`, `guest_socket_error`, `guest_socket_options` and `guest_tcp` pass 10 runs in a row, and with `main`'s code `guest_sce_net` fails on both runners ("sceNetSocketInternal not implemented"). Linux: 7 run, 7 pass, 0 skip, 0 fail. Windows: 7 run, 7 pass, 0 skip, 0 fail. The libc and libkernel suites run 191 and 291 tests on Linux and 220 and 314 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - **0a4d4e792c, the module's answers for the scope-ID forms and the default route** ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/41402645253)). Two commits on e88598fd9e, with no merge. `guest_sce_net` and the 11 `net_dontwait_blocking_*` and `net_epoll_lifetime_*` tests, which build libSceNet's `Export.cpp` into themselves, pass 10 runs in a row. Linux: 12 run, 12 pass, 0 skip, 0 fail. Windows: 12 run, 12 pass, 0 skip, 0 fail. With e88598fd9e's `Export.cpp`, `guest_sce_net` aborts on both runners at its first new check ("the interface name zone in fe80::1%lo0 is not implemented"). The libc and libkernel suites run 191 and 291 tests on Linux and 220 and 314 on Windows, with 0 failed. The suites ran with `APS5_SKIP_TIMING_TESTS=1`, which relaxes `precise_wait`'s median bounds on GitHub's hosted runners. - The default-route case checks the branch its host has. The no-route branch (`0x8041130C` with the output untouched, for a null output too) also ran on Linux in a network namespace with only `lo` up. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none; #9494 and #9515 have merged (no order with #9231, agreed in its thread) - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-10-22 03:49:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T03:49:35Z.


I reviewed the current overlap report against the declared dependency branches. #9515 changes libSceNet/Export.cpp and Socket/src/Udp.cpp, which are also in this PR's aggregate diff because #9578 is stacked on it. The relevant work composes in principle: the new getsockopt getter uses the socket-option hook added by #9515, and the Ex forwarding methods use the sceNetGetsockopt implementation updated there. Please keep #9515's hook and option behavior intact when reconciling; the required dependency is already declared.

One additional overlap needs coordination: #9231 remains open and changes sceNetInetPton in the same Export.cpp, while this PR changes that function's IPv6 conversion path to use libkernel's parser. Its change is Apple-only and should compose with the family-specific IPv6 delegation, but that needs an agreed order/rebase and retention of the leading-zero IPv4 behavior. Please coordinate with #9231's author and record a dependency if either PR must land first.

The no-gateway branch of sceNetConfigGetDefaultRoute is explicitly not exercised in the reported Linux run. Its helper correctly leaves the caller's output untouched when it finds no route, and the code throws in that case; keep the debt statement that this result is unverified.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6332219864 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578#issuecomment-6332219864). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T03:49:35Z. --- I reviewed the current overlap report against the declared dependency branches. #9515 changes `libSceNet/Export.cpp` and `Socket/src/Udp.cpp`, which are also in this PR's aggregate diff because #9578 is stacked on it. The relevant work composes in principle: the new `getsockopt` getter uses the socket-option hook added by #9515, and the Ex forwarding methods use the `sceNetGetsockopt` implementation updated there. Please keep #9515's hook and option behavior intact when reconciling; the required dependency is already declared. One additional overlap needs coordination: #9231 remains open and changes `sceNetInetPton` in the same `Export.cpp`, while this PR changes that function's IPv6 conversion path to use libkernel's parser. Its change is Apple-only and should compose with the family-specific IPv6 delegation, but that needs an agreed order/rebase and retention of the leading-zero IPv4 behavior. Please coordinate with #9231's author and record a dependency if either PR must land first. The no-gateway branch of `sceNetConfigGetDefaultRoute` is explicitly not exercised in the reported Linux run. Its helper correctly leaves the caller's output untouched when it finds no route, and the code throws in that case; keep the debt statement that this result is unverified.
MarcZX10 commented 2026-10-22 04:10:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T04:10:59Z.

Review: APPROVED


Reviewed the eight-commit diff and the focused coverage. The Ex/Internal forms are explicit forwards with uncertainty recorded; sysctl is routed through the existing libkernel implementation and its error mapping is documented as unverified; scope IDs are deliberately numeric-only with unsupported interface-name/AF_INET paths left throwing; and the default-route helper writes only after finding a gateway, with its no-route and null behavior kept explicitly unimplemented. The tests include boundaries/rejections, focused red-green controls, repeats, and accurately disclose the missing no-gateway execution and IPv6 environment limitation. The checklist declares the stacked prerequisites #9494 and #9515 and correctly says no title unblock. Eligibility, conventions, intake, labels and report checks pass; product build jobs are skipped. The Linux/Windows comparisons in the description are author-reported; I did not run tests locally. No actionable issue found in this review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5609159607 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578#pullrequestreview-5609159607). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T04:10:59Z. **Review:** APPROVED --- Reviewed the eight-commit diff and the focused coverage. The Ex/Internal forms are explicit forwards with uncertainty recorded; sysctl is routed through the existing libkernel implementation and its error mapping is documented as unverified; scope IDs are deliberately numeric-only with unsupported interface-name/AF_INET paths left throwing; and the default-route helper writes only after finding a gateway, with its no-route and null behavior kept explicitly unimplemented. The tests include boundaries/rejections, focused red-green controls, repeats, and accurately disclose the missing no-gateway execution and IPv6 environment limitation. The checklist declares the stacked prerequisites #9494 and #9515 and correctly says no title unblock. Eligibility, conventions, intake, labels and report checks pass; product build jobs are skipped. The Linux/Windows comparisons in the description are author-reported; I did not run tests locally. No actionable issue found in this review.
EagleBearerYS commented 2026-10-22 05:01:43 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T05:01:43Z.


Thanks, @MarcZX10. Gonic0 agreed on #9231 that neither PR waits for the other (comment): its macOS check of an IPv4 address's leading zeros runs before the host conversion, which this stack leaves IPv4 to, and the two merge cleanly with this PR and with #9494. The Overlap section and Depends on now say so, here and on #9494, where the sceNetInetPton IPv6 change comes from.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6333136174 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578#issuecomment-6333136174). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T05:01:43Z. --- Thanks, @MarcZX10. Gonic0 agreed on #9231 that neither PR waits for the other ([comment](https://github.com/boykopovar/AnyPS5/pull/9231#issuecomment-6332879742)): its macOS check of an IPv4 address's leading zeros runs before the host conversion, which this stack leaves IPv4 to, and the two merge cleanly with this PR and with #9494. The Overlap section and Depends on now say so, here and on #9494, where the `sceNetInetPton` IPv6 change comes from.
MarcZX10 commented 2026-10-22 10:37:15 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T10:37:15Z.

Review: CHANGES_REQUESTED


Follow-up to my earlier approval after refreshing upstream/main and rerunning the focused target on this exact head. The local guest_sce_net_tests target builds successfully from this PR head. CTest starts the test, but the process aborts in HostCpu before test assertions because this host lacks LZCNT, BMI1/2, MOVBE, AVX2 and FMA. The PR's Linux/Windows test matrix is reported as author-run on a merge of #9494 and #9515; current required eligibility, conventions, intake, labels and report checks pass, while product and relinker jobs are skipped by path policy. Please refresh the branch against current main and rerun the focused Linux/Windows checks before merge. check_main_sync.py reports 10 ahead / 116 behind (merge base 94fbb8cea), despite a clean merge. Since the PR's last checked base 6ef5a1c and that merge base, main changed libSceNet/Export.cpp, libSceNetCtl/Export.cpp, GuestSceNet.cpp and both debt files. In particular, GuestSceNet.cpp now has additional tests, and libSceNetCtl initialization changed; please verify the new cases and the default-route helper still behave as intended after rebasing. My prior review found no code defect on the then-current base. The focused Linux/Windows checks in the PR description are useful evidence; the remaining requests are for current-base validation only. I withdraw the queue-based hold; it is fine to keep submitting PRs and they will be handled in due course.

I’ve noticed that holding this PR because of #5239 isn’t necessary. It’s fine for PRs to keep coming in; they’ll be handled in due course. Please disregard my earlier request to hold or defer it.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5612864341 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578#pullrequestreview-5612864341). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T10:37:15Z. **Review:** CHANGES_REQUESTED --- Follow-up to my earlier approval after refreshing `upstream/main` and rerunning the focused target on this exact head. The local `guest_sce_net_tests` target builds successfully from this PR head. CTest starts the test, but the process aborts in `HostCpu` before test assertions because this host lacks LZCNT, BMI1/2, MOVBE, AVX2 and FMA. The PR's Linux/Windows test matrix is reported as author-run on a merge of #9494 and #9515; current required eligibility, conventions, intake, labels and report checks pass, while product and relinker jobs are skipped by path policy. Please refresh the branch against current `main` and rerun the focused Linux/Windows checks before merge. `check_main_sync.py` reports 10 ahead / 116 behind (merge base `94fbb8cea`), despite a clean merge. Since the PR's last checked base `6ef5a1c` and that merge base, main changed `libSceNet/Export.cpp`, `libSceNetCtl/Export.cpp`, `GuestSceNet.cpp` and both debt files. In particular, `GuestSceNet.cpp` now has additional tests, and `libSceNetCtl` initialization changed; please verify the new cases and the default-route helper still behave as intended after rebasing. My prior review found no code defect on the then-current base. The focused Linux/Windows checks in the PR description are useful evidence; the remaining requests are for current-base validation only. I withdraw the queue-based hold; it is fine to keep submitting PRs and they will be handled in due course. I’ve noticed that holding this PR because of #5239 isn’t necessary. It’s fine for PRs to keep coming in; they’ll be handled in due course. Please disregard my earlier request to hold or defer it.
EagleBearerYS commented 2026-10-22 14:15:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by EagleBearerYS on 2026-10-22T14:15:55Z.


main is merged (8b3e39832a, 43ea7772bb), with the PR's own diff unchanged; guest_sce_net and guest_net_ctl pass 10 of 10 on GitHub's Linux and Windows runners (run).

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6342964195 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578#issuecomment-6342964195). Originally posted by [EagleBearerYS](https://github.com/EagleBearerYS) on 2026-10-22T14:15:55Z. --- `main` is merged (8b3e39832a, 43ea7772bb), with the PR's own diff unchanged; `guest_sce_net` and `guest_net_ctl` pass 10 of 10 on GitHub's Linux and Windows runners ([run](https://github.com/EagleBearerYS/AnyPS5/actions/runs/39788550620)).
MarcZX10 commented 2026-10-29 08:25:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-29T08:25:44Z.

Review: APPROVED


Re-reviewed exact head e88598fd9e9e933fa281e54993bff47a0c7692b9 against current upstream/main 4c7d275bef89d309313d16bc2bc05d37a1b50be2. The PR’s previously raised test issue is resolved: the assertions that pinned valid-but-unimplemented scope/default-route forms to throwing were removed, and the remaining malformed-input, numeric IPv6, and success/no-write cases are retained. The author reports the focused Linux and Windows suites passing 10 runs on this exact head. I refreshed the head, verified git merge-tree --write-tree produces a clean current-main preview, and ran git diff --check and python3 tools/check_conventions.py --base upstream/main; all passed. I found no remaining blocking issue.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5694747311 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9578#pullrequestreview-5694747311). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-29T08:25:44Z. **Review:** APPROVED --- Re-reviewed exact head `e88598fd9e9e933fa281e54993bff47a0c7692b9` against current `upstream/main` `4c7d275bef89d309313d16bc2bc05d37a1b50be2`. The PR’s previously raised test issue is resolved: the assertions that pinned valid-but-unimplemented scope/default-route forms to throwing were removed, and the remaining malformed-input, numeric IPv6, and success/no-write cases are retained. The author reports the focused Linux and Windows suites passing 10 runs on this exact head. I refreshed the head, verified `git merge-tree --write-tree` produces a clean current-main preview, and ran `git diff --check` and `python3 tools/check_conventions.py --base upstream/main`; all passed. I found no remaining blocking issue.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!9578
No description provided.