feat(libSceNpWebApi2): implement push event abort handles #4188
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4188"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T00:56:33Z.
What
Carries the ready implementation from screamm’s
feat/npwebapi2-push-event-abortbranch, preserving the original commit author. Tracks push-event handles per library context, marks a handle aborted, returnsABORTEDwhen creating a filter on an aborted handle, validates/deletes handles, and removes a context’s handles on termination. This replaces the existing throwingsceNpWebApi2PushEventAbortHandleexport.The signature, error values, and behavior are based on shadPS4’s PS4 implementation. Their PS5 accuracy is unverified; this limitation and the unmodelled timeouts are documented in TechnicalDebt. PR #3399 only added the export as a throwing stub. This does not overlap #4178’s trace-tag export.
Tested
BUILD_TESTING=ON, andANYPS5_ENABLE_SPIRV_TOOLS=ONcompleted.guest_np_web_api2_testswith Ninja (117/117 steps).ctest --test-dir /tmp/AnyPS5-4174-build -R '^guest_np_web_api2$' --output-on-failure --timeout 60passed (1/1).python3 tools/check_conventions.py --base upstream/main --head HEADpassed.git diff --checkpassed.Checklist
main; no other open PR implements the same functionNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-12T00:56:56Z.
Progress report (
1acfa7f→6aa5280)📈 System libraries: 86.39% (+0.03%, +1 implemented functions)
✅ 1 implemented
sceNpWebApi2PushEventAbortHandleImported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-12T15:44:40Z.
Rebase handoff — rebased onto current
main, authorship unchanged.One
TechnicalDebt.mdconflict: main had added three stub entries where this PR removes thesceNpWebApi2PushEventAbortHandleone it implements — kept main's other two entries (sceNpAuthGetAuthorizedAppCode,sceSaveDataUnknown_RvID8BVeg), dropped the implemented stub's entry.Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON, AMD RX 9070 XT / RADV):tools/check_conventions.py --base origin/mainpassesTo pick it up:
Head is
c77726cd0.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-12T19:43:41Z.
Thanks for preparing the rebase and running the full Linux suite. I see the handoff at
c77726cd0with authorship preserved and 957/957 tests passing. The PR still points to6aa5280, so I have not adopted that handoff yet; I will verify the branch and its diff before updating the PR.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T20:40:47Z.
Windows test of head
6aa5280bfmerged onto currentmain(fa0cc752a, clean merge; built together with four other open PRs, so the run is for the combination): Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release, full build 0 errors,-j2.guest_np_web_api2(the test this PR changes) passes. The seven tests of the five PRs (guest_coredump_user_data,guest_np_web_api2,guest_execvp,guest_math,guest_wide_conversion,guest_wide_strings,guest_character) all pass.Not checked: that the test fails without the change, Linux, a title run.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T01:37:57Z.
Closing, as #4375 (the same commit): no title is seen calling
sceNpWebApi2PushEventAbortHandle(#4174), and it also changes whatCreateHandle,DeleteHandleandCreateFilterreturn for every title, from PS4 codes. Reopen with the log line where a title stops at it on main, without the removal ofdocs/dev/debt/libSceNpAuth.mdand thesceSaveDataUnknown_RvID8BVegentry.Pull request closed