feat(libkernel): cancel blocked POSIX reads with owned operations #12682

Open
Felipebmaitan wants to merge 90 commits from upstream-pr/12682 into main
Felipebmaitan commented 2026-10-29 01:56:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by Felipebmaitan on 2026-10-29T01:56:01Z.


What

Head 929529056fe8339d6f908975ca896a455386506d integrates main f318c6c71fce10b591bfde3f72ce87650d74edb4. The merge keeps timer signal delivery from #19463 alongside deferred I/O cancellation. For Windows SOCK_SEQPACKET pairs from #23341, the owned wait checks for EOF after peer close or SHUT_WR once queued records are drained. It cancels and drains only its own pending Winsock operation. Completed records, including empty ones, retain their bytes and source-address results.

The previous head 7887e7a03da0e8aeed2557f4ba43a6aa777494b9 merged main b383285415f41862d469d025accfd64fecb0b13a and resolved the Windows socket-buffer conflict from #24382. The merge preserves the checked send buffer and receive writable-prefix contracts. The receive, prefix probe and datagram discard use the same owned Windows receive path, so a pending probe can wake on shutdown or be cancelled. Eight new tests exercise recv and recvfrom for streams and datagrams with a partially writable buffer.

The previous head e3c4edcd7a254b916d0b8be8521cc58079e3ccbc fixed the patched Windows runtime failure on 64e722f33e. Patched libSceNet imported five C++ ThreadCancel names that the NID patcher renamed in libkernel, so Windows could not resolve them. Native cancellation registration now stays in libkernel around the forwarded receive callback. libSceNet queries interruption and controls restart through three C entry points preserved by the patcher.

The previous head 64e722f33e50a90827dfa1b198b760182630972d merged main 67b5dd48231724012b334d17ca68e5d3ae38abb2, including the archive-backed file changes from #11625. POSIX pread keeps main’s archive error translation inside the cancellation point and descriptor ownership guard. Archive reads that fault return -1 and set guest errno, and successful reads retain their byte count.

The previous head 7983704eeb68a4bf6dfd56396e7d3ea414be5ab9 merged main fd4aeed48318c7d0cebca53d1db9a316c872cc4c into the existing branch. The merge preserves #24076’s large-file reads in Open.cpp and Stdio.cpp. Each native read chunk can be interrupted. An interrupted read returns completed bytes if it has made progress. The single-call fallback retains the existing cancellation handling. GuestFileVector now checks all four POSIX read entry points above the host’s single-call limit.

The previous head 44fde3b660ac816dace9ac0320f2002d23d5787d merged main c8d5f91168d7d8c208478de6d555b6a34c1c9acf into the existing branch and retains fb5fe804340f9df393b6bff36bb89c1ce9e67d38 as its first parent. Windows close and reopen release main's ungetc pushback buffer while holding NativeLock, before the native stream closes or is replaced. The Windows descriptor close admission and NativeLock::Close path are preserved.

The libSceNet receive path now captures the native socket error before checking for interruption. On Windows, an empty forwarded recvfrom(MSG_DONTWAIT) returns EAGAIN. Interrupted forwarded receives still return EINTR.

The Windows pending POSIX receive owns its completion and shutdown events. Shutdown through any alias wakes the retained socket's registrations. Each receiver cancels only its own OVERLAPPED and drains it before releasing its socket and destination. A positive MSG_WAITALL result is preserved. The integration keeps main's noncancellable ReadWatch path, the forwarding and libcurl borrowed-socket paths, the post-wait EOF handling, and the checked address outputs. recvfrom checks an unreadable address length before descriptor admission, matching main's error order. POSIX recv and recvfrom forwarded to libSceNet register native interruption while they hold descriptor admission, so close can drain them. Windows forwarded receives check for interruption during the existing readiness waits. The separate libcurl lease-retirement generation gap is recorded in technical debt.

Windows positioned transfers share a condition across descriptor aliases. A cancellable positioned wait wakes on holder release or interruption. The stream-close fixture exercises the Windows offset-serialization path with observed admission and contention, and the portable FILE-lock order test runs on both hosts. The exception-address waking and waiting cases each run five processes of ten rounds, preserving fifty rounds per case.

Before #24382 merged, I compared the 62 branches in the overlap report with head e3c4edcd7a on main c52d532062fbf346b98f59f5b9fd32c81c263214. Three combine without a Git conflict, ten conflict when combined (#11831, #16826, #18197, #19463, #21463, #22048, #22391, #23341, #24382, #24406), and 49 conflict with main before combination. This was a source comparison. Combined builds and runtime behavior remain untested.

#18112 forwards the receive exports through libkernel_web and calls the existing libkernel exports. #18190 forwards them through libkernel_sys and also refactors Udp.cpp. Its receive-provider composition must preserve cancellation. #24322 switches the build to copies of Udp.cpp split across new files. Those compiled copies would need to carry the cancellation changes forward even though Git merges the files cleanly. #24910 and #24917 compile the same UDP chunks and inherit this overlap from #24322. #24646 has a conflict with main in libSceNet/Export.cpp. Its socket-option and sync changes are outside this PR’s receive paths. Main and this branch each define the existing libkernel recvfrom export (lUk6wrGXyMw) once.

#11896 declares #12682 first for the broader MSG_WAITALL work. #22048 overlaps the recvmsg copy-fault path. #23341 is now integrated. In a source-only comparison on f318c6c71f, #24944 merged cleanly with this head. #25017 overlaps the macOS readiness wait, and #25791 overlaps the Windows recv, recvfrom, and recvmsg paths with descriptor passing. Both combinations conflict in Udp.cpp. Combined runtime tests were outside this run. #12688, #12700 and #12965 depend on the reads layer. #12682 has no open prerequisites.

Tested

  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. 505/505 focused CTests passed in 30.37 s. The selection included the socket-pair, timer delivery, thread-exit, socket cancellation, shutdown, and patched LibreSSL fixtures. Each of the 12 new sequenced-socket cases passed ten consecutive executions, covering an observed pending receive, peer close, SHUT_WR, and completed nonempty and empty records.
  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. 534/534 focused CTests passed in 23.96 s, including socket pairs, timer delivery, armed and deleted timer thread-exit cases, socket shutdown, cancellation, and file I/O. Both builds used two compiler jobs.
  • The tests use main f318c6c71fce10b591bfde3f72ce87650d74edb4. A virtual merge, conventions check, and whitespace check passed against the pre-push tip 1de65493a2b913ae202e2f751f7c6377bed1fccb. The debt check passed, and the public-header audit verified 413 libraries and 34,900 exports.

Hosted CI and the maintainer title bench are pending for this head.

Historical PR evidence at earlier heads

At 7887e7a03da0e8aeed2557f4ba43a6aa777494b9, before the timer and sequenced-socket integrations.

Tested

  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. 490/490 focused CTests passed in 26.70 s. The selection included guest_udp, forwarded reads, descriptor close, cancellation, shutdown, patched LibreSSL BIO and CMAC, large-file I/O and archive reads. Each of the eight new Windows prefix cases also passed ten consecutive executions.
  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. 531/531 focused CTests passed in 23.29 s, including UDP, socket shutdown and cancellation, forwarded receives, descriptor close, archive-backed reads and large-file reads. Both builds used two compiler jobs.
  • The merge and tests use main b383285415f41862d469d025accfd64fecb0b13a. A virtual merge, conventions check and whitespace check passed against the pre-push tip 4f5777f2f320111b156ed5db843a6d5f67968923. The debt check passed, and the public-header audit verified 413 libraries and 34,810 exports.
  • MarcZX10 inspected selected files at 7887e7a03d and verified no blocking findings in that scope. The review is incomplete and recorded as COMMENTED. The reviewer ran no tests. Review

The hosted Windows job was cancelled at the configured 90-minute limit in the build-and-run step, while Ninja was compiling the test targets. The log contains no compiler or test failure before cancellation, and the separate CTest step was skipped. Windows job

At e3c4edcd7a254b916d0b8be8521cc58079e3ccbc, before the Windows socket-buffer integration.

Tested

  • Windows CI on 64e722f33e reported eight failures in 5,848 CTest entries. I reproduced WinError 127 loading patched libSceNet locally and verified the missing imports against the patched libkernel export table.
  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. 341/341 focused CTests passed on that head, including patched BIO and CMAC, PE patcher references, forwarded receive close, and socket cancellation and shutdown. Direct loader checks also passed for patched libkernel, libSceNet, libSceLibreSsl, and libSceLibreSsl3.
  • A second Windows run passed 6/6 additional CI fixtures. The two patched net tests, the LibreSSL protocol NID test, and both LibreSSL3 tests passed. patched_libraries loaded 6/6 staged modules. I used the generated Ninja recipes for these test binaries with only the needed patched modules staged.
  • GitHub Windows CI passed on that head composed with main b612e96. It recorded 4,298 passed, 1,559 skipped, and zero failures across 5,857 CTest entries. All eight previously failing tests passed, including the full patched_libraries CI check. Windows job
  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. 336/336 focused CTests passed, including the forwarded receive, close, cancellation, shutdown and socket regressions. Both builds used two compiler jobs.
  • ycbuzi’s independent full-suite run tested that head merged into main a1b89f35e2 using WinLibs GCC 15.2.0. Windows Server 2025 reported zero failures in both runs of 6,991 CTest entries. On Server 2022, both runs had two VideoOut failures also seen on main because vulkan-1.dll was unavailable. The first run additionally timed out in guest_libressl_tls_engine_transport, and the second aborted in guest_cpu_time_clocks. Neither appeared in the paired baseline failure lists. On local Windows 11 (10.0.26300), both fixtures passed ten consecutive executions each on that head. The Server 2022 failures remain unexplained. Contributor report · Server 2022 job · Server 2025 job
  • Conventions and whitespace checks passed against fetched main d8c98c0eb236f58be251f354d6354bc939f67559. A virtual merge with that tip completed cleanly. The debt check passed, and the public-header audit verified 413 libraries and 34,782 exports.
  • MarcZX10 approved the previous head 64e722f33e with one optional descriptor-state comment. Review

The maintainer bench remains pending for that head. The GitHub linux job was skipped. All 22 executed GitHub checks passed. Local testing for this update covered Windows and Linux. Console, live titles, GPU and performance remain untested.

At 64e722f33e50a90827dfa1b198b760182630972d, before fixing patched Windows loading.

Tested

  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. 477/477 focused CTests passed in 26.19 s. All five archive fixtures passed, including the invalid-destination pread assertions. The selection also includes large file I/O, descriptor close, cancellation, stream close, and forwarded socket reads.
  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. 528/528 focused CTests passed in 22.85 s, including all five archive fixtures, large file I/O, descriptor close, cancellation, stream close and forwarded reads. Both platform builds used two compiler jobs.
  • Conventions and whitespace checks passed against fetched main 005482d54a0caf61bb2919074716c987054e6c55. A virtual merge with that tip completed cleanly. The debt check passed, and the public-header audit verified 413 libraries and 34,782 exports.
  • MarcZX10’s previous review covered head 7983704eeb and raised no defects or requests. Review

CI and the maintainer bench remain pending for this head. macOS, console, live titles, GPU and performance remain untested for this update.

At 7983704eeb68a4bf6dfd56396e7d3ea414be5ab9, before the archive-backed file integration.

Tested

  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. The build ran with two compiler jobs. 523/523 focused CTests passed in 32.61 s. The file-vector fixture verifies scalar and vectored large POSIX reads, chunk-boundary data, short EOF results and positioned offsets. The selection also includes AIO large reads, descriptor close, cancellation, stream close and forwarded socket reads.
  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. The build ran with two compiler jobs. 472/472 focused CTests passed in 26.15 s, including file vector and pointer checks, descriptor close, cancellation, stream close and forwarded socket reads.
  • A temporary Linux probe intercepted the return of a real first 1 GiB host read and requested guest cancellation before handing back the result. All four entry points returned the completed bytes, left the next native chunk unstarted, and delivered the cancellation at a subsequent cancellation point. Positioned reads preserved the descriptor offset.
  • Conventions and whitespace checks passed against fetched main c7084de6edbc1f86c8e8ea3361383459545f37bb; a virtual merge with that tip completed cleanly. The debt check passed, and the public-header audit verified 413 libraries and 34,780 exports.
  • MarcZX10's previous review covered head 44fde3b660 and raised no findings. Review

CI and the maintainer bench remain pending for this head. macOS, console, live titles, GPU and performance remain untested for this update.

At 44fde3b660ac816dace9ac0320f2002d23d5787d, before the large-file read integration.

Tested

  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. Built with two compiler jobs. 464/464 focused CTests passed in 24.24 s, including repeated ungetc, the five standard-stream cases, the stream-close race, forwarded receives, and cancellation and shutdown coverage.
  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. Rebuilt with two compiler jobs. 515/515 focused CTests passed in 18.88 s, including all five standard-stream cases, stream close, forwarded receives, and cancellation and shutdown coverage. The local configure used the cached release package for the unchanged FFmpeg submodule pin.
  • Public-header audit passed for 413 libraries and 34,764 exports. Debt and whitespace checks passed. Conventions passed against the fetched origin/main 4c3e1569aad89728238c94cc6ef83bfad44d2926, which adds separate SaveData tests. A virtual merge with that tip completed cleanly.
  • MarcZX10 approved the previous head fb5fe804340f9df393b6bff36bb89c1ce9e67d38 after reviewing the full change. Review

CI and the maintainer bench remain pending for this head. Local execution covered focused host tests. macOS, console, live titles, GPU and performance remain untested for this update.

At fb5fe804340f9df393b6bff36bb89c1ce9e67d38, before the Windows pushback integration.

Tested

  • Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. Built the focused production library graph and fixtures with two compiler jobs. CTest 457/457 passed in 22.59 s, with 151 shutdown cases, the positioned release and cancellation cases, stream close, checked socket addresses, and libcurl sockets. The forwarding fixture and both forwarded-close cases each passed five consecutive runs. The earlier head 8da1e28e passed 110 repeated executions of positioned, forwarded-close, address, and partial MSG_WAITALL cases.
  • Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. Built the focused production graph and fixtures with two compiler jobs. CTest 508/508 passed in 18.14 s, including 151 shutdown cases, the checked address cases, portable stream close, and main's released-thread exception test.
  • The transport worker found the forwarding error on Windows. I independently reproduced the guest_sce_net_kernel_forwards abort on 8da1e28e, then included the fixture in both final platform runs.
  • Public-header audit covered 413 libraries and 34,757 exports. Conventions against origin/main, debt fragments, and whitespace checks passed.
  • One independent read-only reviewer examined 79d49f2864f62423b2d72dc0676af685b0d61bf3 and found a forwarded-receive close hang. The fix above was rebuilt and tested on both hosts. With the pre-fix Linux libSceNet binary loaded, both new tests failed at the close-wake assertion. Both pass with the final runtime.

The runtime runs cover focused host tests. The maintainer bench and CI for this exact head remain open. macOS, a console, live titles, GPU execution, and per-call performance were untested for this update.

What

Published head 32121ca48d0abf5e1c11e7c601636d10ec8cb77d preserves November published reads a564d53d8feacc77e94cc6301f35b41175fff6a0 and merges fetched main 4138defef7c468835190768e5143e411bce92d6a with authored history intact.

Address Dean's shutdown integration request. A Windows pending overlapped receive now waits on its private completion event and a shutdown event registered against the retained socket object. Shutdown reaches every registration through any alias; the receiver cancels only its own OVERLAPPED and drains completion before releasing native/destination ownership. Actual cancellation remains separate, disabled cancellation stays pending, and completed positive MSG_WAITALL progress is retained. Main's post-wait ReceiveShut checks, empty recvfrom/recvmsg address handling, and receiver argument/noncancellable ReadWatch path remain. Main's measured ucontext layout is retained with the existing opaque I/O identity in reserved spare storage.

This PR remains the read-cancellation consumer. The remaining Windows native/SCE readiness-to-transfer gaps are explicitly retained in debt here and handled in the separate transport dependency. No other owner's branch was edited. Previously declared prerequisites #10552/#10817/#10755/#12149/#9019 have landed; Depends on remains none.

Tested

Fresh local execution of the published source/head above, Release, CPU build jobs capped at two:

  • Windows 10.0.26300, WinLibs GCC 15.2: rebuilt the relevant production libc/libkernel/libSceLibcInternal/libkernel_sys/libSceNet/libSceSsl graph and focused fixtures; 471/471 focused read, cancellation, descriptor, signal, context, socket, SSL transport and stream-close cases pass (29.74 s total).
  • Ubuntu 24.04 / imav-tao WSL2, kernel 6.6.87.2, GCC 13.3: the same relevant production graph rebuilt; 496/496 focused cases pass (23.79 s total). An initial timeout-handshake fixture failure was repaired by observing the Unix poll admission boundary; the final suite above includes all 151 new shutdown cases.
  • New matrix: 151 cases on each OS, real loopback TCP/UDP, read/readv and aliases, recv/recvfrom/recvmsg and aliases, SCE read/readv, alias shutdown, concurrent readers, native callers, timeout, actual cancellation and disabled pending cancellation. Windows observes a genuinely pending WSA request; partial WAITALL cases retain a known transferred byte. Linux observation is before the native syscall/poll and establishes the admitted-before-native gap, not proof of an already-parked Linux recv or Linux partial WAITALL progress. Windows additionally passed 490 executions of 49 alias/parallel/progress cases.
  • Negative control: remove only shutdown's notification loop, retaining observation hooks. Both Windows recv shutdown and partial-WAITALL cases fail boundedly (2/2, 4.23 s total), requiring unrelated cancellation for failure cleanup. Restore source bytes, refresh mtime, rebuild the actual production library: 151/151 pass; final full focused results above follow restoration.
  • Two fresh independent read-only MICRO/MACRO reviews of production candidate ed37723bdb31651c1e76574ab55befafb447daac: no confirmed new must-fix defect. Subsequent changes only clarify debt and add the Unix timeout observation call; the Windows wake/ownership algorithm is unchanged. Reviewers ran no binaries; runtime evidence above is this owner's execution.
  • Public-header audit: 407 libraries / 30,931 exports, unique declarations and umbrella coverage pass. Conventions against origin/main: 0 errors, one 1,084-character context-debt warning. Final isolated overlap scan: 1,768 heads, 81 uncomparable shared-file branches; it fails closed, so no blanket clearance or contributor-order agreement is claimed. The direct #16826 overlap concerns close-on-exec metadata, not a competing shutdown/cancellation implementation; upper-stack overlaps are expected.

These are relevant production builds and focused runtime selections, not execution of the entire project suite. WSL userfaultfd write protection is unavailable and the existing memory-comparison fallback is reported by the runtime. Existing user FreeType submodule state was preserved. No fresh macOS, title, console, GPU, allocation-failure or performance qualification; event/allocation/syscall/cancelling-caller costs remain unmeasured. Native/SCE receive gaps, macOS unconnected datagrams and zero-length datagram timestamp races retain debt. The unrelated address-waking intermittency and historical Windows 22621 sigjump hang remain unresolved. Maintainer scene/bench and new-head CI/review are separate gates; earlier approvals/results are not approvals of this head.

Historical evidence and status at earlier heads (superseded where stated above)

What

Head a564d53d8feacc77e94cc6301f35b41175fff6a0, integrated main d23df92b3805fea21493a73cbed8835c9e8548d0 through ordinary merge history, preserving every previously published head and maintainer commit.

Implement POSIX read cancellation with descriptor lifetime admission, deferred asynchronous delivery and context retirement. Retain the underscore context repair without guest signal-mask saving, checked context copies, deterministic close controls and main's current fault-delivery behavior. Document that scePthreadCancel blocks its cancelling caller and can wake/yield indefinitely; SignalManager global registration locking, allocations and mask-syscall cost remain unmeasured. This update changes that debt rather than adding an optional signal redesign or making a speed claim.

#12149 merged November 4 at 05:34 UTC and #9019 merged November 4 at 17:34 UTC; both are satisfied in main. #10552/#10817/#10755 are also merged. All four Apple empty-iovec guards, general context restoration, synchronous writes and deterministic stream-close hooks/comparisons remain. No archive #11625 work or unrelated owner branch was changed.

Consolidated maintainer response and evidence.

Tested

Historical contributor AMD evidence: TechLevelZero, 2026-11-05 13:22 UTC, parent reads 7d9ebe6a73 merged onto main e772fb25cc. RX 6300/RADV NAVI24, Mesa 25.2.8-0ubuntu0.24.04.4/Vulkan 1.4.318; Ubuntu 26.04.1/kernel 7.0.0-42/container ubuntu:24.04, Release. The contributor reports 4,279 passed / 15 failed / 71 skipped: ten failures also on main and five unstable on main, zero reported new failures. Validation/no-cache was enabled; 1,408 tests ran on the GPU, with no reported new IDs and four baseline IDs retained. agc_graphics_profile_draw timed out in the parallel run and passed on the 360-second retry. Baseline failures/skips and slow-test warnings remain visible; this is not an all-green result.

The displayed 4,365-of-4,074 selection line differs from linked 07-select.log's 4,326/4,400, so no unique whole-suite coverage ratio is inferred. This is contributor-reported evidence, not our GPU run or an independent audit of all linked logs. Parent-to-current a564d53d8f changes only MainThreadMacOs.cpp, GuestMainStackMove.cpp, GuestNpCommonRuntime.cpp and kernel debt; the read/cancellation implementation, descriptor control and underscore context repair are unchanged. The old head/main test does not become blanket qualification of the current integration. Current Windows results are recorded separately. It does not measure per-call I/O cost or the cancelling caller's spin, qualify unpublished runtime candidates, resolve Windows 22621 or the old accept macOS timeout, or supply a title performance/paired trace_digest run. No new I/O fix or source push follows from this report.

Current-head Windows verification: native Windows job succeeds at a564d53d8feacc77e94cc6301f35b41175fff6a0. The earlier manual dispatch HTTP 403 remains historical; dispatch is no longer a blocker for this head's Windows execution. This success is read from GitHub job status; no per-fixture totals are inferred here. The sibling transport log supplies direct execution evidence for its requested socket tests, and the accept log supplies direct evidence for its installation/disposal cases. Other checks remain incomplete with no observed current failures. Reads/transport/writes approvals remain pinned to earlier parent heads; no new review is inferred. The old accept macOS x86-64 timeout remains unexplained, and accept stays draft for the unresolved Windows 22621 hang.

Main-integration follow-up: authoritative head a564d53d8feacc77e94cc6301f35b41175fff6a0, main d23df92b3805fea21493a73cbed8835c9e8548d0. During the reads overlap audit the bot refreshed to 12 compared / 81 uncomparable branches at 2026-11-05 12:56:19 UTC. #15698 is confirmed merged; its removed row is satisfied by main. The other removed rows are not treated as merged or cleared merely because they disappeared. The remaining compared heads match the selected-source audits; no new implementation dependency. The existing-main recvfrom notice was checked: one implementation definition and one canonical declaration in main and reads, with no duplicate registration to remove.

The pre-push fetch caught maintainer commits a564d53d8f (reads), 95ce5937f2 (transport) and 6076fc5ca3 (writes). Those published commits were adopted unchanged; only accept needed a new ordinary merge of the maintainer's writes head, producing 82eaaf7766. Main's macOS process-start-block pages stay mapped, and the debt still states that POSIX read/receive waits wake and defer delivery until ownership guards are released. No maintainer source resolution was overwritten.

All four authoritative heads pass required conventions and whitespace checks (the existing SSL warning remains on the upper layers). The changed MainThreadMacOs.cpp passes host macOS x86-64 syntax checking. Linux I/O production sources and the selected I/O fixtures are unchanged from the earlier composed 93-test run; guest_socket_dontwait passes again against those unchanged Linux binaries (1.93 s; 2.07 s CTest total). This is not execution of the macOS stack-move fixture or a fresh full-suite run. The refreshed coordinated overlap scan covers 1,831 PRs and fails closed for 84 uncomparable branches at the top accept tree; the reads report's 81 count has different scope and remains uncleared. No repeated no-change overlap comment is posted. New integration-head checks/reviews remain pending; earlier runtime results and approvals below are historical at the heads they name. The earlier manual dispatch was denied HTTP 403; current Windows jobs are recorded above, so dispatch is no longer a blocker for these heads; the intermittent Windows 22621 hang and old accept macOS x86-64 timeout remain unresolved. Accept stays draft.

Composed accept tree 6db995790dbe9193ee44028e327ad907faaa5cba with main e772fb25cc72ee5faf77847f06bbc69533016e82: Ubuntu 24.04.5/GCC 13.3 Release, x86-64 Docker through Apple Silicon translation. Rebuilt libc/libkernel/libSceLibcInternal/libkernel_sys and focused fixtures. 30/30 selected socket/UDP/context/accept tests pass (4.60 s): guest_socket_dontwait 1.78 s, guest_udp 1.59 s, all 15 accept cases including both installation failures and cancel/jump handoff disposal. 63/63 selected synchronous-write/stream-close tests pass (3.13 s). These are composed-stack focused results, not a full suite or independent runtime runs of every layer. Both requested test removals are present; implemented nonblocking/peek and delayed partial-buffer cases remain.

Required python3 tools/check_conventions.py --base origin/main checks pass for all four final heads, using an isolated Git context whose origin/main is the actual fetched upstream main above. Reads has no findings; upper layers retain only the existing SSL debt-length warning. Whitespace, preserved-parent and bottom-up ancestor checks pass. The coordinated stack overlap scan covers 1,811 open PRs and fails closed for 100 uncomparable branches; no whole-branch overlap clearance or owner-order agreement is claimed. Latest main and all four remote heads were fetched before the atomic fast-forward-only push. GitHub reports all four branches merge cleanly.

Earlier Windows verification status, superseded by the current results above: After the earlier publication, ordered Build dispatch 12682 12688 12700 12965 was rejected with HTTP 403, “Must have admin rights to Repository.” At that point a collaborator/admin dispatch was requested for guest_socket_dontwait plus native Windows guest_socket_transfer_progress; current runs above now supply execution. The available MinGW 13 cross-syntax attempt stops at newer main's _fflush_nolock declaration; no native Windows execution is inferred. The previous published heads' Windows jobs passed, but do not qualify these updates. New-head CI/review requires refresh.

Prior XairRrR approvals are historical: reads 32169af1dc, transport 70120f1b86, writes fbd44d3326. Accept's prior review is COMMENTED and it remains draft. No new approval is inferred.

The old accept macOS x86-64 job126136729127 remains failed at attempt 1; refreshed status/log reads 668 passed and guest_none_relocations timed out at 20.12 s, 354.88 s total. Its cause and a fix are unestablished; there is no fresh full macOS runtime qualification. The intermittent Windows 22621 sigjump hang remains unresolved; these Linux passes do not resolve it. Retained SSL waits, per-call I/O overhead and the cancelling-caller indefinite spin retain their debt/limits. Unpublished signal-registry/cancellation-request and SyncWrites-exception candidates are excluded. No new title/console, GPU or paired same-scene trace_digest run; no performance claim. Maintainer title-scene bench remains external.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5060735934 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682). Originally posted by [Felipebmaitan](https://github.com/Felipebmaitan) on 2026-10-29T01:56:01Z. --- ### What Head `929529056fe8339d6f908975ca896a455386506d` integrates `main` `f318c6c71fce10b591bfde3f72ce87650d74edb4`. The merge keeps timer signal delivery from #19463 alongside deferred I/O cancellation. For Windows `SOCK_SEQPACKET` pairs from #23341, the owned wait checks for EOF after peer close or `SHUT_WR` once queued records are drained. It cancels and drains only its own pending Winsock operation. Completed records, including empty ones, retain their bytes and source-address results. The previous head `7887e7a03da0e8aeed2557f4ba43a6aa777494b9` merged `main` `b383285415f41862d469d025accfd64fecb0b13a` and resolved the Windows socket-buffer conflict from #24382. The merge preserves the checked send buffer and receive writable-prefix contracts. The receive, prefix probe and datagram discard use the same owned Windows receive path, so a pending probe can wake on shutdown or be cancelled. Eight new tests exercise `recv` and `recvfrom` for streams and datagrams with a partially writable buffer. The previous head `e3c4edcd7a254b916d0b8be8521cc58079e3ccbc` fixed the patched Windows runtime failure on `64e722f33e`. Patched `libSceNet` imported five C++ `ThreadCancel` names that the NID patcher renamed in `libkernel`, so Windows could not resolve them. Native cancellation registration now stays in `libkernel` around the forwarded receive callback. `libSceNet` queries interruption and controls restart through three C entry points preserved by the patcher. The previous head `64e722f33e50a90827dfa1b198b760182630972d` merged `main` `67b5dd48231724012b334d17ca68e5d3ae38abb2`, including the archive-backed file changes from #11625. POSIX `pread` keeps main’s archive error translation inside the cancellation point and descriptor ownership guard. Archive reads that fault return `-1` and set guest `errno`, and successful reads retain their byte count. The previous head `7983704eeb68a4bf6dfd56396e7d3ea414be5ab9` merged `main` `fd4aeed48318c7d0cebca53d1db9a316c872cc4c` into the existing branch. The merge preserves #24076’s large-file reads in `Open.cpp` and `Stdio.cpp`. Each native read chunk can be interrupted. An interrupted read returns completed bytes if it has made progress. The single-call fallback retains the existing cancellation handling. `GuestFileVector` now checks all four POSIX read entry points above the host’s single-call limit. The previous head `44fde3b660ac816dace9ac0320f2002d23d5787d` merged `main` `c8d5f91168d7d8c208478de6d555b6a34c1c9acf` into the existing branch and retains `fb5fe804340f9df393b6bff36bb89c1ce9e67d38` as its first parent. Windows close and reopen release main's `ungetc` pushback buffer while holding `NativeLock`, before the native stream closes or is replaced. The Windows descriptor close admission and `NativeLock::Close` path are preserved. The libSceNet receive path now captures the native socket error before checking for interruption. On Windows, an empty forwarded `recvfrom(MSG_DONTWAIT)` returns `EAGAIN`. Interrupted forwarded receives still return `EINTR`. The Windows pending POSIX receive owns its completion and shutdown events. Shutdown through any alias wakes the retained socket's registrations. Each receiver cancels only its own OVERLAPPED and drains it before releasing its socket and destination. A positive `MSG_WAITALL` result is preserved. The integration keeps main's noncancellable `ReadWatch` path, the forwarding and libcurl borrowed-socket paths, the post-wait EOF handling, and the checked address outputs. `recvfrom` checks an unreadable address length before descriptor admission, matching main's error order. POSIX `recv` and `recvfrom` forwarded to libSceNet register native interruption while they hold descriptor admission, so close can drain them. Windows forwarded receives check for interruption during the existing readiness waits. The separate libcurl lease-retirement generation gap is recorded in technical debt. Windows positioned transfers share a condition across descriptor aliases. A cancellable positioned wait wakes on holder release or interruption. The stream-close fixture exercises the Windows offset-serialization path with observed admission and contention, and the portable FILE-lock order test runs on both hosts. The exception-address waking and waiting cases each run five processes of ten rounds, preserving fifty rounds per case. Before #24382 merged, I compared the 62 branches in the [overlap report](https://github.com/boykopovar/AnyPS5/pull/12682#issuecomment-6486426771) with head `e3c4edcd7a` on main `c52d532062fbf346b98f59f5b9fd32c81c263214`. Three combine without a Git conflict, ten conflict when combined (#11831, #16826, #18197, #19463, #21463, #22048, #22391, #23341, #24382, #24406), and 49 conflict with main before combination. This was a source comparison. Combined builds and runtime behavior remain untested. #18112 forwards the receive exports through `libkernel_web` and calls the existing libkernel exports. #18190 forwards them through `libkernel_sys` and also refactors `Udp.cpp`. Its receive-provider composition must preserve cancellation. #24322 switches the build to copies of `Udp.cpp` split across new files. Those compiled copies would need to carry the cancellation changes forward even though Git merges the files cleanly. #24910 and #24917 compile the same UDP chunks and inherit this overlap from #24322. #24646 has a conflict with main in `libSceNet/Export.cpp`. Its socket-option and sync changes are outside this PR’s receive paths. Main and this branch each define the existing libkernel `recvfrom` export (`lUk6wrGXyMw`) once. #11896 declares #12682 first for the broader `MSG_WAITALL` work. #22048 overlaps the `recvmsg` copy-fault path. #23341 is now integrated. In a source-only comparison on `f318c6c71f`, #24944 merged cleanly with this head. #25017 overlaps the macOS readiness wait, and #25791 overlaps the Windows `recv`, `recvfrom`, and `recvmsg` paths with descriptor passing. Both combinations conflict in `Udp.cpp`. Combined runtime tests were outside this run. #12688, #12700 and #12965 depend on the reads layer. #12682 has no open prerequisites. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. **505/505 focused CTests passed** in 30.37 s. The selection included the socket-pair, timer delivery, thread-exit, socket cancellation, shutdown, and patched LibreSSL fixtures. Each of the 12 new sequenced-socket cases passed ten consecutive executions, covering an observed pending receive, peer close, `SHUT_WR`, and completed nonempty and empty records. - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. **534/534 focused CTests passed** in 23.96 s, including socket pairs, timer delivery, armed and deleted timer thread-exit cases, socket shutdown, cancellation, and file I/O. Both builds used two compiler jobs. - The tests use `main` `f318c6c71fce10b591bfde3f72ce87650d74edb4`. A virtual merge, conventions check, and whitespace check passed against the pre-push tip `1de65493a2b913ae202e2f751f7c6377bed1fccb`. The debt check passed, and the public-header audit verified 413 libraries and 34,900 exports. Hosted CI and the maintainer title bench are pending for this head. <details> <summary>Historical PR evidence at earlier heads</summary> At `7887e7a03da0e8aeed2557f4ba43a6aa777494b9`, before the timer and sequenced-socket integrations. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. **490/490 focused CTests passed** in 26.70 s. The selection included `guest_udp`, forwarded reads, descriptor close, cancellation, shutdown, patched LibreSSL BIO and CMAC, large-file I/O and archive reads. Each of the eight new Windows prefix cases also passed ten consecutive executions. - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. **531/531 focused CTests passed** in 23.29 s, including UDP, socket shutdown and cancellation, forwarded receives, descriptor close, archive-backed reads and large-file reads. Both builds used two compiler jobs. - The merge and tests use `main` `b383285415f41862d469d025accfd64fecb0b13a`. A virtual merge, conventions check and whitespace check passed against the pre-push tip `4f5777f2f320111b156ed5db843a6d5f67968923`. The debt check passed, and the public-header audit verified 413 libraries and 34,810 exports. - MarcZX10 inspected selected files at `7887e7a03d` and verified no blocking findings in that scope. The review is incomplete and recorded as `COMMENTED`. The reviewer ran no tests. [Review](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6005552614) The hosted Windows job was cancelled at the configured 90-minute limit in the build-and-run step, while Ninja was compiling the test targets. The log contains no compiler or test failure before cancellation, and the separate CTest step was skipped. [Windows job](https://github.com/boykopovar/AnyPS5/actions/runs/44908942480/job/136861759666) At `e3c4edcd7a254b916d0b8be8521cc58079e3ccbc`, before the Windows socket-buffer integration. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - [Windows CI on `64e722f33e`](https://github.com/boykopovar/AnyPS5/actions/runs/44854888826/job/136705039829) reported eight failures in 5,848 CTest entries. I reproduced `WinError 127` loading patched `libSceNet` locally and verified the missing imports against the patched `libkernel` export table. - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. **341/341 focused CTests passed** on that head, including patched BIO and CMAC, PE patcher references, forwarded receive close, and socket cancellation and shutdown. Direct loader checks also passed for patched `libkernel`, `libSceNet`, `libSceLibreSsl`, and `libSceLibreSsl3`. - A second Windows run passed **6/6** additional CI fixtures. The two patched net tests, the LibreSSL protocol NID test, and both LibreSSL3 tests passed. `patched_libraries` loaded **6/6** staged modules. I used the generated Ninja recipes for these test binaries with only the needed patched modules staged. - GitHub Windows CI passed on that head composed with `main` `b612e96`. It recorded **4,298 passed, 1,559 skipped, and zero failures** across 5,857 CTest entries. All eight previously failing tests passed, including the full `patched_libraries` CI check. [Windows job](https://github.com/boykopovar/AnyPS5/actions/runs/44865123875/job/136728936264) - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. **336/336 focused CTests passed**, including the forwarded receive, close, cancellation, shutdown and socket regressions. Both builds used two compiler jobs. - ycbuzi’s independent full-suite run tested that head merged into `main` `a1b89f35e2` using WinLibs GCC 15.2.0. Windows Server 2025 reported zero failures in both runs of 6,991 CTest entries. On Server 2022, both runs had two VideoOut failures also seen on `main` because `vulkan-1.dll` was unavailable. The first run additionally timed out in `guest_libressl_tls_engine_transport`, and the second aborted in `guest_cpu_time_clocks`. Neither appeared in the paired baseline failure lists. On local Windows 11 (10.0.26300), both fixtures passed ten consecutive executions each on that head. The Server 2022 failures remain unexplained. [Contributor report](https://github.com/boykopovar/AnyPS5/pull/12682#issuecomment-7061818271) · [Server 2022 job](https://github.com/ycbuzi/AnyPS5/actions/runs/44872892108/job/136785974201) · [Server 2025 job](https://github.com/ycbuzi/AnyPS5/actions/runs/44872892108/job/136785974163) - Conventions and whitespace checks passed against fetched main `d8c98c0eb236f58be251f354d6354bc939f67559`. A virtual merge with that tip completed cleanly. The debt check passed, and the public-header audit verified 413 libraries and 34,782 exports. - MarcZX10 approved the previous head `64e722f33e` with one optional descriptor-state comment. [Review](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6002246371) The maintainer bench remains pending for that head. The GitHub `linux` job was skipped. All 22 executed GitHub checks passed. Local testing for this update covered Windows and Linux. Console, live titles, GPU and performance remain untested. At `64e722f33e50a90827dfa1b198b760182630972d`, before fixing patched Windows loading. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. **477/477 focused CTests passed** in 26.19 s. All five archive fixtures passed, including the invalid-destination `pread` assertions. The selection also includes large file I/O, descriptor close, cancellation, stream close, and forwarded socket reads. - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. **528/528 focused CTests passed** in 22.85 s, including all five archive fixtures, large file I/O, descriptor close, cancellation, stream close and forwarded reads. Both platform builds used two compiler jobs. - Conventions and whitespace checks passed against fetched main `005482d54a0caf61bb2919074716c987054e6c55`. A virtual merge with that tip completed cleanly. The debt check passed, and the public-header audit verified 413 libraries and 34,782 exports. - MarcZX10’s previous review covered head `7983704eeb` and raised no defects or requests. [Review](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6000971789) CI and the maintainer bench remain pending for this head. macOS, console, live titles, GPU and performance remain untested for this update. At `7983704eeb68a4bf6dfd56396e7d3ea414be5ab9`, before the archive-backed file integration. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. The build ran with two compiler jobs. **523/523 focused CTests passed** in 32.61 s. The file-vector fixture verifies scalar and vectored large POSIX reads, chunk-boundary data, short EOF results and positioned offsets. The selection also includes AIO large reads, descriptor close, cancellation, stream close and forwarded socket reads. - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. The build ran with two compiler jobs. **472/472 focused CTests passed** in 26.15 s, including file vector and pointer checks, descriptor close, cancellation, stream close and forwarded socket reads. - A temporary Linux probe intercepted the return of a real first 1 GiB host read and requested guest cancellation before handing back the result. All four entry points returned the completed bytes, left the next native chunk unstarted, and delivered the cancellation at a subsequent cancellation point. Positioned reads preserved the descriptor offset. - Conventions and whitespace checks passed against fetched main `c7084de6edbc1f86c8e8ea3361383459545f37bb`; a virtual merge with that tip completed cleanly. The debt check passed, and the public-header audit verified 413 libraries and 34,780 exports. - MarcZX10's previous review covered head `44fde3b660` and raised no findings. [Review](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5999683937) CI and the maintainer bench remain pending for this head. macOS, console, live titles, GPU and performance remain untested for this update. At `44fde3b660ac816dace9ac0320f2002d23d5787d`, before the large-file read integration. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. Built with two compiler jobs. **464/464 focused CTests passed** in 24.24 s, including repeated `ungetc`, the five standard-stream cases, the stream-close race, forwarded receives, and cancellation and shutdown coverage. - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. Rebuilt with two compiler jobs. **515/515 focused CTests passed** in 18.88 s, including all five standard-stream cases, stream close, forwarded receives, and cancellation and shutdown coverage. The local configure used the cached release package for the unchanged FFmpeg submodule pin. - Public-header audit passed for 413 libraries and 34,764 exports. Debt and whitespace checks passed. Conventions passed against the fetched `origin/main` `4c3e1569aad89728238c94cc6ef83bfad44d2926`, which adds separate SaveData tests. A virtual merge with that tip completed cleanly. - MarcZX10 approved the previous head `fb5fe804340f9df393b6bff36bb89c1ce9e67d38` after reviewing the full change. [Review](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5998501448) CI and the maintainer bench remain pending for this head. Local execution covered focused host tests. macOS, console, live titles, GPU and performance remain untested for this update. At `fb5fe804340f9df393b6bff36bb89c1ce9e67d38`, before the Windows pushback integration. ### Tested <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> - Windows 11 Pro 10.0.26300, WinLibs GCC 15.2, Release. Built the focused production library graph and fixtures with two compiler jobs. CTest **457/457 passed** in 22.59 s, with 151 shutdown cases, the positioned release and cancellation cases, stream close, checked socket addresses, and libcurl sockets. The forwarding fixture and both forwarded-close cases each passed five consecutive runs. The earlier head `8da1e28e` passed 110 repeated executions of positioned, forwarded-close, address, and partial `MSG_WAITALL` cases. - Debian 12, GCC 14.2, Docker on WSL2 kernel 6.6.87.2, Release. Built the focused production graph and fixtures with two compiler jobs. CTest **508/508 passed** in 18.14 s, including 151 shutdown cases, the checked address cases, portable stream close, and main's released-thread exception test. - The transport worker found the forwarding error on Windows. I independently reproduced the `guest_sce_net_kernel_forwards` abort on `8da1e28e`, then included the fixture in both final platform runs. - Public-header audit covered 413 libraries and 34,757 exports. Conventions against `origin/main`, debt fragments, and whitespace checks passed. - One independent read-only reviewer examined `79d49f2864f62423b2d72dc0676af685b0d61bf3` and found a forwarded-receive close hang. The fix above was rebuilt and tested on both hosts. With the pre-fix Linux `libSceNet` binary loaded, both new tests failed at the close-wake assertion. Both pass with the final runtime. The runtime runs cover focused host tests. The maintainer bench and CI for this exact head remain open. macOS, a console, live titles, GPU execution, and per-call performance were untested for this update. ### What Published head `32121ca48d0abf5e1c11e7c601636d10ec8cb77d` preserves November published reads `a564d53d8feacc77e94cc6301f35b41175fff6a0` and merges fetched main `4138defef7c468835190768e5143e411bce92d6a` with authored history intact. Address [Dean's shutdown integration request](https://github.com/boykopovar/AnyPS5/pull/12682#issuecomment-6672546071). A Windows pending overlapped receive now waits on its private completion event and a shutdown event registered against the retained socket object. Shutdown reaches every registration through any alias; the receiver cancels only its own OVERLAPPED and drains completion before releasing native/destination ownership. Actual cancellation remains separate, disabled cancellation stays pending, and completed positive MSG_WAITALL progress is retained. Main's post-wait ReceiveShut checks, empty recvfrom/recvmsg address handling, and receiver argument/noncancellable ReadWatch path remain. Main's measured ucontext layout is retained with the existing opaque I/O identity in reserved spare storage. This PR remains the read-cancellation consumer. The remaining Windows native/SCE readiness-to-transfer gaps are explicitly retained in debt here and handled in the separate transport dependency. No other owner's branch was edited. Previously declared prerequisites #10552/#10817/#10755/#12149/#9019 have landed; Depends on remains none. ### Tested Fresh local execution of the published source/head above, Release, CPU build jobs capped at two: - Windows 10.0.26300, WinLibs GCC 15.2: rebuilt the relevant production libc/libkernel/libSceLibcInternal/libkernel_sys/libSceNet/libSceSsl graph and focused fixtures; **471/471** focused read, cancellation, descriptor, signal, context, socket, SSL transport and stream-close cases pass (29.74 s total). - Ubuntu 24.04 / imav-tao WSL2, kernel 6.6.87.2, GCC 13.3: the same relevant production graph rebuilt; **496/496** focused cases pass (23.79 s total). An initial timeout-handshake fixture failure was repaired by observing the Unix poll admission boundary; the final suite above includes all 151 new shutdown cases. - New matrix: **151 cases on each OS**, real loopback TCP/UDP, read/readv and aliases, recv/recvfrom/recvmsg and aliases, SCE read/readv, alias shutdown, concurrent readers, native callers, timeout, actual cancellation and disabled pending cancellation. Windows observes a genuinely pending WSA request; partial WAITALL cases retain a known transferred byte. Linux observation is before the native syscall/poll and establishes the admitted-before-native gap, not proof of an already-parked Linux recv or Linux partial WAITALL progress. Windows additionally passed **490 executions** of 49 alias/parallel/progress cases. - Negative control: remove only shutdown's notification loop, retaining observation hooks. Both Windows recv shutdown and partial-WAITALL cases fail boundedly (**2/2**, 4.23 s total), requiring unrelated cancellation for failure cleanup. Restore source bytes, refresh mtime, rebuild the actual production library: **151/151** pass; final full focused results above follow restoration. - Two fresh independent read-only MICRO/MACRO reviews of production candidate `ed37723bdb31651c1e76574ab55befafb447daac`: no confirmed new must-fix defect. Subsequent changes only clarify debt and add the Unix timeout observation call; the Windows wake/ownership algorithm is unchanged. Reviewers ran no binaries; runtime evidence above is this owner's execution. - Public-header audit: **407 libraries / 30,931 exports**, unique declarations and umbrella coverage pass. Conventions against origin/main: **0 errors**, one 1,084-character context-debt warning. Final isolated overlap scan: **1,768 heads**, **81 uncomparable shared-file branches**; it fails closed, so no blanket clearance or contributor-order agreement is claimed. The direct #16826 overlap concerns close-on-exec metadata, not a competing shutdown/cancellation implementation; upper-stack overlaps are expected. These are relevant production builds and focused runtime selections, not execution of the entire project suite. WSL userfaultfd write protection is unavailable and the existing memory-comparison fallback is reported by the runtime. Existing user FreeType submodule state was preserved. No fresh macOS, title, console, GPU, allocation-failure or performance qualification; event/allocation/syscall/cancelling-caller costs remain unmeasured. Native/SCE receive gaps, macOS unconnected datagrams and zero-length datagram timestamp races retain debt. The unrelated address-waking intermittency and historical Windows 22621 sigjump hang remain unresolved. Maintainer scene/bench and new-head CI/review are separate gates; earlier approvals/results are not approvals of this head. <details><summary>Historical evidence and status at earlier heads (superseded where stated above)</summary> ### What Head `a564d53d8feacc77e94cc6301f35b41175fff6a0`, integrated main `d23df92b3805fea21493a73cbed8835c9e8548d0` through ordinary merge history, preserving every previously published head and maintainer commit. Implement POSIX read cancellation with descriptor lifetime admission, deferred asynchronous delivery and context retirement. Retain the underscore context repair without guest signal-mask saving, checked context copies, deterministic close controls and main's current fault-delivery behavior. Document that scePthreadCancel blocks its cancelling caller and can wake/yield indefinitely; SignalManager global registration locking, allocations and mask-syscall cost remain unmeasured. This update changes that debt rather than adding an optional signal redesign or making a speed claim. #12149 merged November 4 at 05:34 UTC and #9019 merged November 4 at 17:34 UTC; both are satisfied in main. #10552/#10817/#10755 are also merged. All four Apple empty-iovec guards, general context restoration, synchronous writes and deterministic stream-close hooks/comparisons remain. No archive #11625 work or unrelated owner branch was changed. [Consolidated maintainer response and evidence](https://github.com/boykopovar/AnyPS5/pull/12688#issuecomment-6657001460). ### Tested Historical contributor AMD evidence: [TechLevelZero, 2026-11-05 13:22 UTC](https://github.com/boykopovar/AnyPS5/pull/12682#issuecomment-6659085166), parent reads 7d9ebe6a739678572a0e23d556f1a75f10df3322 merged onto main e772fb25cc72ee5faf77847f06bbc69533016e82. RX 6300/RADV NAVI24, Mesa 25.2.8-0ubuntu0.24.04.4/Vulkan 1.4.318; Ubuntu 26.04.1/kernel 7.0.0-42/container ubuntu:24.04, Release. The contributor reports **4,279 passed / 15 failed / 71 skipped**: ten failures also on main and five unstable on main, zero reported new failures. Validation/no-cache was enabled; 1,408 tests ran on the GPU, with no reported new IDs and four baseline IDs retained. agc_graphics_profile_draw timed out in the parallel run and passed on the 360-second retry. Baseline failures/skips and slow-test warnings remain visible; this is not an all-green result. The displayed 4,365-of-4,074 selection line differs from linked 07-select.log's 4,326/4,400, so no unique whole-suite coverage ratio is inferred. This is contributor-reported evidence, not our GPU run or an independent audit of all linked logs. Parent-to-current a564d53d8feacc77e94cc6301f35b41175fff6a0 changes only MainThreadMacOs.cpp, GuestMainStackMove.cpp, GuestNpCommonRuntime.cpp and kernel debt; the read/cancellation implementation, descriptor control and underscore context repair are unchanged. The old head/main test does not become blanket qualification of the current integration. Current Windows results are recorded separately. It does not measure per-call I/O cost or the cancelling caller's spin, qualify unpublished runtime candidates, resolve Windows 22621 or the old accept macOS timeout, or supply a title performance/paired trace_digest run. No new I/O fix or source push follows from this report. Current-head Windows verification: [native Windows job](https://github.com/boykopovar/AnyPS5/actions/runs/42028944399/job/127250520967) succeeds at `a564d53d8feacc77e94cc6301f35b41175fff6a0`. The earlier manual dispatch HTTP 403 remains historical; dispatch is no longer a blocker for this head's Windows execution. This success is read from GitHub job status; no per-fixture totals are inferred here. The sibling transport log supplies direct execution evidence for its requested socket tests, and the accept log supplies direct evidence for its installation/disposal cases. Other checks remain incomplete with no observed current failures. Reads/transport/writes approvals remain pinned to earlier parent heads; no new review is inferred. The old accept macOS x86-64 timeout remains unexplained, and accept stays draft for the unresolved Windows 22621 hang. Main-integration follow-up: authoritative head `a564d53d8feacc77e94cc6301f35b41175fff6a0`, main `d23df92b3805fea21493a73cbed8835c9e8548d0`. During the reads overlap audit the bot refreshed to 12 compared / 81 uncomparable branches at 2026-11-05 12:56:19 UTC. #15698 is confirmed merged; its removed row is satisfied by main. The other removed rows are not treated as merged or cleared merely because they disappeared. The remaining compared heads match the selected-source audits; no new implementation dependency. The existing-main recvfrom notice was checked: one implementation definition and one canonical declaration in main and reads, with no duplicate registration to remove. The pre-push fetch caught maintainer commits a564d53d8feacc77e94cc6301f35b41175fff6a0 (reads), 95ce5937f26f90a44448271a17fb3d105be6128c (transport) and 6076fc5ca39d40aad6e69b27a41a50f4af3bc836 (writes). Those published commits were adopted unchanged; only accept needed a new ordinary merge of the maintainer's writes head, producing 82eaaf776697625bd9e186d94f7e87c6301f4c30. Main's macOS process-start-block pages stay mapped, and the debt still states that POSIX read/receive waits wake and defer delivery until ownership guards are released. No maintainer source resolution was overwritten. All four authoritative heads pass required conventions and whitespace checks (the existing SSL warning remains on the upper layers). The changed MainThreadMacOs.cpp passes host macOS x86-64 syntax checking. Linux I/O production sources and the selected I/O fixtures are unchanged from the earlier composed 93-test run; guest_socket_dontwait passes again against those unchanged Linux binaries (1.93 s; 2.07 s CTest total). This is not execution of the macOS stack-move fixture or a fresh full-suite run. The refreshed coordinated overlap scan covers 1,831 PRs and fails closed for 84 uncomparable branches at the top accept tree; the reads report's 81 count has different scope and remains uncleared. No repeated no-change overlap comment is posted. New integration-head checks/reviews remain pending; earlier runtime results and approvals below are historical at the heads they name. The earlier manual dispatch was denied HTTP 403; current Windows jobs are recorded above, so dispatch is no longer a blocker for these heads; the intermittent Windows 22621 hang and old accept macOS x86-64 timeout remain unresolved. Accept stays draft. <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> Composed accept tree `6db995790dbe9193ee44028e327ad907faaa5cba` with main `e772fb25cc72ee5faf77847f06bbc69533016e82`: Ubuntu 24.04.5/GCC 13.3 Release, x86-64 Docker through Apple Silicon translation. Rebuilt libc/libkernel/libSceLibcInternal/libkernel_sys and focused fixtures. **30/30** selected socket/UDP/context/accept tests pass (4.60 s): guest_socket_dontwait 1.78 s, guest_udp 1.59 s, all 15 accept cases including both installation failures and cancel/jump handoff disposal. **63/63** selected synchronous-write/stream-close tests pass (3.13 s). These are composed-stack focused results, not a full suite or independent runtime runs of every layer. Both requested test removals are present; implemented nonblocking/peek and delayed partial-buffer cases remain. Required `python3 tools/check_conventions.py --base origin/main` checks pass for all four final heads, using an isolated Git context whose origin/main is the actual fetched upstream main above. Reads has no findings; upper layers retain only the existing SSL debt-length warning. Whitespace, preserved-parent and bottom-up ancestor checks pass. The coordinated stack overlap scan covers 1,811 open PRs and fails closed for 100 uncomparable branches; no whole-branch overlap clearance or owner-order agreement is claimed. Latest main and all four remote heads were fetched before the atomic fast-forward-only push. GitHub reports all four branches merge cleanly. **Earlier Windows verification status, superseded by the current results above:** After the earlier publication, ordered Build dispatch `12682 12688 12700 12965` was rejected with HTTP 403, “Must have admin rights to Repository.” At that point a collaborator/admin dispatch was requested for guest_socket_dontwait plus native Windows guest_socket_transfer_progress; current runs above now supply execution. The available MinGW 13 cross-syntax attempt stops at newer main's `_fflush_nolock` declaration; no native Windows execution is inferred. The previous published heads' Windows jobs passed, but do not qualify these updates. New-head CI/review requires refresh. Prior XairRrR approvals are historical: reads 32169af1dc395b182370cdf973687d313d33bfc4, transport 70120f1b8604f9a5f4f96cb18fbf299204acdeec, writes fbd44d33266946006afd8ca4acc55e2bbe7d91e6. Accept's prior review is COMMENTED and it remains draft. No new approval is inferred. The old accept macOS x86-64 [job126136729127](https://github.com/boykopovar/AnyPS5/actions/runs/41696471846/job/126136729127) remains failed at attempt 1; refreshed status/log reads 668 passed and guest_none_relocations timed out at 20.12 s, 354.88 s total. Its cause and a fix are unestablished; there is no fresh full macOS runtime qualification. The intermittent Windows 22621 sigjump hang remains unresolved; these Linux passes do not resolve it. Retained SSL waits, per-call I/O overhead and the cancelling-caller indefinite spin retain their debt/limits. Unpublished signal-registry/cancellation-request and SyncWrites-exception candidates are excluded. No new title/console, GPU or paired same-scene trace_digest run; no performance claim. Maintainer title-scene bench remains external. </details> <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> </details> ### 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) and the licence notice of code adapted from upstream (see AGENTS.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 <!-- #PR, or none --> - [x] Fixes: none <!-- issue it closes as Fixes #N, or none --> - [x] Unblocks: none <!-- title ID and Game bring-up discussion, e.g. PPSA01325 #3232, or none --> - [x] GPUs tested: n/a <!-- for AGC, shader recompiler or VideoOut changes: vendor, model, driver and OS of each GPU the GPU tests ran on; otherwise n/a --> - [x] AI-assisted: yes <!-- yes / no -->
CnRJay commented 2026-11-01 19:50:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by CnRJay on 2026-11-01T19:50:54Z.

Review: COMMENTED


Three things in the descriptor-access layer, which 12688 and 12700 carry as well.

  1. Global lock plus a full-map scan on every guest I/O call. GuestDescriptorAccess::Get(int) takes one process-wide static mutex and runs std::erase_if(entries, expired) over the whole std::map<int, std::weak_ptr<State>> before the lookup. DescriptorAccessInitialize_nid_no_patch calls it for every read, recv, write and send. That is O(open descriptors) work under a single lock on each call, serialising every I/O thread in the process, not only the blocked ones. Sweep expired entries when a state is released, or keep a descriptor-indexed table with per-slot ownership, and keep the lookup off a global mutex.
  2. Per-operation State::mutex and changed condition variable on the non-blocking path. A read that will return immediately still goes through DescriptorAccessLock (lock, CanRead(), ++readers). Please show what this costs a read/recv-heavy title against main with tools/trace_digest.py summaries from the same machine and scene, or say plainly that it is unmeasured.
  3. Close waits by polling. In the Mode::Close branch of DescriptorAccessLock, the closer loops Interrupt() then changed.wait_for(lock, 1ms) until CanChange(). A close behind a long blocked read becomes a 1 kHz wake loop, and the drain in the registry (if (pending) std::this_thread::yield()) is a pure spin on the registry lock.

Process: the three PRs stack to +4.7k, +6.1k and +7.5k cumulative lines, so each Files tab hides which commits are new. Unblocks: none sits beside Human Fall Flat evidence. If PPSA02429 depends on this, please name it under Unblocks with the log line that reaches the blocking recv on main, and state which of the 4.7k lines that title needs.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5729927085 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5729927085). Originally posted by [CnRJay](https://github.com/CnRJay) on 2026-11-01T19:50:54Z. **Review:** COMMENTED --- Three things in the descriptor-access layer, which 12688 and 12700 carry as well. 1. **Global lock plus a full-map scan on every guest I/O call.** `GuestDescriptorAccess::Get(int)` takes one process-wide static mutex and runs `std::erase_if(entries, expired)` over the whole `std::map<int, std::weak_ptr<State>>` before the lookup. `DescriptorAccessInitialize_nid_no_patch` calls it for every read, recv, write and send. That is O(open descriptors) work under a single lock on each call, serialising every I/O thread in the process, not only the blocked ones. Sweep expired entries when a state is released, or keep a descriptor-indexed table with per-slot ownership, and keep the lookup off a global mutex. 2. **Per-operation `State::mutex` and `changed` condition variable on the non-blocking path.** A read that will return immediately still goes through `DescriptorAccessLock` (lock, `CanRead()`, `++readers`). Please show what this costs a read/recv-heavy title against `main` with `tools/trace_digest.py` summaries from the same machine and scene, or say plainly that it is unmeasured. 3. **Close waits by polling.** In the `Mode::Close` branch of `DescriptorAccessLock`, the closer loops `Interrupt()` then `changed.wait_for(lock, 1ms)` until `CanChange()`. A close behind a long blocked read becomes a 1 kHz wake loop, and the drain in the registry (`if (pending) std::this_thread::yield()`) is a pure spin on the registry lock. Process: the three PRs stack to +4.7k, +6.1k and +7.5k cumulative lines, so each Files tab hides which commits are new. `Unblocks: none` sits beside Human Fall Flat evidence. If PPSA02429 depends on this, please name it under `Unblocks` with the log line that reaches the blocking recv on `main`, and state which of the 4.7k lines that title needs.
XairRrR commented 2026-11-03 17:47:04 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by XairRrR on 2026-11-03T17:47:04Z.

Review: APPROVED


Reviewed — approved

The merged tree builds and every test in its suite passes. Two production-only negative controls make the new read-cancel and close tests fail. I found nothing blocking. The non-blocking notes below cover the per-read cost of the signal layer and how scePthreadCancel waits on I/O.

What I ran

Head 32169af1dc395b182370cdf973687d313d33bfc4, main 1e658521a0a599872612bb91949311e2956b5283, merged tree 9efdf6fa7f958f4c65380ddb06c776629a3058fd, all in a clean worktree. Release, GCC 14.2.0, Ninja, on Debian 13 (32 vCPU Xeon Gold 6136).

git diff --check 1e658521a0a599872612bb91949311e2956b5283...32169af1dc395b182370cdf973687d313d33bfc4
python3 tools/check_conventions.py --base 1e658521a0a599872612bb91949311e2956b5283
ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "guest_io_|guest_underscore_jumps|guest_raise_exception|guest_stream_close|guest_socket_read_write|net_dont_wait|guest_user_context|guest_signal_sets|host_thread_local"
ctest --test-dir build --repeat until-fail:20 -j8 --test-load 32 -R "^guest_io_(read_pipe_read_cancel|descriptor_close_before_native|context_sigjump|descriptor_registry_lifetime)$"
# negative controls (see below), each followed by
ninja -C build -j32 -l32 guest_io_read_cancel_tests guest_io_descriptor_access_tests libkernel libs
ctest --test-dir build -j8 --test-load 32 -R "^guest_io_(close_|descriptor_|read_pipe)"
git status --porcelain

Results

Check Result
Merge into main clean
git diff --check clean
check_conventions.py All conventions checks passed
Configure / build / libs (build job) ok
Selected tests (build job) 4071 run, 0 new failures, 0 timeouts. The 9 known failures (agc_driver_* denormal/division, guest_interfaces, guest_socket_options_multicast, unwrap_self_…, vector_constant_factor_tininess) also fail on main.
check_skips.py guest_net_ctl skipped unexpectedly, which also happens on main
Focused tests touched by the PR 334/334 passed, 22.7 s wall. Each test runs well under its 15–25 s limit.
20 repeats of four of the new cancel/context tests (incl. guest_io_context_sigjump) 4/4 passed
Vulkan validation not applicable: no AGC, shader recompiler or VideoOut file changed
Focused run tail
332/334 Test #3511: guest_io_read_pending_preadv ..............................   Passed    0.01 sec
333/334 Test #3301: guest_io_signal_fault_signal_unregistered_jump ............   Passed    0.01 sec
334/334 Test #3513: guest_io_read_zero_recvmsg_empty_complete .................   Passed    0.01 sec

100% tests passed, 0 tests failed out of 334

Negative control

The new tests call new APIs (GuestDescriptorAccess, JumpBuffer::GuestContext*), so restoring every production file from main would only break the build. I made two targeted production-only reverts instead:

  1. No interruptible native read. In core/libs/prx/libkernel/File/src/Open.cpp:156, I replaced ThreadCancel::Native([&] { return ::read(fd, buf, n); }) with a plain ::read. Then guest_io_read_pipe_read_cancel, guest_io_read_pipe_read_complete, guest_io_read_pipe_alias_cancel and guest_io_read_pipe_alias_complete failed, each in about 2 s. The pending and disabled cases still passed, as they should.
  2. No close admission. In core/libs/prx/libkernel/File/src/Stdio.cpp:971, I removed the GuestDescriptorAccess … Mode::Close guard in close_nid_postfix. Then guest_io_close_readers_0, guest_io_close_0_0_0 and guest_io_descriptor_close_before_native failed. The socket variants close through other paths and passed.

After both controls I restored the merged files from 9efdf6fa… and rebuilt. All 60 guest_io_(close_|descriptor_|read_pipe) tests passed again, and git status --porcelain was empty. The author also reports a negative control on _longjmp's restore call; I did not repeat it.

Findings

Blocking

None.

Non-blocking

  1. A process-wide mutex and about 14 extra signal-mask syscalls on every POSIX read on Linux. This is new evidence for point 1 of CnRJay's review. The descriptor registry is now sharded, but the signal layer still serialises every POSIX read/recv in the process:

    • BeginIoSignals pushes onto manager.entries under the single SignalManager::mutex (core/libs/prx/libkernel/Pthread/src/IoSignals.cpp:260-263).
    • EndIoSignals runs std::erase over that vector under the same lock (IoSignals.cpp:288-291).
    • The manager thread holds that lock while it scans every entry (IoSignals.cpp:188-194).

    Counting from the source, each such read also pays for a large number of signal-mask syscalls:

    • SetupBlock runs in the IoRestart constructor and destructor, in BeginIoSignals, and twice in EndIoSignals: 10 pthread_sigmask calls.
    • NativeIo::State adds an unblock, a block, a sigpending and a final setmask (core/libs/prx/libkernel/Pthread/src/NativeIo.cpp:57-60, 82-88).
    • On top of that come three heap allocations (IoRestart::State, SignalState, NativeIo::State).

    The description says this cost is unmeasured and makes no speed claim, so no rule is broken. Still, this path is hotter than the descriptor admission it was asked about. Suggested fix:

    • Register the thread's SignalState once per guest thread rather than per call.
    • Skip the SetupBlock pairs when no deferred delivery is pending.
    • Or show a trace_digest comparison on a read-heavy scene before this lands.
  2. scePthreadCancel waits on a target's I/O with no time limit, re-signalling it on every pass of a yield loop. In the merged core/libs/prx/libkernel/Pthread/src/Thread.cpp:1450-1460, the canceller loops while thread->cancelIo is set, calling cancelIo->Wake() (pthread_kill(SIGUSR2) / CancelSynchronousIo) and scePthreadYield() each time. main already loops like this for condition waits (Thread.cpp:1406-1414 at 1e658521), but those always wake. A read stuck in a host call that ignores the interrupt keeps the calling thread spinning at full CPU, and pthread_cancel never returns. POSIX pthread_cancel only queues the request.

    The debt entry says that cancellation and close "may delay … indefinitely", but not that the caller of pthread_cancel blocks. Suggested fix: back off as the close path does (1–16 ms), or return after the request is queued and leave re-waking to a retry owner. At least state in the debt entry that the caller waits.

  3. Scope. The PR carries #12149's _setjmp/_longjmp (declared under Depends on: #12149, which is still open). It also splits guest_raise_exception into per-case tests, adds descriptor admission to dup/dup2/fcntl/stdio close, and adds deferred async-signal delivery. Each piece is tied to read cancellation, but together they make a +4.2k-line review unit. If maintainers prefer smaller units, the deferred-delivery layer (IoSignals.cpp, Signals.cpp/Exception.cpp hooks, context identity) could stand on its own.

Not verified

  • Windows and macOS: not built or run here. That includes _longjmp's GuestStackSwitch_nid_no_patch path, the CancelSynchronousIo path, and the Windows-only tests (deferred_drain, close_progress, position_cancel, append_*).
  • On macOS, FileStream::Close now calls std::fclose while the same thread holds flockfile (core/libs/prx/libc/include/FileStream.hpp:131-139, 493-501). This is fine on glibc. I did not check Apple libc, which releases and reinitialises the FILE lock inside fclose.
  • The intermittent Windows 22621 sigjump hang the author mentions.
  • Any performance effect: I had no strace/perf, so the syscall count above comes from reading the source, not from a trace.
  • Console behaviour of close interrupting an admitted read. The debt entry records that it differs from the reported console behaviour.
  • Combined behaviour with the overlapping PRs listed by the overlap bot.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5756973692 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5756973692). Originally posted by [XairRrR](https://github.com/XairRrR) on 2026-11-03T17:47:04Z. **Review:** APPROVED --- # Reviewed — approved The merged tree builds and every test in its suite passes. Two production-only negative controls make the new read-cancel and close tests fail. I found nothing blocking. The non-blocking notes below cover the per-read cost of the signal layer and how `scePthreadCancel` waits on I/O. ## What I ran Head `32169af1dc395b182370cdf973687d313d33bfc4`, `main` `1e658521a0a599872612bb91949311e2956b5283`, merged tree `9efdf6fa7f958f4c65380ddb06c776629a3058fd`, all in a clean worktree. Release, GCC 14.2.0, Ninja, on Debian 13 (32 vCPU Xeon Gold 6136). ``` git diff --check 1e658521a0a599872612bb91949311e2956b5283...32169af1dc395b182370cdf973687d313d33bfc4 python3 tools/check_conventions.py --base 1e658521a0a599872612bb91949311e2956b5283 ctest --test-dir build -j8 --test-load 32 --output-on-failure -R "guest_io_|guest_underscore_jumps|guest_raise_exception|guest_stream_close|guest_socket_read_write|net_dont_wait|guest_user_context|guest_signal_sets|host_thread_local" ctest --test-dir build --repeat until-fail:20 -j8 --test-load 32 -R "^guest_io_(read_pipe_read_cancel|descriptor_close_before_native|context_sigjump|descriptor_registry_lifetime)$" # negative controls (see below), each followed by ninja -C build -j32 -l32 guest_io_read_cancel_tests guest_io_descriptor_access_tests libkernel libs ctest --test-dir build -j8 --test-load 32 -R "^guest_io_(close_|descriptor_|read_pipe)" git status --porcelain ``` ## Results | Check | Result | |---|---| | Merge into `main` | clean | | `git diff --check` | clean | | `check_conventions.py` | All conventions checks passed | | Configure / build / `libs` (build job) | ok | | Selected tests (build job) | 4071 run, 0 new failures, 0 timeouts. The 9 known failures (`agc_driver_*` denormal/division, `guest_interfaces`, `guest_socket_options_multicast`, `unwrap_self_…`, `vector_constant_factor_tininess`) also fail on `main`. | | `check_skips.py` | `guest_net_ctl` skipped unexpectedly, which also happens on `main` | | Focused tests touched by the PR | **334/334 passed**, 22.7 s wall. Each test runs well under its 15–25 s limit. | | 20 repeats of four of the new cancel/context tests (incl. `guest_io_context_sigjump`) | 4/4 passed | | Vulkan validation | not applicable: no AGC, shader recompiler or VideoOut file changed | <details><summary>Focused run tail</summary> ``` 332/334 Test #3511: guest_io_read_pending_preadv .............................. Passed 0.01 sec 333/334 Test #3301: guest_io_signal_fault_signal_unregistered_jump ............ Passed 0.01 sec 334/334 Test #3513: guest_io_read_zero_recvmsg_empty_complete ................. Passed 0.01 sec 100% tests passed, 0 tests failed out of 334 ``` </details> ## Negative control The new tests call new APIs (`GuestDescriptorAccess`, `JumpBuffer::GuestContext*`), so restoring every production file from `main` would only break the build. I made two targeted production-only reverts instead: 1. **No interruptible native read.** In `core/libs/prx/libkernel/File/src/Open.cpp:156`, I replaced `ThreadCancel::Native([&] { return ::read(fd, buf, n); })` with a plain `::read`. Then `guest_io_read_pipe_read_cancel`, `guest_io_read_pipe_read_complete`, `guest_io_read_pipe_alias_cancel` and `guest_io_read_pipe_alias_complete` **failed**, each in about 2 s. The `pending` and `disabled` cases still passed, as they should. 2. **No close admission.** In `core/libs/prx/libkernel/File/src/Stdio.cpp:971`, I removed the `GuestDescriptorAccess … Mode::Close` guard in `close_nid_postfix`. Then `guest_io_close_readers_0`, `guest_io_close_0_0_0` and `guest_io_descriptor_close_before_native` **failed**. The socket variants close through other paths and passed. After both controls I restored the merged files from `9efdf6fa…` and rebuilt. All 60 `guest_io_(close_|descriptor_|read_pipe)` tests passed again, and `git status --porcelain` was empty. The author also reports a negative control on `_longjmp`'s restore call; I did not repeat it. ## Findings ### Blocking None. ### Non-blocking 1. **A process-wide mutex and about 14 extra signal-mask syscalls on every POSIX read on Linux.** This is new evidence for point 1 of CnRJay's review. The descriptor registry is now sharded, but the signal layer still serialises every POSIX read/recv in the process: - `BeginIoSignals` pushes onto `manager.entries` under the single `SignalManager::mutex` (`core/libs/prx/libkernel/Pthread/src/IoSignals.cpp:260-263`). - `EndIoSignals` runs `std::erase` over that vector under the same lock (`IoSignals.cpp:288-291`). - The manager thread holds that lock while it scans every entry (`IoSignals.cpp:188-194`). Counting from the source, each such read also pays for a large number of signal-mask syscalls: - `SetupBlock` runs in the `IoRestart` constructor and destructor, in `BeginIoSignals`, and twice in `EndIoSignals`: 10 `pthread_sigmask` calls. - `NativeIo::State` adds an unblock, a block, a `sigpending` and a final setmask (`core/libs/prx/libkernel/Pthread/src/NativeIo.cpp:57-60`, `82-88`). - On top of that come three heap allocations (`IoRestart::State`, `SignalState`, `NativeIo::State`). The description says this cost is unmeasured and makes no speed claim, so no rule is broken. Still, this path is hotter than the descriptor admission it was asked about. Suggested fix: - Register the thread's `SignalState` once per guest thread rather than per call. - Skip the `SetupBlock` pairs when no deferred delivery is pending. - Or show a `trace_digest` comparison on a read-heavy scene before this lands. 2. **`scePthreadCancel` waits on a target's I/O with no time limit, re-signalling it on every pass of a yield loop.** In the merged `core/libs/prx/libkernel/Pthread/src/Thread.cpp:1450-1460`, the canceller loops while `thread->cancelIo` is set, calling `cancelIo->Wake()` (`pthread_kill(SIGUSR2)` / `CancelSynchronousIo`) and `scePthreadYield()` each time. `main` already loops like this for condition waits (`Thread.cpp:1406-1414` at `1e658521`), but those always wake. A read stuck in a host call that ignores the interrupt keeps the *calling* thread spinning at full CPU, and `pthread_cancel` never returns. POSIX `pthread_cancel` only queues the request. The debt entry says that cancellation and close "may delay … indefinitely", but not that the caller of `pthread_cancel` blocks. Suggested fix: back off as the close path does (1–16 ms), or return after the request is queued and leave re-waking to a retry owner. At least state in the debt entry that the caller waits. 3. **Scope.** The PR carries #12149's `_setjmp`/`_longjmp` (declared under `Depends on: #12149`, which is still open). It also splits `guest_raise_exception` into per-case tests, adds descriptor admission to `dup`/`dup2`/`fcntl`/stdio close, and adds deferred async-signal delivery. Each piece is tied to read cancellation, but together they make a +4.2k-line review unit. If maintainers prefer smaller units, the deferred-delivery layer (`IoSignals.cpp`, `Signals.cpp`/`Exception.cpp` hooks, context identity) could stand on its own. ## Not verified - Windows and macOS: not built or run here. That includes `_longjmp`'s `GuestStackSwitch_nid_no_patch` path, the `CancelSynchronousIo` path, and the Windows-only tests (`deferred_drain`, `close_progress`, `position_cancel`, `append_*`). - On macOS, `FileStream::Close` now calls `std::fclose` while the same thread holds `flockfile` (`core/libs/prx/libc/include/FileStream.hpp:131-139`, `493-501`). This is fine on glibc. I did not check Apple libc, which releases and reinitialises the FILE lock inside `fclose`. - The intermittent Windows 22621 sigjump hang the author mentions. - Any performance effect: I had no `strace`/`perf`, so the syscall count above comes from reading the source, not from a trace. - Console behaviour of close interrupting an admitted read. The debt entry records that it differs from the reported console behaviour. - Combined behaviour with the overlapping PRs listed by the overlap bot. <!-- anyps5-bots job=2006 head=32169af1dc395b182370cdf973687d313d33bfc4 -->
MarcZX10 commented 2026-11-17 09:38:22 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T09:38:22Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

What I ran

Head 32121ca48d0abf5e1c11e7c601636d10ec8cb77d, base main. Read-only review, no merge preview, nothing built or executed. I read the whole diff.patch (lockfiles, minified files, dist/, build/ and .svg excluded by the console), the description, the commit list and the manifest. Repository reads at the head, all through repo_read.py:

python3 repo_read.py search "WaitUntil" core/libs/prx/libkernel/File/src/Stdio.cpp
python3 repo_read.py search "fclose_nolock" core/libs/prx/libc/include/FileStream.hpp
python3 repo_read.py cat core/libs/prx/libc/include/FileStream.hpp 131 137
python3 repo_read.py cat core/libs/prx/libkernel/File/src/Stdio.cpp 322 342
python3 repo_read.py cat core/libs/tests/GuestStreamClose.cpp 76 78
python3 repo_read.py search "AddressRounds" core/libs/tests/GuestRaiseException.cpp

A search with escaped parentheses (WaitUntil\(sleep) returned no match, so I searched the plain name instead.

Results

Check Result Note
Full diff read passed All hunks, no excluded files
Head reads passed Six reader calls
Build and focused tests not run Nothing built here
Author-reported tests not run Counts not reproduced
Conventions check not run Author reports it passed
Raw reader output
32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/prx/libkernel/File/src/Stdio.cpp:339:        changed.WaitUntil(sleep, TimedWait::DeadlineNanos(1000));
1 matching lines at 32121ca48d0a.

32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/prx/libc/include/FileStream.hpp:134:            const int result = ::_fclose_nolock(handle);
1 matching lines at 32121ca48d0a.

FileStream.hpp lines 131-137:
131:         void Retain(std::FILE* value) { handle = value; }
132:         int Close() {
133: #ifdef _WIN32
134:             const int result = ::_fclose_nolock(handle);
135:             ::_unlock_file(std::exchange(handle, nullptr));
136:             return result;
137: #else

Stdio.cpp lines 322-342:
322: }
323: std::optional<File::PositionedTransferLock> File::IoPositionedTransfer(int descriptor) {
324:     if (!ThreadCancel::IoActive()) return LockPositionedTransfer(descriptor);
325:     const auto entry = PositionedMutex(descriptor);
326:     TimedWait::Condition changed;
327:     std::mutex mutex;
328:     ThreadCancel::IoWait wait([](void* argument) noexcept {
329:         static_cast<TimedWait::Condition*>(argument)->NotifyAll();
330:     }, &changed);
331:     for (;;) {
332:         if (ThreadCancel::IoInterrupted()) {
333:             errno = EINTR;
334:             return std::nullopt;
335:         }
336:         std::unique_lock lock(entry->mutex, std::try_to_lock);
337:         if (lock.owns_lock()) return PositionedTransferLock(std::shared_ptr<std::mutex>(entry, &entry->mutex), std::move(lock));
338:         std::unique_lock sleep(mutex);
339:         changed.WaitUntil(sleep, TimedWait::DeadlineNanos(1000));
340:     }
341: }
342: void File::SharePositionedTransfer(int from, int to) {

GuestStreamClose.cpp lines 76-78:
76: static void CloseWaitsForPositionedWrites() {
77: #ifdef _WIN32
78:     const std::vector<char> data(4096, 'p');

32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/tests/GuestRaiseException.cpp:431:static constexpr int AddressRounds = 10;
32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/tests/GuestRaiseException.cpp:488:    for (int round = 0; round < AddressRounds; ++round) {
2 matching lines at 32121ca48d0a.

Findings

Blocking

None.

Non-blocking

  1. core/libs/prx/libkernel/File/src/Stdio.cpp:339 — IoPositionedTransfer waits on the positioned lock in 1 µs slices (DeadlineNanos(1000)). Only the interrupt callback notifies changed; releasing the holder's entry->mutex never does. A second cancellable transfer on the same descriptor therefore spins until the holder finishes. Example: thread A holds the positioned lock across a 2-second native transfer; thread B's pread on that descriptor runs the 1 µs loop for those 2 seconds and keeps one host core busy. A fix would notify changed when the positioned lock is released, or wait on the lock itself. Not run here.
  2. core/libs/tests/GuestStreamClose.cpp:77 — the positioned-write close race now compiles only on Windows. In the removed lines it ran on every platform with 16 rounds of 8 MiB. Linux and macOS lose that coverage, and the description does not mention it. If that is intentional, say so in the description, or keep the test on POSIX.
  3. core/libs/tests/GuestRaiseException.cpp:431 — AddressRounds drops from 50 to 10, and the loop at line 488 uses it. The description does not explain the cut. If the smaller count is for runtime, say so; otherwise restore it.

Sources

Not verified

  • Nothing was built or run here. The author's counts (Windows 471/471 and 490 executions, Ubuntu 496/496, Windows negative control 2/2) are the author's and are not reproduced.
  • FileStream.hpp:134-135: on Windows, NativeLock::Close calls _unlock_file on the handle after _fclose_nolock has run. I did not check whether the UCRT stream lock outlives the FILE, so the safety of that order is not verified.
  • Only two ranges of head sources were read. The rest of the change was reviewed from diff.patch, so callers of IoSignals.cpp, NativeIo.cpp, Udp.cpp and Cancel.hpp at the head were not checked.
  • macOS: the IoSignals.cpp and NativeIo.cpp backends were not run; the debt docs say the same.
  • files.json was not opened, so I cannot confirm which files count as reviewed.
  • Console behaviour described in docs/dev/debt/*.md is unverified by nature and was not checked.
  • The conventions check, whitespace checks, CI and merge state are the author's report; none were run here.

To get this to a good state

Nothing is required. Optional: see Non-blocking above.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5936055279 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5936055279). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T09:38:22Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. **What I ran** Head `32121ca48d0abf5e1c11e7c601636d10ec8cb77d`, base `main`. Read-only review, no merge preview, nothing built or executed. I read the whole `diff.patch` (lockfiles, minified files, `dist/`, `build/` and `.svg` excluded by the console), the description, the commit list and the manifest. Repository reads at the head, all through `repo_read.py`: ``` python3 repo_read.py search "WaitUntil" core/libs/prx/libkernel/File/src/Stdio.cpp python3 repo_read.py search "fclose_nolock" core/libs/prx/libc/include/FileStream.hpp python3 repo_read.py cat core/libs/prx/libc/include/FileStream.hpp 131 137 python3 repo_read.py cat core/libs/prx/libkernel/File/src/Stdio.cpp 322 342 python3 repo_read.py cat core/libs/tests/GuestStreamClose.cpp 76 78 python3 repo_read.py search "AddressRounds" core/libs/tests/GuestRaiseException.cpp ``` A search with escaped parentheses (`WaitUntil\(sleep`) returned no match, so I searched the plain name instead. **Results** | Check | Result | Note | |---|---|---| | Full diff read | passed | All hunks, no excluded files | | Head reads | passed | Six reader calls | | Build and focused tests | not run | Nothing built here | | Author-reported tests | not run | Counts not reproduced | | Conventions check | not run | Author reports it passed | <details> <summary>Raw reader output</summary> ``` 32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/prx/libkernel/File/src/Stdio.cpp:339: changed.WaitUntil(sleep, TimedWait::DeadlineNanos(1000)); 1 matching lines at 32121ca48d0a. 32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/prx/libc/include/FileStream.hpp:134: const int result = ::_fclose_nolock(handle); 1 matching lines at 32121ca48d0a. FileStream.hpp lines 131-137: 131: void Retain(std::FILE* value) { handle = value; } 132: int Close() { 133: #ifdef _WIN32 134: const int result = ::_fclose_nolock(handle); 135: ::_unlock_file(std::exchange(handle, nullptr)); 136: return result; 137: #else Stdio.cpp lines 322-342: 322: } 323: std::optional<File::PositionedTransferLock> File::IoPositionedTransfer(int descriptor) { 324: if (!ThreadCancel::IoActive()) return LockPositionedTransfer(descriptor); 325: const auto entry = PositionedMutex(descriptor); 326: TimedWait::Condition changed; 327: std::mutex mutex; 328: ThreadCancel::IoWait wait([](void* argument) noexcept { 329: static_cast<TimedWait::Condition*>(argument)->NotifyAll(); 330: }, &changed); 331: for (;;) { 332: if (ThreadCancel::IoInterrupted()) { 333: errno = EINTR; 334: return std::nullopt; 335: } 336: std::unique_lock lock(entry->mutex, std::try_to_lock); 337: if (lock.owns_lock()) return PositionedTransferLock(std::shared_ptr<std::mutex>(entry, &entry->mutex), std::move(lock)); 338: std::unique_lock sleep(mutex); 339: changed.WaitUntil(sleep, TimedWait::DeadlineNanos(1000)); 340: } 341: } 342: void File::SharePositionedTransfer(int from, int to) { GuestStreamClose.cpp lines 76-78: 76: static void CloseWaitsForPositionedWrites() { 77: #ifdef _WIN32 78: const std::vector<char> data(4096, 'p'); 32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/tests/GuestRaiseException.cpp:431:static constexpr int AddressRounds = 10; 32121ca48d0abf5e1c11e7c601636d10ec8cb77d:core/libs/tests/GuestRaiseException.cpp:488: for (int round = 0; round < AddressRounds; ++round) { 2 matching lines at 32121ca48d0a. ``` </details> **Findings** **Blocking** None. **Non-blocking** 1. `core/libs/prx/libkernel/File/src/Stdio.cpp:339` — `IoPositionedTransfer` waits on the positioned lock in 1 µs slices (`DeadlineNanos(1000)`). Only the interrupt callback notifies `changed`; releasing the holder's `entry->mutex` never does. A second cancellable transfer on the same descriptor therefore spins until the holder finishes. Example: thread A holds the positioned lock across a 2-second native transfer; thread B's `pread` on that descriptor runs the 1 µs loop for those 2 seconds and keeps one host core busy. A fix would notify `changed` when the positioned lock is released, or wait on the lock itself. Not run here. 2. `core/libs/tests/GuestStreamClose.cpp:77` — the positioned-write close race now compiles only on Windows. In the removed lines it ran on every platform with 16 rounds of 8 MiB. Linux and macOS lose that coverage, and the description does not mention it. If that is intentional, say so in the description, or keep the test on POSIX. 3. `core/libs/tests/GuestRaiseException.cpp:431` — `AddressRounds` drops from 50 to 10, and the loop at line 488 uses it. The description does not explain the cut. If the smaller count is for runtime, say so; otherwise restore it. **Sources** - Stdio.cpp, lines 322–341: https://github.com/boykopovar/AnyPS5/blob/32121ca48d0abf5e1c11e7c601636d10ec8cb77d/core/libs/prx/libkernel/File/src/Stdio.cpp#L322-L341 - FileStream.hpp, lines 131–137: https://github.com/boykopovar/AnyPS5/blob/32121ca48d0abf5e1c11e7c601636d10ec8cb77d/core/libs/prx/libc/include/FileStream.hpp#L131-L137 - GuestStreamClose.cpp, line 77: https://github.com/boykopovar/AnyPS5/blob/32121ca48d0abf5e1c11e7c601636d10ec8cb77d/core/libs/tests/GuestStreamClose.cpp#L76-L78 - GuestRaiseException.cpp, line 431: https://github.com/boykopovar/AnyPS5/blob/32121ca48d0abf5e1c11e7c601636d10ec8cb77d/core/libs/tests/GuestRaiseException.cpp#L431 **Not verified** - Nothing was built or run here. The author's counts (Windows 471/471 and 490 executions, Ubuntu 496/496, Windows negative control 2/2) are the author's and are not reproduced. - `FileStream.hpp:134-135`: on Windows, `NativeLock::Close` calls `_unlock_file` on the handle after `_fclose_nolock` has run. I did not check whether the UCRT stream lock outlives the FILE, so the safety of that order is not verified. - Only two ranges of head sources were read. The rest of the change was reviewed from `diff.patch`, so callers of `IoSignals.cpp`, `NativeIo.cpp`, `Udp.cpp` and `Cancel.hpp` at the head were not checked. - macOS: the `IoSignals.cpp` and `NativeIo.cpp` backends were not run; the debt docs say the same. - `files.json` was not opened, so I cannot confirm which files count as reviewed. - Console behaviour described in `docs/dev/debt/*.md` is unverified by nature and was not checked. - The conventions check, whitespace checks, CI and merge state are the author's report; none were run here. **To get this to a good state** Nothing is required. Optional: see Non-blocking above.
MarcZX10 commented 2026-11-20 19:35:45 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T19:35:45Z.

Review: COMMENTED


Reviewed — comments

This review inspected the prepared change and selected implementation hunks, but the full changed-file set was not reviewed, so a formal merge decision is not justified.

What I ran

Head: 8da1e28eae9752480ffc76e3c88b3091cb67add2. No build or tests were run; repository access was read-only through repo_read.py.

Results

Check Result Note
Change metadata and diff passed Prepared review inputs inspected
Build and tests not run Author-reported results were not independently run
Full changed-file review not run Only selected diff ranges were inspected

Findings

Blocking

None identified in the inspected ranges.

Non-blocking

  • The change spans descriptor admission, cancellation, signal delivery, context restoration, stdio, and sockets. Review the remaining changed implementation and its callers before treating this review as a merge decision.

Not verified

Read: review/description.md, review/commits.md, the opening portion of review/manifest.json, and selected ranges of review/diff.patch covering descriptor access, jump-buffer handling, stdio locking, and parts of socket and descriptor-control changes. Repository code was not separately read through the pinned reader. The remaining diff, full changed-file contents, files.json, and repository context were not verified. No tests were run; testing claims in the description remain author-reported.

To get this to a good state

Nothing is required. Optional: complete review of the remaining changed implementation and run the relevant checks before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998316133 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5998316133). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T19:35:45Z. **Review:** COMMENTED --- # Reviewed — comments This review inspected the prepared change and selected implementation hunks, but the full changed-file set was not reviewed, so a formal merge decision is not justified. ## What I ran Head: `8da1e28eae9752480ffc76e3c88b3091cb67add2`. No build or tests were run; repository access was read-only through `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Change metadata and diff | passed | Prepared review inputs inspected | | Build and tests | not run | Author-reported results were not independently run | | Full changed-file review | not run | Only selected diff ranges were inspected | ## Findings ### Blocking None identified in the inspected ranges. ### Non-blocking - The change spans descriptor admission, cancellation, signal delivery, context restoration, stdio, and sockets. Review the remaining changed implementation and its callers before treating this review as a merge decision. ## Not verified Read: `review/description.md`, `review/commits.md`, the opening portion of `review/manifest.json`, and selected ranges of `review/diff.patch` covering descriptor access, jump-buffer handling, stdio locking, and parts of socket and descriptor-control changes. Repository code was not separately read through the pinned reader. The remaining diff, full changed-file contents, `files.json`, and repository context were not verified. No tests were run; testing claims in the description remain author-reported. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed implementation and run the relevant checks before making a formal decision.
MarcZX10 commented 2026-11-20 19:51:18 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T19:51:18Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change based on the source reviewed; the focused Windows and Linux test results below are author-reported, not runs performed in this review.

What I ran

Reviewed head fb5fe804340f9df393b6bff36bb89c1ce9e67d38. Read the prepared description, commits, manifest, full diff, and all changed files listed in the manifest; the manifest marks every changed file included. Used repo_read.py search and targeted reads for descriptor admission, receive, cancellation, and context restoration paths. No tests or build commands were run.

Results

Check Result Note
Source review passed Reviewed the prepared diff and included changed files
Windows focused suite not run Author reports 457/457 CTest cases passed
Linux focused suite not run Author reports 508/508 CTest cases passed
New head CI and maintainer bench not run Description says these remain open

Findings

Blocking

None.

Non-blocking

None.

Not verified

I did not independently run the reported tests, CI, or maintainer bench. macOS, console behavior, live titles, GPU execution, and per-call performance were not verified. The description identifies the separate libcurl lease-retirement generation gap as technical debt.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5998501448 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5998501448). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T19:51:18Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change based on the source reviewed; the focused Windows and Linux test results below are author-reported, not runs performed in this review. ## What I ran Reviewed head `fb5fe804340f9df393b6bff36bb89c1ce9e67d38`. Read the prepared description, commits, manifest, full diff, and all changed files listed in the manifest; the manifest marks every changed file included. Used `repo_read.py` search and targeted reads for descriptor admission, receive, cancellation, and context restoration paths. No tests or build commands were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Reviewed the prepared diff and included changed files | | Windows focused suite | not run | Author reports 457/457 CTest cases passed | | Linux focused suite | not run | Author reports 508/508 CTest cases passed | | New head CI and maintainer bench | not run | Description says these remain open | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified I did not independently run the reported tests, CI, or maintainer bench. macOS, console behavior, live titles, GPU execution, and per-call performance were not verified. The description identifies the separate libcurl lease-retirement generation gap as technical debt. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-20 21:31:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T21:31:44Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this review; the author’s reported host test runs are not independently verified here.

What I ran

Reviewed head 44fde3b660ac816dace9ac0320f2002d23d5787d from the prepared bundle using repo_read.py reader tools. No build or tests were run.

Results

Check Result Note
Prepared change bundle passed Diff and manifest inspected
Targeted source review passed Descriptor, cancellation, stream, and socket paths inspected
Build and tests not run Only author-reported results available
Full changed-line review not run Several changed files remain unread

Findings

Blocking

None verified in the source ranges inspected.

Non-blocking

None.

Not verified

The changed lines in the following files were not fully read: core/libs/prx/libc/CMakeLists.txt, core/libs/prx/libc/include/Api.hpp, core/libs/prx/libc/src/FileAndHeap.cpp, core/libs/prx/libc/src/RuntimeSupport.cpp, core/libs/prx/libkernel/CMakeLists.txt, core/libs/prx/libkernel/Pthread/include/Pthread.hpp, core/libs/prx/libkernel/Socket/include/SocketRuntime.hpp, core/libs/prx/libkernel/System/src/SignalSets.cpp, core/libs/prx/libkernel/System/src/Signals.cpp, all changed test files, and docs/dev/debt/changes/posix-read-cancellation.md. Other changes in the changed files were also not exhaustively read. Windows and Debian CTest results, header and convention audits, and overlap comparisons are reported by the author and were not run independently. MacOS, console, live-title, and performance behavior remain unverified for this review.

To get this to a good state

Nothing is required. Optional: complete the changed-line review and run the relevant checks on this head before requesting approval.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5999683937 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-5999683937). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T21:31:44Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this review; the author’s reported host test runs are not independently verified here. ## What I ran Reviewed head `44fde3b660ac816dace9ac0320f2002d23d5787d` from the prepared bundle using `repo_read.py` reader tools. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Prepared change bundle | passed | Diff and manifest inspected | | Targeted source review | passed | Descriptor, cancellation, stream, and socket paths inspected | | Build and tests | not run | Only author-reported results available | | Full changed-line review | not run | Several changed files remain unread | ## Findings ### Blocking None verified in the source ranges inspected. ### Non-blocking None. ## Not verified The changed lines in the following files were not fully read: `core/libs/prx/libc/CMakeLists.txt`, `core/libs/prx/libc/include/Api.hpp`, `core/libs/prx/libc/src/FileAndHeap.cpp`, `core/libs/prx/libc/src/RuntimeSupport.cpp`, `core/libs/prx/libkernel/CMakeLists.txt`, `core/libs/prx/libkernel/Pthread/include/Pthread.hpp`, `core/libs/prx/libkernel/Socket/include/SocketRuntime.hpp`, `core/libs/prx/libkernel/System/src/SignalSets.cpp`, `core/libs/prx/libkernel/System/src/Signals.cpp`, all changed test files, and `docs/dev/debt/changes/posix-read-cancellation.md`. Other changes in the changed files were also not exhaustively read. Windows and Debian CTest results, header and convention audits, and overlap comparisons are reported by the author and were not run independently. MacOS, console, live-title, and performance behavior remain unverified for this review. ## To get this to a good state Nothing is required. Optional: complete the changed-line review and run the relevant checks on this head before requesting approval.
MarcZX10 commented 2026-11-20 23:51:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T23:51:52Z.

Review: COMMENTED


Reviewed — comments

The change’s core read and receive paths look coherent in the inspected code, but this review did not read every changed line, so a formal approval is not justified.

What I ran

Reviewed head 7983704eeb68a4bf6dfd56396e7d3ea414be5ab9 against the prepared diff and repository source. I ran no build or tests; the reported CTest results are author supplied. The intended reader command could not be run through the available tools.

Results

Check Result Note
Prepared diff and description passed Inspected
Targeted source audit passed Core read and receive paths
Build and tests not run Author reports focused CTests passed
Full changed-line review not run 49 changed files; not all additions read

Findings

Blocking

None verified in the inspected code.

Non-blocking

  • No line-level defect is confirmed. The unreviewed changed lines limit confidence in a formal decision.

Not verified

I read the prepared description, commit list, manifest, diff excerpts, and targeted source for descriptor admission, I/O cancellation, large-file transfers, and socket receives. I did not read every added line in all 49 changed files; the complete changed-line set listed in the manifest remains unreviewed. Files excluded by rule were not enumerated because files.json was not available through the review reader. I did not run tests, CI, a build, or console and platform checks.

To get this to a good state

Nothing is required. Optional: complete review of the remaining changed lines before making a formal approval decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6000971789 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6000971789). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-20T23:51:52Z. **Review:** COMMENTED --- # Reviewed — comments The change’s core read and receive paths look coherent in the inspected code, but this review did not read every changed line, so a formal approval is not justified. ## What I ran Reviewed head `7983704eeb68a4bf6dfd56396e7d3ea414be5ab9` against the prepared diff and repository source. I ran no build or tests; the reported CTest results are author supplied. The intended reader command could not be run through the available tools. ## Results | Check | Result | Note | |---|---|---| | Prepared diff and description | passed | Inspected | | Targeted source audit | passed | Core read and receive paths | | Build and tests | not run | Author reports focused CTests passed | | Full changed-line review | not run | 49 changed files; not all additions read | ## Findings ### Blocking None verified in the inspected code. ### Non-blocking - No line-level defect is confirmed. The unreviewed changed lines limit confidence in a formal decision. ## Not verified I read the prepared description, commit list, manifest, diff excerpts, and targeted source for descriptor admission, I/O cancellation, large-file transfers, and socket receives. I did not read every added line in all 49 changed files; the complete changed-line set listed in the manifest remains unreviewed. Files excluded by rule were not enumerated because `files.json` was not available through the review reader. I did not run tests, CI, a build, or console and platform checks. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed lines before making a formal approval decision.
MarcZX10 commented 2026-11-21 02:30:44 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T02:30:44Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the points below are optional.

What I ran

Reviewed head 64e722f33e50a90827dfa1b198b760182630972d using the prepared description, commits, manifest, diff, and targeted source ranges through repo_read.py. No commands or tests were run here; the test results in the description are author-reported.

Results

Check Result Note
Source review passed Core read, cancellation, descriptor and socket paths inspected
Automated checks not run No local test execution
Author-reported CTests not run Windows 477/477; Debian 528/528 reported

Findings

Blocking

None.

Non-blocking

  • core/libs/prx/libc/src/DescriptorAccess.cpp:53-66: Get() performs its first lookup and later insertion in separate critical sections. If two callers encounter an expired weak entry, each can create a different state; a caller that loses the second lookup can return the winner, but its newly allocated state is destroyed while its custom deleter checks the shared map. The identity check avoids erasing the winner, but the duplicate allocation/deallocation path is harder to reason about under concurrency. Consider creating or replacing the entry atomically under the bucket lock, or document why this race is safe.

Not verified

No tests were run in this review, and no behavior was exercised on a host or console. The targeted source review covered descriptor-state management, POSIX read wrappers, native I/O interruption, cancellation delivery, Windows socket receive/shutdown, stream locking, and jump/context restoration. All changed files in the manifest are marked included; the prepared diff was inspected selectively, not read in full. files.json was not available through the reader.

To get this to a good state

Nothing is required. Optional: simplify or document the expired-entry concurrency path in GuestDescriptorAccess::Get().

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6002246371 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6002246371). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T02:30:44Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the points below are optional. ## What I ran Reviewed head `64e722f33e50a90827dfa1b198b760182630972d` using the prepared description, commits, manifest, diff, and targeted source ranges through `repo_read.py`. No commands or tests were run here; the test results in the description are author-reported. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | Core read, cancellation, descriptor and socket paths inspected | | Automated checks | not run | No local test execution | | Author-reported CTests | not run | Windows 477/477; Debian 528/528 reported | ## Findings ### Blocking None. ### Non-blocking - `core/libs/prx/libc/src/DescriptorAccess.cpp:53-66`: `Get()` performs its first lookup and later insertion in separate critical sections. If two callers encounter an expired weak entry, each can create a different state; a caller that loses the second lookup can return the winner, but its newly allocated state is destroyed while its custom deleter checks the shared map. The identity check avoids erasing the winner, but the duplicate allocation/deallocation path is harder to reason about under concurrency. Consider creating or replacing the entry atomically under the bucket lock, or document why this race is safe. ## Not verified No tests were run in this review, and no behavior was exercised on a host or console. The targeted source review covered descriptor-state management, POSIX read wrappers, native I/O interruption, cancellation delivery, Windows socket receive/shutdown, stream locking, and jump/context restoration. All changed files in the manifest are marked included; the prepared diff was inspected selectively, not read in full. `files.json` was not available through the reader. ## To get this to a good state Nothing is required. Optional: simplify or document the expired-entry concurrency path in `GuestDescriptorAccess::Get()`.
MarcZX10 commented 2026-11-21 04:29:07 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T04:29:07Z.

Review: COMMENTED


Reviewed — comments

This review covers the prepared diff at head e3c4edcd7a254b916d0b8be8521cc58079e3ccbc; the pinned repository sources and all changed-file texts could not be read through the available reader, so a formal approval is not supported.

What I ran

No commands were run. I read the prepared description, commit list, manifest, diff, and files exclusion listing. The reader interface exposed document and repository read tools, but not the requested repo_read.py command interface or a populated review/files directory.

Results

Check Result Note
Prepared diff review passed 45 changed paths listed
Changed file text review not run No full-text files were available
Tests and build not run No execution interface available

Findings

Blocking

None confirmed from the available evidence.

Non-blocking

  • The description reports focused Windows and Debian tests on this head, while CI and the maintainer bench remain pending. These are author-reported results, not checks performed for this review.
  • Several implementation areas are substantial, including descriptor admission, cancellation and signal delivery, and Windows socket shutdown. Their behavior could not be validated without reading the source files.

Not verified

The reviewed manifest marks all 45 changed files as included, but none of their full texts were available in review/files; no changed file was read from the pinned repository. No tests, builds, CI, or console behavior were independently verified. The description states macOS, console, live titles, GPU, and performance remain untested for this update.

To get this to a good state

Nothing is required. The optional points above need source and CI review before a formal approval is justified.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6002824112 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6002824112). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T04:29:07Z. **Review:** COMMENTED --- # Reviewed — comments This review covers the prepared diff at head `e3c4edcd7a254b916d0b8be8521cc58079e3ccbc`; the pinned repository sources and all changed-file texts could not be read through the available reader, so a formal approval is not supported. ## What I ran No commands were run. I read the prepared description, commit list, manifest, diff, and files exclusion listing. The reader interface exposed document and repository read tools, but not the requested `repo_read.py` command interface or a populated `review/files` directory. ## Results | Check | Result | Note | |---|---|---| | Prepared diff review | passed | 45 changed paths listed | | Changed file text review | not run | No full-text files were available | | Tests and build | not run | No execution interface available | ## Findings ### Blocking None confirmed from the available evidence. ### Non-blocking - The description reports focused Windows and Debian tests on this head, while CI and the maintainer bench remain pending. These are author-reported results, not checks performed for this review. - Several implementation areas are substantial, including descriptor admission, cancellation and signal delivery, and Windows socket shutdown. Their behavior could not be validated without reading the source files. ## Not verified The reviewed manifest marks all 45 changed files as included, but none of their full texts were available in `review/files`; no changed file was read from the pinned repository. No tests, builds, CI, or console behavior were independently verified. The description states macOS, console, live titles, GPU, and performance remain untested for this update. ## To get this to a good state Nothing is required. The optional points above need source and CI review before a formal approval is justified.
MarcZX10 commented 2026-11-21 13:37:24 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-21T13:37:24Z.

Review: COMMENTED


Reviewed — comments

The review is incomplete because only selected implementation files and portions of the diff were inspected; no blocking defect is verified.

What I ran

  • Reviewed head 7887e7a03da0e8aeed2557f4ba43a6aa777494b9 using the prepared review bundle and repo_read.py reader tools.
  • No tests or build commands were run.

Results

Check Result Note
Prepared diff review not run Partial inspection only
Build and tests not run No local execution

Findings

Blocking

None verified in the inspected portions.

Non-blocking

None recorded; coverage was insufficient for a complete review.

Not verified

The changed-file list contains 53 files, all marked included in the manifest. I read the description, commits, the beginning of the manifest and diff, and selected ranges from core/libs/prx/libc/src/DescriptorAccess.cpp, core/libs/prx/libkernel/Pthread/src/IoSignals.cpp, core/libs/prx/libkernel/Pthread/src/NativeIo.cpp, core/libs/prx/libkernel/Pthread/include/Cancel.hpp, core/libs/prx/libkernel/File/src/Stdio.cpp, and core/libs/prx/libkernel/Socket/src/Udp.cpp. I did not read every changed file or the full diff. No tests were run, and the author-reported test results were not independently verified.

To get this to a good state

Nothing is required. Optional: complete review of the remaining changed files and run the focused checks on this head before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6005552614 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6005552614). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-21T13:37:24Z. **Review:** COMMENTED --- # Reviewed — comments The review is incomplete because only selected implementation files and portions of the diff were inspected; no blocking defect is verified. ## What I ran - Reviewed head `7887e7a03da0e8aeed2557f4ba43a6aa777494b9` using the prepared review bundle and `repo_read.py` reader tools. - No tests or build commands were run. ## Results | Check | Result | Note | |---|---|---| | Prepared diff review | not run | Partial inspection only | | Build and tests | not run | No local execution | ## Findings ### Blocking None verified in the inspected portions. ### Non-blocking None recorded; coverage was insufficient for a complete review. ## Not verified The changed-file list contains 53 files, all marked included in the manifest. I read the description, commits, the beginning of the manifest and diff, and selected ranges from `core/libs/prx/libc/src/DescriptorAccess.cpp`, `core/libs/prx/libkernel/Pthread/src/IoSignals.cpp`, `core/libs/prx/libkernel/Pthread/src/NativeIo.cpp`, `core/libs/prx/libkernel/Pthread/include/Cancel.hpp`, `core/libs/prx/libkernel/File/src/Stdio.cpp`, and `core/libs/prx/libkernel/Socket/src/Udp.cpp`. I did not read every changed file or the full diff. No tests were run, and the author-reported test results were not independently verified. ## To get this to a good state Nothing is required. Optional: complete review of the remaining changed files and run the focused checks on this head before making a formal decision.
MarcZX10 commented 2026-11-25 05:34:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-25T05:34:17Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this review; I did not verify enough of the changed files to recommend approval.

What I ran

I inspected prepared diff 929529056fe8339d6f908975ca896a455386506d using repo_read.py. No build or tests were run.

Results

Check Result Note
Source review not run Partial review only
Build and tests not run Author reports focused tests passed

Findings

Blocking

None verified in the inspected code.

Non-blocking

None.

Not verified

Read: review/description.md, review/manifest.json, review/diff.patch (selected ranges), core/libs/prx/libc/src/DescriptorAccess.cpp, core/libs/prx/libkernel/Socket/src/Udp.cpp (selected ranges), core/libs/prx/libkernel/File/src/Stdio.cpp (selected range), core/libs/prx/libkernel/Pthread/src/NativeIo.cpp, core/libs/prx/libkernel/System/src/UserContext.cpp, and selected ranges of core/libs/prx/libkernel/File/src/DescriptorControl.cpp, core/libs/prx/libkernel/File/src/Open.cpp, core/libs/prx/libc/src/JumpBuffer.cpp, core/libs/prx/libc/include/HostThreadLocal.hpp, core/libs/prx/libc/include/JumpBuffer.hpp, and core/libs/tests/GuestIoDescriptorAccess.cpp. review/commits.md was not read. The manifest has 46 changed files, all marked included; only a subset were inspected. Remaining changed files and test coverage were not verified.

To get this to a good state

Complete review of every changed file before making a formal decision.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6052349392 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6052349392). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-25T05:34:17Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this review; I did not verify enough of the changed files to recommend approval. ## What I ran I inspected prepared diff `929529056fe8339d6f908975ca896a455386506d` using `repo_read.py`. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Source review | not run | Partial review only | | Build and tests | not run | Author reports focused tests passed | ## Findings ### Blocking None verified in the inspected code. ### Non-blocking None. ## Not verified Read: `review/description.md`, `review/manifest.json`, `review/diff.patch` (selected ranges), `core/libs/prx/libc/src/DescriptorAccess.cpp`, `core/libs/prx/libkernel/Socket/src/Udp.cpp` (selected ranges), `core/libs/prx/libkernel/File/src/Stdio.cpp` (selected range), `core/libs/prx/libkernel/Pthread/src/NativeIo.cpp`, `core/libs/prx/libkernel/System/src/UserContext.cpp`, and selected ranges of `core/libs/prx/libkernel/File/src/DescriptorControl.cpp`, `core/libs/prx/libkernel/File/src/Open.cpp`, `core/libs/prx/libc/src/JumpBuffer.cpp`, `core/libs/prx/libc/include/HostThreadLocal.hpp`, `core/libs/prx/libc/include/JumpBuffer.hpp`, and `core/libs/tests/GuestIoDescriptorAccess.cpp`. `review/commits.md` was not read. The manifest has 46 changed files, all marked included; only a subset were inspected. Remaining changed files and test coverage were not verified. ## To get this to a good state Complete review of every changed file before making a formal decision.
ligmaSec commented 2026-12-03 22:56:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T22:56:27Z.

Review: COMMENTED


The trial merge conflicts in the descriptor, stdio and socket runtime. The operation ownership boundary deserves a regression with two blocked readers on the same underlying descriptor, so interrupting one reader demonstrates that the other reader can still receive data. For SOCK_SEQPACKET, please retain coverage that drains an already queued record before the peer-shutdown read reports EOF. Please put the new debt entry in a fragment.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6180100865 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/12682#pullrequestreview-6180100865). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T22:56:27Z. **Review:** COMMENTED --- The trial merge conflicts in the descriptor, stdio and socket runtime. The operation ownership boundary deserves a regression with two blocked readers on the same underlying descriptor, so interrupting one reader demonstrates that the other reader can still receive data. For `SOCK_SEQPACKET`, please retain coverage that drains an already queued record before the peer-shutdown read reports EOF. Please put the new debt entry in a fragment. AI-assisted: yes.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/12682:upstream-pr/12682'
git switch 'upstream-pr/12682'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/12682'
git switch 'upstream-pr/12682'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/12682'
git switch 'upstream-pr/12682'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/12682'
git switch 'main'
git merge --squash 'upstream-pr/12682'
git switch 'main'
git merge --ff-only 'upstream-pr/12682'
git switch 'main'
git merge 'upstream-pr/12682'
git push origin 'main'
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!12682
No description provided.