Skip to content

feat(libSceNKWebKit): implement default request timeout API - #17868

Merged
oneandonlydean merged 3 commits into
boykopovar:mainfrom
alvaroelpob:feat/nkwebkit-urlrequest-default-timeout
Nov 16, 2026
Merged

oneandonlydean merged 3 commits into
boykopovar:mainfrom
alvaroelpob:feat/nkwebkit-urlrequest-default-timeout

Conversation

@alvaroelpob

@alvaroelpob alvaroelpob commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

What

Implement WKURLRequestSetDefaultTimeoutInterval using the existing WebCore default timeout state, following the pinned PS5 WebKit APIURLRequest source.

Tested

Linux: suite.py feat/nkwebkit-urlrequest-default-timeout at 0dad8c8: CTest 5716/5722 passed; conventions passed. Failing on main too: agc_driver_global_atomic_csub, agc_driver_stencil_copy_draw, agc_driver_coherent_atomic_loads_enabled, agc_driver_recorder, agc_draw_input_mirrors, agc_draw_input_reuse.

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
  • 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

@JJenkx

JJenkx commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Windows check of head 0f4f8d9bcb, merged onto main 4a467be387 (93b56afd54, clean merge).

Setup: Windows 11 Enterprise 22621, WinLibs GCC 15.2 UCRT, Release. The hosted Windows check does not run these tests on pull requests.

  • nkwebkit_resourcerequest passes in 3 of 3 runs, none skipped.

AI-assisted: yes.

@alvaroelpob
alvaroelpob marked this pull request as ready for review November 9, 2026 20:06
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Progress report (d3206ad → 0dad8c8)

📈 System libraries: 41.62% (+0.01%, +1 implemented function)

✅ 1 implemented
Library Name
libSceNKWebKit WKURLRequestSetDefaultTimeoutInterval

Changed libraries (implemented exports)

Library Before After Change
libSceNKWebKit 3174/11261 (28.19%) 3175/11261 (28.19%) +0.01%

@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 13515 core/libs/prx/libSceNKWebKit/Export.cpp
PR 14138 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 14164 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 14259 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 14478 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 14860 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 15184 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 16066 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 16510 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 17695 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 17925 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 19105 core/libs/prx/libSceNKWebKit/Export.cpp
PR 20327 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 20375 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
PR 21183 core/libs/prx/libSceNKWebKit/Export.cpp
core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp

@alvaroelpob

Copy link
Copy Markdown
Contributor Author

Rebased onto main.

  • bac5c0f: restored main's ResourceRequestBase entry. WKURLRequestSetDefaultTimeoutInterval gets its own entry citing WKURLRequest.cpp:66-69 and APIURLRequest.cpp:46-52, and its inventory row is removed.

@github-actions github-actions Bot added needs rebase Conflicts with main, rebase needed and removed needs rebase Conflicts with main, rebase needed labels Nov 11, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

The code, test and count line (5943 to 5942) look right. One docs problem: docs/dev/debt/libSceNKWebKit.md now has two WebCore::ResourceRequestBase entries, the new one you added (33 exports, HTTPHeaderMap layout) and main's older one (19 exports, setHTTPReferrer limit, "Closes when") right below it. Please keep one entry that covers both texts and keeps the "Closes when" line, and drop the other.

@ycbuzi

ycbuzi commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Tested 7f6b9db4c0 merged into main, with the whole ctest suite on each machine below. Nothing fails that does not also fail on main on the same machine.

  • Windows Server 2022 (GitHub-hosted runner), full build, WinLibs GCC 15.2.0: 99% tests passed, 2 tests failed out of 5627; 99% tests passed, 2 tests failed out of 5627. 2 of the failing tests fail on main too. run
  • Windows Server 2025 (GitHub-hosted runner), full build, WinLibs GCC 15.2.0: 100% tests passed, 0 tests failed out of 5627; 100% tests passed, 0 tests failed out of 5627. run

AI-assisted: yes (Claude Code); the runs are automated, this summary was written from their reports.

@alvaroelpob
alvaroelpob force-pushed the feat/nkwebkit-urlrequest-default-timeout branch from 7f6b9db to 0dad8c8 Compare November 16, 2026 15:57
@alvaroelpob

Copy link
Copy Markdown
Contributor Author

Rebased on main and rebuilt from this PR's own commits (10727fa, d1a897e). The docs are now the fragment feat-nkwebkit-urlrequest-default-timeout.md (0dad8c8): it drops the stale "remains unimplemented" sentence from the WebKit URLRequest API entry, adds the function's own entry and removes its inventory row. The count line no longer exists on main.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 16, 2026
@oneandonlydean
oneandonlydean merged commit 80debbc into boykopovar:main Nov 16, 2026
14 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants