feat(libSceNpCppWebApi): fail the InGameCatalog and TitleCloudStorage transactions signed out #10832
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10832"
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-25T03:33:27Z.
What
Gives five libSceNpCppWebApi request entry points the library's offline answer instead of throwing:
TransactionBase<…>::startandTransaction<…>::getResponseof the InGameCatalog::V5Vector<IntrusivePtr<Container>>transaction;GetMultiDataStatusesResponseBodytransaction;TitleCloudStorage::V1::DataApi::getMultiDataStatusesByUser.Each returns
SCE_NP_WEBAPI_ERROR_NOT_SIGNED_INand leaves the response untouched, as every otherstart,getResponseand API call in the library already does (DataApi::downloadDataandContainerApi::getContaineramong them). The debt entry for the #8143 stubs now names them.The eight
IntrusivePtrdestructors of the same types are left alone. Their only throwing path is the last release of a pointer without a deleter, which the existingIntrusivePtrdebt entry covers: it needs the object's destructor and theLibContextallocator.Related: #9015 and #9612 edit the same
Export.cpp; this merges cleanly with both.Tested
guest_np_cpp_web_api_signed_outpasses 10 of 10 on Linux and on Windows, 0 skipped, and fails with main's implementation. The libc and libkernel suites pass on both.No title tested.
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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T03:36:48Z.
Review: COMMENTED
I reviewed the exact head
da301dc4e7730997ccfe4133f97fd4ca2bad5f08, including the five offline error returns, the test that checksgetResponseleaves its output untouched, and the debt update. The return behavior matches the neighboring offline request entry points, and the diff stays within the three claimed functions plus focused coverage. I did not find a blocking code issue.The PR description reports Linux and Windows red/green runs, but the linked Actions run
40154538998currently returns 404, and the checks attached to this exact head show the product Linux/Windows jobs skipped (policy checks pass). Could you provide an accessible test-run link or rerun the focused test on this head? I have not independently run the product test locally.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T04:08:29Z.
Review: CHANGES_REQUESTED
Correction: my earlier blocking comment misread the mangled symbol as a three-parameter C++ prototype. In this library, NID-discovered C++ exports are declared using their literal mangled names with empty parameter lists, including neighboring API entry points such as getContainer and getFriends. The implementation ignores all incoming registers and returns the signed-out error without accessing or mutating the response, so the zero-argument local call is consistent with the existing export/test pattern and I have not established an ABI defect. The separate concern about hosted run link visibility remains only a reporting limitation, not a code blocker; product jobs on this head are skipped by policy.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T04:28:41Z.
Review: APPROVED
Reviewed exact head
da301dc4e7and corrected my earlier ABI concern: the literal mangled symbol is declared with an empty C++ parameter list, matching neighboring NID-discovered exports such as getContainer and getFriends. This implementation does not read arguments or touch the response object; it returns the same signed-out result used by adjacent request entry points. The focused regression covers all five entry points and sentinel-preservation for transaction response objects; the direct API call is consistent with the repository pattern. Local diff-check and conventions pass. Hosted eligibility, intake, conventions and labels pass; product Linux/Windows jobs are skipped. The linked older hosted test run is not accessible to me, so those red/green results remain author-reported rather than independently verified.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-25T04:58:37Z.
Review: APPROVED
Reviewed head
da301dc4e7730997ccfe4133f97fd4ca2bad5f08. The five new request-entry paths consistently returnSCE_NP_WEBAPI_ERROR_NOT_SIGNED_IN; the transaction response test verifies its buffer remains unchanged. The linked successful Linux/Windows verification run used the immediate parent of this head, and I confirmed the production, test, and debt files are identical between that tested commit and this PR head (the difference is only temporary verification workflow scaffolding).git diff --checkis clean. No blocking issue found.Pull request closed