feat(libSceNKWebKit): implement WKProtectionSpace getters #15151

Merged
nicolasabosch merged 7 commits from upstream-pr/15151 into main 2026-11-07 02:31:30 +00:00
nicolasabosch commented 2026-11-02 18:46:16 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by nicolasabosch on 2026-11-02T18:46:16Z.


What

Implements WKProtectionSpaceCopyHost, WKProtectionSpaceCopyRealm, WKProtectionSpaceGetPort, WKProtectionSpaceGetIsProxy, WKProtectionSpaceGetServerType, WKProtectionSpaceGetReceivesCredentialSecurely and WKProtectionSpaceGetAuthenticationScheme in libSceNKWebKit, following the pinned WKProtectionSpace.cpp, ProtectionSpaceBase.cpp and the enum casts in WKAPICast.h. The ProtectionSpace host object holds the host, realm, port, server type and authentication scheme; a null or wrong-type reference throws as for the other WK* objects.

WKProtectionSpaceCopyCertificateInfo is not in the pinned WKProtectionSpace.cpp, so it stays a throwing stub in the technical debt table.

The 7437 total on line 34 of docs/dev/debt/libSceNKWebKit.md becomes 7430. The other open libSceNKWebKit PRs that edit the same line, #14860, #14865, #14925 and #14999, land after this one and rebase their count on top; there is no landing dependency here.

Tested

Windows, MinGW GCC Release build of nkwebkit_base_tests: passes, including a new test of all eight server types, all nine schemes, unknown and out-of-range values, an empty object, and null and wrong-type references. python tools/check_conventions.py --base upstream/main passes. public_headers hit its 90 s timeout on this machine and was not run on main, so it is unconfirmed. No title was run.

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5125601283 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15151). Originally posted by [nicolasabosch](https://github.com/nicolasabosch) on 2026-11-02T18:46:16Z. --- ### What Implements `WKProtectionSpaceCopyHost`, `WKProtectionSpaceCopyRealm`, `WKProtectionSpaceGetPort`, `WKProtectionSpaceGetIsProxy`, `WKProtectionSpaceGetServerType`, `WKProtectionSpaceGetReceivesCredentialSecurely` and `WKProtectionSpaceGetAuthenticationScheme` in `libSceNKWebKit`, following the pinned [WKProtectionSpace.cpp](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKProtectionSpace.cpp), [ProtectionSpaceBase.cpp](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebCore/platform/network/ProtectionSpaceBase.cpp) and the enum casts in [WKAPICast.h](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKAPICast.h). The `ProtectionSpace` host object holds the host, realm, port, server type and authentication scheme; a null or wrong-type reference throws as for the other `WK*` objects. `WKProtectionSpaceCopyCertificateInfo` is not in the pinned `WKProtectionSpace.cpp`, so it stays a throwing stub in the technical debt table. The `7437` total on line 34 of `docs/dev/debt/libSceNKWebKit.md` becomes `7430`. The other open `libSceNKWebKit` PRs that edit the same line, #14860, #14865, #14925 and #14999, land after this one and rebase their count on top; there is no landing dependency here. ### Tested Windows, MinGW GCC Release build of `nkwebkit_base_tests`: passes, including a new test of all eight server types, all nine schemes, unknown and out-of-range values, an empty object, and null and wrong-type references. `python tools/check_conventions.py --base upstream/main` passes. `public_headers` hit its 90 s timeout on this machine and was not run on `main`, so it is unconfirmed. No title was run. ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-02 19:23:38 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T19:23:38Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The getter implementations match the pinned WebKit behavior, but four open PRs have confirmed merge conflicts and no landing order is recorded.

What I ran

Reviewed all seven changed files at head 054e4b828386f49071b46b13244005dbd14c5e61, against base/current main a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8. This head merges cleanly against current main. Environment: Debian 12, Linux 6.1.0-54-amd64, Python 3.11.2, Git 2.39.5; no local build or compiler was used.

git diff --check a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8...054e4b828386f49071b46b13244005dbd14c5e61
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 --output-dir /tmp/review-15151-20261102
python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 --head 054e4b828386f49071b46b13244005dbd14c5e61 --json
python3 tools/pr_overlap.py --branch refs/review/15151/current --repo boykopovar/AnyPS5
git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14925
git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14999
git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14865
git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14860
git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14925
git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14999
git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14865
git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14860
gh run view 41503704965 --repo boykopovar/AnyPS5 --job 125483212244 --log | grep -E 'nkwebkit_base|Test #[0-9]+: nkwebkit_base|tests passed'
gh pr checks 15151 --repo boykopovar/AnyPS5

The precheck's ABI and test-quality helpers were absent from its isolated snapshot. I ran the ABI audit separately. I confirmed test registration by inspecting the source/test globs in CMake. The overlap helper could not parse the live PR data; the pairwise merge previews below exposed the conflicts directly.

Results

Check Result Note
Diff and conventions passed No whitespace errors; conventions/template passed.
Export audit passed 10,252 symbols scanned; no findings.
Source behavior comparison passed Getter and enum behavior match pinned WebKit code.
Test registration passed CMake globs the new source and test file.
Hosted Windows tests passed nkwebkit_base passed; 2,966/2,966 tests passed.
Individual main previews passed #15151 and each compared PR preview cleanly against current main.
Pairwise integration previews failed Conflicts with #14925/#14999 in the debt entry and #14860/#14865 in Types.hpp.
Overlap helper failed Parser stopped on malformed JSON; manual pairwise previews were run.
Local build, CTest and negative control not run No local build was performed.
Other hosted platforms not run Linux and specialized jobs were skipped by CI.
Precheck, overlap and hosted output
$ python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 --output-dir /tmp/review-15151-20261102
/tmp/review-15151-20261102/report.md
/tmp/review-15151-20261102/report.json
Conclusion: checks failed

Precheck check table:

Check Status Command / reason
build_and_compile not_applicable The precheck deliberately does not configure, build, or compile AnyPS5.
diff_check passed git diff --check a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8...054e4b828386f49071b46b13244005dbd14c5e61
conventions_and_pr_template passed /usr/bin/python3 tools/check_conventions.py --base a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 --head 054e4b828386f49071b46b13244005dbd14c5e61 --title feat(libSceNKWebKit): implement WKProtectionSpace getters --body /tmp/review-15151-20261102/pr-body.md
changed_export_abi_audit failed /usr/bin/python3 tools/pr_abi_audit.py --base a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 --head 054e4b828386f49071b46b13244005dbd14c5e61 --json
python_syntax not_applicable No changed Python implementation files.
related_python_unit_tests not_applicable No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.
python_test_registration not_applicable No changed test_*.py files.
live_dependency_and_mergeability_check passed /usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 15151 --repo boykopovar/AnyPS5 --output-dir /tmp/review-15151-20261102/stack
build_dependent_cpp_tests not_applicable Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.
test_quality_heuristics failed /usr/bin/python3 /tmp/review-15151-20261102/head-054e4b828386-6e641033/tools/pr_test_quality.py --root /tmp/review-15151-20261102/head-054e4b828386-6e641033 --json core/libs/prx/libSceNKWebKit/Export.cpp core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp core/libs/prx/libSceNKWebKit/src/ProtectionSpace.cpp core/libs/prx/libSceNKWebKit/src/Types.hpp core/libs/prx/libSceNKWebKit/tests/Base.cpp docs/dev/debt/libSceNKWebKit.md
negative_controls not_applicable No changed Python test module in tools/ can be run as a no-build base-source control.

ABI audit result excerpt:

{
  "status": "passed",
  "findings": [],
  "limitations": [
    "This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation."
  ]
}

Overlap helper output:

pr_overlap: Invalid \uXXXX escape: line 1 column 676099 (char 676098)

Pairwise merge preview excerpts:

#15151 with #14925: exit 1
CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md

#15151 with #14999: exit 1
CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md

#15151 with #14865: exit 1
CONFLICT (content): Merge conflict in core/libs/prx/libSceNKWebKit/src/Types.hpp

#15151 with #14860: exit 1
CONFLICT (content): Merge conflict in core/libs/prx/libSceNKWebKit/src/Types.hpp

Each of the four PRs independently previewed cleanly against a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8.

Hosted Windows log excerpts:

2026-11-02T19:07:50.1103216Z nkwebkit_base_tests
2026-11-02T19:12:32.8052716Z           Start 2720: nkwebkit_base
2026-11-02T19:12:32.8249262Z 2224/2966 Test #2720: nkwebkit_base ....................................................................................   Passed    0.02 sec
2026-11-02T19:13:47.3750457Z 100% tests passed, 0 tests failed out of 2966

Final hosted status from gh pr checks:

edge-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215572
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215537
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483214851
relinker	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215194
relinker-asan	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483214624
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215856
conventions	pass	29s	https://github.com/boykopovar/AnyPS5/actions/runs/41503704501/job/125477429304
eligibility	pass	5s	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125477428414
intake	pass	23s	https://github.com/boykopovar/AnyPS5/actions/runs/41503703806/job/125477430202
labels	pass	11s	https://github.com/boykopovar/AnyPS5/actions/runs/41503703795/job/125477427250
library-portability	pass	2m6s	https://github.com/boykopovar/AnyPS5/actions/runs/41503704648/job/125477426511
report	pass	1m13s	https://github.com/boykopovar/AnyPS5/actions/runs/41503704768/job/125477427931
windows	pass	11m30s	https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483212244

Negative control

Assertion Change to code under test Did the test fail?
The new getters return the mapped values and reject null/wrong-type references. No mutation was made; no local exact-head binary was built. Not run.

Findings

Blocking

  • The PR currently says Depends on: none, but exact pairwise previews conflict with four still-open PRs: #14925 and #14999 both update the libSceNKWebKit debt count line; #14860 and #14865 conflict with the new ProtectionSpace additions in Types.hpp. Each candidate merges cleanly into current main on its own, so this is a landing-order conflict, not an individual-base conflict. The repository asks authors to agree which overlapping PR lands first and record the dependency. Please coordinate the order with those authors, then update this PR's Depends on line if any of them must land first; if this PR should go first, have the dependent PRs record that order.

Non-blocking

None found in the implementation or tests. The latest Windows workflow passed the new base test and its full test suite.

Sources

Not verified

No local build, CTest, negative control, Linux test, or console behavior was run. The author reports that public_headers timed out after 90 seconds; I did not rerun it. The successful hosted Windows job compiled the changed library and ran nkwebkit_base.

To get this to a good state

Agree and document the landing order for #14860, #14865, #14925 and #14999, updating the applicable Depends on checklist entries. I will rerun the overlap and pairwise merge checks and review the updated head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5742093930 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15151#pullrequestreview-5742093930). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T19:23:38Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The getter implementations match the pinned WebKit behavior, but four open PRs have confirmed merge conflicts and no landing order is recorded. ## What I ran Reviewed all seven changed files at head `054e4b828386f49071b46b13244005dbd14c5e61`, against base/current `main` `a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8`. This head merges cleanly against current `main`. Environment: Debian 12, Linux 6.1.0-54-amd64, Python 3.11.2, Git 2.39.5; no local build or compiler was used. ```sh git diff --check a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8...054e4b828386f49071b46b13244005dbd14c5e61 python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 --output-dir /tmp/review-15151-20261102 python3 tools/pr_abi_audit.py --repo /marc/AnyPS5 --base a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 --head 054e4b828386f49071b46b13244005dbd14c5e61 --json python3 tools/pr_overlap.py --branch refs/review/15151/current --repo boykopovar/AnyPS5 git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14925 git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14999 git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14865 git merge-tree --write-tree refs/review/15151/current refs/review/overlap/14860 git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14925 git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14999 git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14865 git merge-tree --write-tree a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 refs/review/overlap/14860 gh run view 41503704965 --repo boykopovar/AnyPS5 --job 125483212244 --log | grep -E 'nkwebkit_base|Test #[0-9]+: nkwebkit_base|tests passed' gh pr checks 15151 --repo boykopovar/AnyPS5 ``` The precheck's ABI and test-quality helpers were absent from its isolated snapshot. I ran the ABI audit separately. I confirmed test registration by inspecting the source/test globs in CMake. The overlap helper could not parse the live PR data; the pairwise merge previews below exposed the conflicts directly. ## Results | Check | Result | Note | |---|---|---| | Diff and conventions | passed | No whitespace errors; conventions/template passed. | | Export audit | passed | 10,252 symbols scanned; no findings. | | Source behavior comparison | passed | Getter and enum behavior match pinned WebKit code. | | Test registration | passed | CMake globs the new source and test file. | | Hosted Windows tests | passed | `nkwebkit_base` passed; 2,966/2,966 tests passed. | | Individual main previews | passed | #15151 and each compared PR preview cleanly against current `main`. | | Pairwise integration previews | failed | Conflicts with #14925/#14999 in the debt entry and #14860/#14865 in `Types.hpp`. | | Overlap helper | failed | Parser stopped on malformed JSON; manual pairwise previews were run. | | Local build, CTest and negative control | not run | No local build was performed. | | Other hosted platforms | not run | Linux and specialized jobs were skipped by CI. | <details> <summary>Precheck, overlap and hosted output</summary> ```text $ python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 --output-dir /tmp/review-15151-20261102 /tmp/review-15151-20261102/report.md /tmp/review-15151-20261102/report.json Conclusion: checks failed ``` Precheck check table: | Check | Status | Command / reason | |---|---|---| | build_and_compile | not_applicable | `The precheck deliberately does not configure, build, or compile AnyPS5.` | | diff_check | passed | `git diff --check a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8...054e4b828386f49071b46b13244005dbd14c5e61` | | conventions_and_pr_template | passed | `/usr/bin/python3 tools/check_conventions.py --base a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 --head 054e4b828386f49071b46b13244005dbd14c5e61 --title feat(libSceNKWebKit): implement WKProtectionSpace getters --body /tmp/review-15151-20261102/pr-body.md` | | changed_export_abi_audit | failed | `/usr/bin/python3 tools/pr_abi_audit.py --base a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8 --head 054e4b828386f49071b46b13244005dbd14c5e61 --json` | | python_syntax | not_applicable | `No changed Python implementation files.` | | related_python_unit_tests | not_applicable | `No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.` | | python_test_registration | not_applicable | `No changed test_*.py files.` | | live_dependency_and_mergeability_check | passed | `/usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 15151 --repo boykopovar/AnyPS5 --output-dir /tmp/review-15151-20261102/stack` | | build_dependent_cpp_tests | not_applicable | `Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.` | | test_quality_heuristics | failed | `/usr/bin/python3 /tmp/review-15151-20261102/head-054e4b828386-6e641033/tools/pr_test_quality.py --root /tmp/review-15151-20261102/head-054e4b828386-6e641033 --json core/libs/prx/libSceNKWebKit/Export.cpp core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp core/libs/prx/libSceNKWebKit/src/ProtectionSpace.cpp core/libs/prx/libSceNKWebKit/src/Types.hpp core/libs/prx/libSceNKWebKit/tests/Base.cpp docs/dev/debt/libSceNKWebKit.md` | | negative_controls | not_applicable | `No changed Python test module in tools/ can be run as a no-build base-source control.` | ABI audit result excerpt: ```json { "status": "passed", "findings": [], "limitations": [ "This lexical audit does not parse C++ fully, prove calling-convention or binary ABI correctness, verify runtime version tables, or replace compilation." ] } ``` Overlap helper output: ```text pr_overlap: Invalid \uXXXX escape: line 1 column 676099 (char 676098) ``` Pairwise merge preview excerpts: ```text #15151 with #14925: exit 1 CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md #15151 with #14999: exit 1 CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md #15151 with #14865: exit 1 CONFLICT (content): Merge conflict in core/libs/prx/libSceNKWebKit/src/Types.hpp #15151 with #14860: exit 1 CONFLICT (content): Merge conflict in core/libs/prx/libSceNKWebKit/src/Types.hpp ``` Each of the four PRs independently previewed cleanly against `a4eca2a056bf3bbbec98ab42e9d28163e4ea9cb8`. Hosted Windows log excerpts: ```text 2026-11-02T19:07:50.1103216Z nkwebkit_base_tests 2026-11-02T19:12:32.8052716Z Start 2720: nkwebkit_base 2026-11-02T19:12:32.8249262Z 2224/2966 Test #2720: nkwebkit_base .................................................................................... Passed 0.02 sec 2026-11-02T19:13:47.3750457Z 100% tests passed, 0 tests failed out of 2966 ``` Final hosted status from `gh pr checks`: ```text edge-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215572 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215537 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483214851 relinker skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215194 relinker-asan skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483214624 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483215856 conventions pass 29s https://github.com/boykopovar/AnyPS5/actions/runs/41503704501/job/125477429304 eligibility pass 5s https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125477428414 intake pass 23s https://github.com/boykopovar/AnyPS5/actions/runs/41503703806/job/125477430202 labels pass 11s https://github.com/boykopovar/AnyPS5/actions/runs/41503703795/job/125477427250 library-portability pass 2m6s https://github.com/boykopovar/AnyPS5/actions/runs/41503704648/job/125477426511 report pass 1m13s https://github.com/boykopovar/AnyPS5/actions/runs/41503704768/job/125477427931 windows pass 11m30s https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483212244 ``` </details> ## Negative control | Assertion | Change to code under test | Did the test fail? | |---|---|---| | The new getters return the mapped values and reject null/wrong-type references. | No mutation was made; no local exact-head binary was built. | Not run. | ## Findings ### Blocking - The PR currently says `Depends on: none`, but exact pairwise previews conflict with four still-open PRs: #14925 and #14999 both update the `libSceNKWebKit` debt count line; #14860 and #14865 conflict with the new `ProtectionSpace` additions in `Types.hpp`. Each candidate merges cleanly into current `main` on its own, so this is a landing-order conflict, not an individual-base conflict. The repository asks authors to agree which overlapping PR lands first and record the dependency. Please coordinate the order with those authors, then update this PR's `Depends on` line if any of them must land first; if this PR should go first, have the dependent PRs record that order. ### Non-blocking None found in the implementation or tests. The latest Windows workflow passed the new base test and its full test suite. ## Sources - [Repository overlap/Depends-on rule](https://github.com/boykopovar/AnyPS5/blob/054e4b828386f49071b46b13244005dbd14c5e61/CONTRIBUTING.md#L71-L72) - [New ProtectionSpace getters](https://github.com/boykopovar/AnyPS5/blob/054e4b828386f49071b46b13244005dbd14c5e61/core/libs/prx/libSceNKWebKit/src/ProtectionSpace.cpp#L24-L99) - [New getter tests](https://github.com/boykopovar/AnyPS5/blob/054e4b828386f49071b46b13244005dbd14c5e61/core/libs/prx/libSceNKWebKit/tests/Base.cpp#L358-L432) - [CMake source and test discovery](https://github.com/boykopovar/AnyPS5/blob/054e4b828386f49071b46b13244005dbd14c5e61/core/libs/prx/libSceNKWebKit/CMakeLists.txt#L20-L50) - [Pinned WebKit C getters](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKProtectionSpace.cpp#L39-L71) - [Pinned WebCore proxy and secure-credential behavior](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebCore/platform/network/ProtectionSpaceBase.cpp#L43-L57) - [Pinned enum casts and fallback behavior](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKAPICast.h#L295-L341) and [public enum values](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKProtectionSpaceTypes.h#L35-L59) - [Exact-head hosted Windows run](https://github.com/boykopovar/AnyPS5/actions/runs/41503704965/job/125483212244) ## Not verified No local build, CTest, negative control, Linux test, or console behavior was run. The author reports that `public_headers` timed out after 90 seconds; I did not rerun it. The successful hosted Windows job compiled the changed library and ran `nkwebkit_base`. ## To get this to a good state Agree and document the landing order for #14860, #14865, #14925 and #14999, updating the applicable `Depends on` checklist entries. I will rerun the overlap and pairwise merge checks and review the updated head.
MarcZX10 commented 2026-11-02 23:52:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-02T23:52:55Z.

Review: CHANGES_REQUESTED


Re-checked — new head, changes requested

The header refactor clears the earlier code-file conflicts, but the requested pairwise checks still find an unresolved shared debt-count conflict and no agreed landing order.

What I ran

Re-reviewed all seven changed files at head d434a41b4dd6cf54844c81621fba478de1a45e80 against base 5cb015caaaaf83f8ee431414ee6a457b5b307d49; the PR merges cleanly into that base. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. No compiler or project build was used.

git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...d434a41b4dd6cf54844c81621fba478de1a45e80
python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151
python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --json
python3 tools/pr_test_quality.py --root /tmp/anyps5-test-15313 --json core/libs/prx/libSceNKWebKit/tests/Base.cpp
python3 tools/pr_overlap.py --branch refs/review/15151/20261102-followup-d434a --repo boykopovar/AnyPS5
git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14860
git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14865
git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14925
git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14999
gh pr checks 15151 --repo boykopovar/AnyPS5

The base merge preview was clean. The automatic overlap scan could not parse GitHub's response, so I used the four requested exact-head pairwise previews. Their only conflict path is the debt-count line; the earlier Types.hpp and test-file conflicts are gone after the header move.

Results

Check Result Note
Diff and conventions passed Exact-head checks passed.
ABI audit passed 10,247 symbols; no lexical findings.
Current-base merge passed Clean against the exact base.
Pairwise merge previews failed All four named PRs conflict on the shared debt-count line.
Test registration passed Base.cpp is included by the existing tests/*.cpp CMake glob.
Hosted checks not run Windows was pending; other applicable gates passed.
Build and CTest not run No local build was configured.
Precheck and unedited command output

Precheck report table:

| Check | Status | Command / reason |
|---|---|---|
| build_and_compile | not_applicable | `The precheck deliberately does not configure, build, or compile AnyPS5.` |
| diff_check | passed | `git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...d434a41b4dd6cf54844c81621fba478de1a45e80` |
| conventions_and_pr_template | passed | `/usr/bin/python3 tools/check_conventions.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --title feat(libSceNKWebKit): implement WKProtectionSpace getters --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/pr-body.md` |
| changed_export_abi_audit | failed | `/usr/bin/python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --json` |
| python_syntax | not_applicable | `No changed Python implementation files.` |
| related_python_unit_tests | not_applicable | `No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.` |
| python_test_registration | not_applicable | `No changed test_*.py files.` |
| live_dependency_and_mergeability_check | passed | `/usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 15151 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/stack` |
| build_dependent_cpp_tests | not_applicable | `Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.` |
| test_quality_heuristics | failed | `/usr/bin/python3 /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/head-d434a41b4dd6-fef737ef/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/head-d434a41b4dd6-fef737ef --json core/libs/prx/libSceNKWebKit/Export.cpp core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp core/libs/prx/libSceNKWebKit/src/ProtectionSpace.cpp core/libs/prx/libSceNKWebKit/src/ProtectionSpace.hpp core/libs/prx/libSceNKWebKit/tests/Base.cpp docs/dev/debt/libSceNKWebKit.md` |
| negative_controls | not_applicable | `No changed Python test module in tools/ can be run as a no-build base-source control.` |
All conventions checks passed.

The isolated precheck snapshot lacks the reviewer-only ABI and test-quality helpers. Running the ABI audit from the workspace produced:

status: passed
symbols: 10247
findings: 0

Test-quality helper output:

{
  "findings": [
    {
      "path": "core/libs/prx/libSceNKWebKit/tests/Base.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    }
  ],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}

Manual inspection confirmed file(GLOB nkWebKitTests CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp) in core/libs/prx/libSceNKWebKit/CMakeLists.txt:49, so the heuristic warning is a false positive.

#15151 vs #14860
CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md
#15151 vs #14865
CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md
#15151 vs #14925
CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md
#15151 vs #14999
CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md

pr_overlap: Invalid \uXXXX escape: line 1 column 1498929 (char 1498928)
labels	pass	10	https://github.com/boykopovar/AnyPS5/actions/runs/41539908122/job/125601116210
edge-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974717
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974673
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613975131
relinker	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613973906
relinker-asan	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974783
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974642
windows	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613971987
conventions	pass	30s	https://github.com/boykopovar/AnyPS5/actions/runs/41539908126/job/125601115118
eligibility	pass	6s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125601119271
library-portability	pass	1m41s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909804/job/125601118276
report	pass	46s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909700/job/125601117569

Negative control

Not run. The changed C++ tests require a build, and I did not modify the code under test.

Findings

Blocking

  • The shared debt-count edit still has no agreed landing order. The exact target head changes the current base's count from 7437 to 7430; the live heads of #14860, #14865, #14925 and #14999 each edit that same line, and every pairwise merge conflicts there. The repository requires authors to agree which overlapping PR goes first and record the order with Depends on. Please coordinate with those authors and update the applicable checklist entries. If #15151 is intended to land first, have the other PRs record that order; if it follows any of them, list those dependencies here.

Non-blocking

  • The PR description still says the count changes from 7439 to 7432. On this exact base/head it is 7437 to 7430; please refresh that sentence so it describes the reviewed revisions.

Sources

Not verified

No local build, CTest, negative control, Linux runtime, macOS or console behavior was run. The PR description reports a prior Windows test without pinning its SHA; I cannot attribute it to this exact head. The hosted Windows job was pending at the final refresh.

To get this to a good state

Please agree and record the landing order for the four overlapping PRs, then update the stale count sentence. I will rerun the pairwise merges and applicable checks on the resulting head; approval also requires the pending hosted Windows check to finish successfully.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5745099035 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15151#pullrequestreview-5745099035). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-02T23:52:55Z. **Review:** CHANGES_REQUESTED --- # Re-checked — new head, changes requested The header refactor clears the earlier code-file conflicts, but the requested pairwise checks still find an unresolved shared debt-count conflict and no agreed landing order. ## What I ran Re-reviewed all seven changed files at head `d434a41b4dd6cf54844c81621fba478de1a45e80` against base `5cb015caaaaf83f8ee431414ee6a457b5b307d49`; the PR merges cleanly into that base. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. No compiler or project build was used. ```sh git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...d434a41b4dd6cf54844c81621fba478de1a45e80 python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --json python3 tools/pr_test_quality.py --root /tmp/anyps5-test-15313 --json core/libs/prx/libSceNKWebKit/tests/Base.cpp python3 tools/pr_overlap.py --branch refs/review/15151/20261102-followup-d434a --repo boykopovar/AnyPS5 git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14860 git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14865 git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14925 git merge-tree --write-tree refs/review/15151/20261102-followup-d434a refs/review/15151-pairs/14999 gh pr checks 15151 --repo boykopovar/AnyPS5 ``` The base merge preview was clean. The automatic overlap scan could not parse GitHub's response, so I used the four requested exact-head pairwise previews. Their only conflict path is the debt-count line; the earlier `Types.hpp` and test-file conflicts are gone after the header move. ## Results | Check | Result | Note | |---|---|---| | Diff and conventions | passed | Exact-head checks passed. | | ABI audit | passed | 10,247 symbols; no lexical findings. | | Current-base merge | passed | Clean against the exact base. | | Pairwise merge previews | failed | All four named PRs conflict on the shared debt-count line. | | Test registration | passed | `Base.cpp` is included by the existing `tests/*.cpp` CMake glob. | | Hosted checks | not run | Windows was pending; other applicable gates passed. | | Build and CTest | not run | No local build was configured. | <details><summary>Precheck and unedited command output</summary> Precheck report table: ```text | Check | Status | Command / reason | |---|---|---| | build_and_compile | not_applicable | `The precheck deliberately does not configure, build, or compile AnyPS5.` | | diff_check | passed | `git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...d434a41b4dd6cf54844c81621fba478de1a45e80` | | conventions_and_pr_template | passed | `/usr/bin/python3 tools/check_conventions.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --title feat(libSceNKWebKit): implement WKProtectionSpace getters --body /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/pr-body.md` | | changed_export_abi_audit | failed | `/usr/bin/python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --json` | | python_syntax | not_applicable | `No changed Python implementation files.` | | related_python_unit_tests | not_applicable | `No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.` | | python_test_registration | not_applicable | `No changed test_*.py files.` | | live_dependency_and_mergeability_check | passed | `/usr/bin/python3 /marc/AnyPS5/tools/pr_stack_check.py 15151 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/stack` | | build_dependent_cpp_tests | not_applicable | `Not run: C++ tests need exact-head binaries, which require a build; the precheck does not build.` | | test_quality_heuristics | failed | `/usr/bin/python3 /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/head-d434a41b4dd6-fef737ef/tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-15151-d434a41b4dd6/head-d434a41b4dd6-fef737ef --json core/libs/prx/libSceNKWebKit/Export.cpp core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp core/libs/prx/libSceNKWebKit/include/WebKitValueExports.hpp core/libs/prx/libSceNKWebKit/src/ProtectionSpace.cpp core/libs/prx/libSceNKWebKit/src/ProtectionSpace.hpp core/libs/prx/libSceNKWebKit/tests/Base.cpp docs/dev/debt/libSceNKWebKit.md` | | negative_controls | not_applicable | `No changed Python test module in tools/ can be run as a no-build base-source control.` | ``` ```text All conventions checks passed. ``` The isolated precheck snapshot lacks the reviewer-only ABI and test-quality helpers. Running the ABI audit from the workspace produced: ```text status: passed symbols: 10247 findings: 0 ``` Test-quality helper output: ```json { "findings": [ { "path": "core/libs/prx/libSceNKWebKit/tests/Base.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." } ], "negative_control_candidates": [], "limits": [ "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error." ] } ``` Manual inspection confirmed `file(GLOB nkWebKitTests CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp)` in `core/libs/prx/libSceNKWebKit/CMakeLists.txt:49`, so the heuristic warning is a false positive. ```text #15151 vs #14860 CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md #15151 vs #14865 CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md #15151 vs #14925 CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md #15151 vs #14999 CONFLICT (content): Merge conflict in docs/dev/debt/libSceNKWebKit.md pr_overlap: Invalid \uXXXX escape: line 1 column 1498929 (char 1498928) ``` ```text labels pass 10 https://github.com/boykopovar/AnyPS5/actions/runs/41539908122/job/125601116210 edge-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974717 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974673 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613975131 relinker skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613973906 relinker-asan skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974783 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974642 windows pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613971987 conventions pass 30s https://github.com/boykopovar/AnyPS5/actions/runs/41539908126/job/125601115118 eligibility pass 6s https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125601119271 library-portability pass 1m41s https://github.com/boykopovar/AnyPS5/actions/runs/41539909804/job/125601118276 report pass 46s https://github.com/boykopovar/AnyPS5/actions/runs/41539909700/job/125601117569 ``` </details> ## Negative control Not run. The changed C++ tests require a build, and I did not modify the code under test. ## Findings ### Blocking - The shared debt-count edit still has no agreed landing order. The exact target head changes the current base's count from 7437 to 7430; the live heads of #14860, #14865, #14925 and #14999 each edit that same line, and every pairwise merge conflicts there. The repository requires authors to agree which overlapping PR goes first and record the order with `Depends on`. Please coordinate with those authors and update the applicable checklist entries. If #15151 is intended to land first, have the other PRs record that order; if it follows any of them, list those dependencies here. ### Non-blocking - The PR description still says the count changes from 7439 to 7432. On this exact base/head it is 7437 to 7430; please refresh that sentence so it describes the reviewed revisions. ## Sources - [Repository overlap and dependency rule at the reviewed base](https://github.com/boykopovar/AnyPS5/blob/5cb015caaaaf83f8ee431414ee6a457b5b307d49/CONTRIBUTING.md#L66-L71) - [Current-base debt count](https://github.com/boykopovar/AnyPS5/blob/5cb015caaaaf83f8ee431414ee6a457b5b307d49/docs/dev/debt/libSceNKWebKit.md#L34) - [Reviewed-head debt count](https://github.com/boykopovar/AnyPS5/blob/d434a41b4dd6cf54844c81621fba478de1a45e80/docs/dev/debt/libSceNKWebKit.md#L34) - [CMake source/test glob that registers the changed Base.cpp test](https://github.com/boykopovar/AnyPS5/blob/d434a41b4dd6cf54844c81621fba478de1a45e80/core/libs/prx/libSceNKWebKit/CMakeLists.txt#L49-L55) - [ProtectionSpace type moved into its own header](https://github.com/boykopovar/AnyPS5/blob/d434a41b4dd6cf54844c81621fba478de1a45e80/core/libs/prx/libSceNKWebKit/src/ProtectionSpace.hpp#L1-L46) - [Overlapping #14860 debt line](https://github.com/boykopovar/AnyPS5/blob/5df733ad62257ec0114c455b441ee03d2c1c8514/docs/dev/debt/libSceNKWebKit.md#L30) - [Overlapping #14865 debt line](https://github.com/boykopovar/AnyPS5/blob/484718700154d432fc08c9cf0d508d5c9687eeaf/docs/dev/debt/libSceNKWebKit.md#L30) - [Overlapping #14925 debt line](https://github.com/boykopovar/AnyPS5/blob/417ba136d43687938f47d0a9bffa9d4d6a0aefce/docs/dev/debt/libSceNKWebKit.md#L31) - [Overlapping #14999 debt line](https://github.com/boykopovar/AnyPS5/blob/c0901b10c9c9e331aaebde03c29e08d2bb90a8b3/docs/dev/debt/libSceNKWebKit.md#L31) ## Not verified No local build, CTest, negative control, Linux runtime, macOS or console behavior was run. The PR description reports a prior Windows test without pinning its SHA; I cannot attribute it to this exact head. The hosted Windows job was pending at the final refresh. ## To get this to a good state Please agree and record the landing order for the four overlapping PRs, then update the stale count sentence. I will rerun the pairwise merges and applicable checks on the resulting head; approval also requires the pending hosted Windows check to finish successfully.
MarcZX10 commented 2026-11-03 02:58:17 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-03T02:58:17Z.

Review: APPROVED


Re-checked — same head, approved

The PR now documents that it lands before the overlapping count updates, the count matches the reviewed diff, and all applicable hosted checks have passed.

What I ran

Rechecked the PR description and overlap follow-up at head d434a41b4dd6cf54844c81621fba478de1a45e80, based on 5cb015caaaaf83f8ee431414ee6a457b5b307d49; my prior full review covered all seven changed files at this same head. Its individual merge preview is clean against current main 7feb37ee3e30e10139b483fb4df689d5b5b69ab8. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. I did not build locally.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 --output-dir /tmp/anyps5-pr-precheck/15151-20261103-final
python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --json
python3 tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/15151-20261103-final/head-d434a41b4dd6-11b074ec --json core/libs/prx/libSceNKWebKit/tests/Base.cpp
git show d434a41b4dd6cf54844c81621fba478de1a45e80:core/libs/prx/libSceNKWebKit/CMakeLists.txt
gh pr checks 15151 --repo boykopovar/AnyPS5

Results

Check Result Note
Diff and conventions passed Exact-head checks passed.
ABI audit passed 10,247 symbols scanned; no findings.
Test registration passed CMake glob includes tests/Base.cpp; heuristic warning is a false positive.
Current-main merge preview passed Clean at the refreshed current-main tip.
Hosted checks passed Windows and required policy checks passed; specialized jobs were skipped.
Local build and CTest not run No local compilation in this recheck.
Precheck table and raw outputs
Check Status Command / reason
build_and_compile not_applicable The precheck deliberately does not configure, build, or compile AnyPS5.
diff_check passed git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...d434a41b4dd6cf54844c81621fba478de1a45e80
conventions_and_pr_template passed /usr/bin/python3 tools/check_conventions.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --title feat(libSceNKWebKit): implement WKProtectionSpace getters --body /tmp/anyps5-pr-precheck/15151-20261103-final/pr-body.md
changed_export_abi_audit failed The isolated snapshot does not contain the workspace-only helper script. The direct workspace audit is reported below.
python_syntax not_applicable No changed Python implementation files.
related_python_unit_tests not_applicable No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.
python_test_registration not_applicable No changed test_*.py files.
live_dependency_and_mergeability_check passed The exact PR head is clean against current main.
build_dependent_cpp_tests not_applicable Exact-head C++ binaries require a build; the precheck does not build.
test_quality_heuristics failed The heuristic reports a possible unregistered C++ test; manual CMake inspection confirms registration.
negative_controls not_applicable No changed Python test module in tools/ can be run as a no-build base-source control.
All conventions checks passed.
status: passed
symbols: 10247
findings: 0
{
  "findings": [
    {
      "path": "core/libs/prx/libSceNKWebKit/tests/Base.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    }
  ],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}
file(GLOB nkWebKitTests CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp)
foreach(testSource ${nkWebKitTests})
    get_filename_component(testName ${testSource} NAME_WE)
    string(TOLOWER ${testName} testName)
    add_test_executable(nkwebkit_${testName}_tests ${testSource})
# PR stack check — fresh
Target branch tip: `7feb37ee3e30e10139b483fb4df689d5b5b69ab8`
All heads unchanged: **True**
- PR #15151: **clean** against current base; head `d434a41b4dd6cf54844c81621fba478de1a45e80`
conventions	pass	24s	https://github.com/boykopovar/AnyPS5/actions/runs/41568373845/job/125695250249
labels	pass	5s	https://github.com/boykopovar/AnyPS5/actions/runs/41568373968/job/125695250694
windows	pass	24m26s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613971987
edge-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974717
linux	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974673
register-context	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613975131
relinker	 skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613973906
relinker-asan	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974783
write-watch	skipping	0	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974642
eligibility	pass	6s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125601119271
library-portability	pass	1m41s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909804/job/125601118276
report	pass	46s	https://github.com/boykopovar/AnyPS5/actions/runs/41539909700/job/125601117569

Negative control

Not run in this recheck because the C++ test requires an exact-head build. The PR description reports the Windows Release test, and the exact-head hosted Windows workflow passed; I did not independently reproduce that build locally.

Findings

Blocking

None found in this recheck. The author has publicly documented the intended order with the overlapping count PRs; #15151 is intended to land first and correctly declares no prerequisite.

Non-blocking

The sibling PRs that share the debt-count line still need their counts reapplied after #15151 lands, as stated in the author's order notes.

Sources

Not verified

No local build, CTest, negative control, title run, Linux runtime, or console behavior was verified. The Windows test described in the PR is author-reported; the separate hosted Windows check passed on the exact head.

To get this to a good state

No further change is requested on this PR. I will rerun the same checks if its head changes; the overlapping count PRs should reapply their counts after this PR lands.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5746717217 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/15151#pullrequestreview-5746717217). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-03T02:58:17Z. **Review:** APPROVED --- # Re-checked — same head, approved The PR now documents that it lands before the overlapping count updates, the count matches the reviewed diff, and all applicable hosted checks have passed. ## What I ran Rechecked the PR description and overlap follow-up at head `d434a41b4dd6cf54844c81621fba478de1a45e80`, based on `5cb015caaaaf83f8ee431414ee6a457b5b307d49`; my prior full review covered all seven changed files at this same head. Its individual merge preview is clean against current `main` `7feb37ee3e30e10139b483fb4df689d5b5b69ab8`. Environment: Debian Linux x86_64, Python 3.11.2, Git 2.39.5. I did not build locally. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 15151 --output-dir /tmp/anyps5-pr-precheck/15151-20261103-final python3 tools/pr_abi_audit.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --json python3 tools/pr_test_quality.py --root /tmp/anyps5-pr-precheck/15151-20261103-final/head-d434a41b4dd6-11b074ec --json core/libs/prx/libSceNKWebKit/tests/Base.cpp git show d434a41b4dd6cf54844c81621fba478de1a45e80:core/libs/prx/libSceNKWebKit/CMakeLists.txt gh pr checks 15151 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | Note | |---|---|---| | Diff and conventions | passed | Exact-head checks passed. | | ABI audit | passed | 10,247 symbols scanned; no findings. | | Test registration | passed | CMake glob includes `tests/Base.cpp`; heuristic warning is a false positive. | | Current-main merge preview | passed | Clean at the refreshed current-main tip. | | Hosted checks | passed | Windows and required policy checks passed; specialized jobs were skipped. | | Local build and CTest | not run | No local compilation in this recheck. | <details> <summary>Precheck table and raw outputs</summary> | Check | Status | Command / reason | |---|---|---| | build_and_compile | not_applicable | `The precheck deliberately does not configure, build, or compile AnyPS5.` | | diff_check | passed | `git diff --check 5cb015caaaaf83f8ee431414ee6a457b5b307d49...d434a41b4dd6cf54844c81621fba478de1a45e80` | | conventions_and_pr_template | passed | `/usr/bin/python3 tools/check_conventions.py --base 5cb015caaaaf83f8ee431414ee6a457b5b307d49 --head d434a41b4dd6cf54844c81621fba478de1a45e80 --title feat(libSceNKWebKit): implement WKProtectionSpace getters --body /tmp/anyps5-pr-precheck/15151-20261103-final/pr-body.md` | | changed_export_abi_audit | failed | The isolated snapshot does not contain the workspace-only helper script. The direct workspace audit is reported below. | | python_syntax | not_applicable | `No changed Python implementation files.` | | related_python_unit_tests | not_applicable | `No changed tools/ module has an existing sibling tools/tests/test_<module>.py suite.` | | python_test_registration | not_applicable | `No changed test_*.py files.` | | live_dependency_and_mergeability_check | passed | The exact PR head is clean against current `main`. | | build_dependent_cpp_tests | not_applicable | Exact-head C++ binaries require a build; the precheck does not build. | | test_quality_heuristics | failed | The heuristic reports a possible unregistered C++ test; manual CMake inspection confirms registration. | | negative_controls | not_applicable | `No changed Python test module in tools/ can be run as a no-build base-source control.` | ```text All conventions checks passed. ``` ```text status: passed symbols: 10247 findings: 0 ``` ```json { "findings": [ { "path": "core/libs/prx/libSceNKWebKit/tests/Base.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." } ], "negative_control_candidates": [], "limits": [ "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error." ] } ``` ```text file(GLOB nkWebKitTests CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/tests/*.cpp) foreach(testSource ${nkWebKitTests}) get_filename_component(testName ${testSource} NAME_WE) string(TOLOWER ${testName} testName) add_test_executable(nkwebkit_${testName}_tests ${testSource}) ``` ```text # PR stack check — fresh Target branch tip: `7feb37ee3e30e10139b483fb4df689d5b5b69ab8` All heads unchanged: **True** - PR #15151: **clean** against current base; head `d434a41b4dd6cf54844c81621fba478de1a45e80` ``` ```text conventions pass 24s https://github.com/boykopovar/AnyPS5/actions/runs/41568373845/job/125695250249 labels pass 5s https://github.com/boykopovar/AnyPS5/actions/runs/41568373968/job/125695250694 windows pass 24m26s https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613971987 edge-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974717 linux skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974673 register-context skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613975131 relinker skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613973906 relinker-asan skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974783 write-watch skipping 0 https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125613974642 eligibility pass 6s https://github.com/boykopovar/AnyPS5/actions/runs/41539909821/job/125601119271 library-portability pass 1m41s https://github.com/boykopovar/AnyPS5/actions/runs/41539909804/job/125601118276 report pass 46s https://github.com/boykopovar/AnyPS5/actions/runs/41539909700/job/125601117569 ``` </details> ## Negative control Not run in this recheck because the C++ test requires an exact-head build. The PR description reports the Windows Release test, and the exact-head hosted Windows workflow passed; I did not independently reproduce that build locally. ## Findings ### Blocking None found in this recheck. The author has publicly documented the intended order with the overlapping count PRs; #15151 is intended to land first and correctly declares no prerequisite. ### Non-blocking The sibling PRs that share the debt-count line still need their counts reapplied after #15151 lands, as stated in the author's order notes. ## Sources - [ProtectionSpace getters at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/d434a41b4dd6cf54844c81621fba478de1a45e80/core/libs/prx/libSceNKWebKit/src/ProtectionSpace.cpp#L39-L94) - [ProtectionSpace type and fields](https://github.com/boykopovar/AnyPS5/blob/d434a41b4dd6cf54844c81621fba478de1a45e80/core/libs/prx/libSceNKWebKit/src/ProtectionSpace.hpp#L1-L46) - [Test registration glob](https://github.com/boykopovar/AnyPS5/blob/d434a41b4dd6cf54844c81621fba478de1a45e80/core/libs/prx/libSceNKWebKit/CMakeLists.txt#L49-L53) - [Pinned WebKit getter reference](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKProtectionSpace.cpp) - [Pinned ProtectionSpace behavior](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebCore/platform/network/ProtectionSpaceBase.cpp) - [Pinned enum conversion behavior](https://github.com/neonmodder123/PS5-WebKit-11.x/blob/80f77e94c63ee7202eec3d4b5b1a021dd89011ba/Source/WebKit/UIProcess/API/C/WKAPICast.h) - [Repository overlap-order requirement](https://github.com/boykopovar/AnyPS5/blob/5cb015caaaaf83f8ee431414ee6a457b5b307d49/CONTRIBUTING.md#L71-L74) ## Not verified No local build, CTest, negative control, title run, Linux runtime, or console behavior was verified. The Windows test described in the PR is author-reported; the separate hosted Windows check passed on the exact head. ## To get this to a good state No further change is requested on this PR. I will rerun the same checks if its head changes; the overlapping count PRs should reapply their counts after this PR lands.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!15151
No description provided.