fix(prx): report four exports that always throw as not implemented #10984
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10984"
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 EagleBearerYS on 2026-10-25T12:24:11Z.
What
Four exports threw a bare
std::logic_erroron every valid call, sotools/progress.pycounted them as implemented:sceNpEntitlementAccessAbortRequestandsceNpEntitlementAccessDeleteRequest: the library keeps no request table.sceContentDeleteByPathandsceContentDeleteById: after initialization, the console's error for content that isn't in the library is unknown.No source gives their behaviour (searched: shadPS4, Orbital, KytyPS5, SharpProspero, SharpEmu, fpPS4, REmu). So they now go through
NotImplemented_nid_no_patch, which counts them as todo: 6,070 → 6,066 of 12,293.This changes no behaviour a valid call sees, beyond the exception text. ContentDelete's NOT_INITIALIZED (
0x809D5002) and argument errors are unchanged. The abort/delete check moves fromguest_offline_importsto the library's ownguest_entitlementstest, and both debt entries name the missing piece.Tested
guest_entitlements,guest_entitlements_missing,guest_offline_importsandguest_content_deletepass 10 of 10 on Linux and on Windows, 0 skipped. With this PR's tests and main'sExport.cppfiles, they fail.ctestas an unprivileged user: 2,219 tests, 2,124 passed, 90 skipped and 5 failed. The five need IPv6, which that machine lacks:guest_net_buffer_validation,guest_socket_options,guest_socket_stream_options,guest_socket_address_lengthandguest_tcp.8ed27932f2, following the rule that tests don't require a placeholder to throw (run). The tests no longer require the exact<name> not implementedtext fromsceContentDeleteByPath,sceContentDeleteById(two IDs),sceNpEntitlementAccessAbortRequestandsceNpEntitlementAccessDeleteRequest, since such a check fails once the call is implemented. The helper and catch those checks used go too. The calls still throw, as the debt entries say, and the argument checks stay.guest_content_delete,guest_entitlements,guest_entitlements_missingandguest_offline_importspass 10 runs in a row. Linux: 4 run, 4 pass, 0 skip, 0 fail. Windows: 4 run, 4 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (144 and 207). On Windows libc passes (171), and libkernel has 1 failure of 223:guest_raise_in_system_calltimed out at 30 s, as it did on both arms of an unrelated run today. The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)core/libs/tests/GuestOfflineImports.cpp, and #9834 is a draft waiting on #9630 and a native x86-64 run), asked of its author, waiting for their replyImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T12:33:11Z.
Review: APPROVED
Reviewed exact head
eacd1ad6109945bef507e5446e9f26dceab374fc. The four paths now use the repository's standard unimplemented-path signal, while the existing initialization and argument checks stay ahead of it. The tests move request abort/delete coverage to the entitlement test and assert the new error type and message. I found no blocking issue.I independently ran
check_conventions.py,git diff --check, and C++20 syntax checks for both exports and the affected tests; all passed. The hosted product build jobs are skipped for this PR. I did not run CTest locally; the Linux suite results and five IPv6-dependent failures in the PR description are author-reported.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T13:06:17Z.
Review: DISMISSED
One repository-rule item needs follow-up before this PR is ready: the current overlap report identifies open PR #9834 on
GuestOfflineImports.cpp. I checked both current heads, and a three-way merge of them reports a content conflict in that file. #9834 changes the nearbysceHttpSendRequestexpectation; this PR removes the abort/delete assertions from the same test file and relocates them toGuestEntitlements.cpp. They cover different behavior, but the branches still conflict.Please agree with #9834's author which PR should merge first, then record that order in this PR's
Depends onchecklist line and rebase/resolve the test-file conflict as needed. I found no duplicate implementation in these changes; this request is only to make the required sequencing explicit and keep both test changes mergeable.