feat(npwebapi2): implement sceNpWebApi2SetRequestTimeout #1950
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1950"
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 abhishekwebdevv on 2026-10-09T01:47:35Z.
What
sceNpWebApi2SetRequestTimeout(int64_t request_id,uint32_t timeout), replacing the untyped stub. In the offline PSN web API mode it returnsSCE_NP_WEBAPI2_ERROR_INVALID_ARGUMENT(0x80553402) whenrequest_id <= 0, and accepts the timeout with success for positive request ids, matchingsceNpWebApi2AbortRequestandsceNpWebApi2DeleteRequest.NpWebApi2from the PPSA14632 "declared without parameters" entry in TechnicalDebt; libSceNpWebApi2 is now 25/25 (100%).guest_npwebapi2(tests/GuestNpWebApi2.cpp, registered incore/libs/CMakeLists.txt) covering request creation, timeouts for a valid id (0) and invalid ids 0 and -1 (0x80553402), and request deletion.Tested
tools/check_conventions.py --base upstream/mainpasses;tools/progress.pyreports libSceNpWebApi2 25/25 (100%); the new test compiled together withcore/libs/prx/libSceNpWebApi2/Export.cppand ran to completion with all assertions passing locally.cmake --build build --target libs --parallel,ctest).Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-09T02:01:30Z.
Reviewed the full diff against current
main. The API signature and offline behavior are consistent with the existing module model, and the added guest test exercises both a created request and invalid IDs. I configured a clean Linux worktree, builtguest_npwebapi2_tests, and ranctest -R ^guest_npwebapi2$(1/1 passed); the Conventions check andgit diff --checkalso pass. I found no source issue in this diff. The upstream Build, Conventions, and Progress workflows are currentlyaction_required, so the required CI evidence is still missing; an authorized maintainer needs to approve those runs before this PR is ready for approval.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-09T08:53:20Z.
Closing: same as #1527 and #1207, no title is shown calling
sceNpWebApi2SetRequestTimeouton main.Imported from boykopovar/AnyPS5. Originally posted by popcoder565 on 2026-10-09T10:25:54Z.
First local Windows run. Setup: Windows 10 (19045), MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Merged onto
main745b775etogether with #1926, #1950, #1260 and #1988. Full ctest: 507/507.guest_npwebapi2passes.🤖 Addressed by Claude Code
Imported from boykopovar/AnyPS5. Originally posted by abhishekwebdevv on 2026-10-10T16:48:05Z.
Understood the closure — if no title calls
sceNpWebApi2SetRequestTimeouton main, the scope concern is fair, and I won't argue it.Since PR intake is now limited to authors with at least 10 merged PRs, I can't open a follow-up PR yet. In case it's useful before then, I have a branch based on current
mainthat types and implements the remaining PPSA14632-imported libSceWebBrowserDialog exports (sceWebBrowserDialogSetCookie,sceWebBrowserDialogOpenForPredeterminedContent,sceWebBrowserDialogResetCookie) — mirroring the siblingsceWebBrowserDialogOpenbehavior, extendingguest_web_browser_dialog, and dropping WebBrowserDialog from the PPSA14632 bullet in TechnicalDebt. Validated locally (conventions pass) and on Windows (WinLibs GCC 15.2.0, Windows 11 25H2): full suite 709/709 passed, including the extendedguest_web_browser_dialog.Branch: https://github.com/abhishekwebdevv/AnyPS5/tree/feat/webbrowserdialog-ppsa14632-exports (single commit
8f31109c).No action expected — happy to hold until intake reopens, or send it in whatever form you prefer.
Pull request closed