feat(libSceNKWebKit): implement PAL::KillRing::yank #22449

Closed
RiverWhy wants to merge 9 commits from upstream-pr/22449 into main
RiverWhy commented 2026-11-17 16:41:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by RiverWhy on 2026-11-17T16:41:01Z.


What

Implements PAL::KillRing::yank, which throws on main today. The other four KillRing exports (append, prepend, startNewSequence, setToYankedState) are already answered on main as empty exports by #23753, so this PR keeps those and only adds yank.

The PlayStation port builds the non-Mac KillRing.cpp (PlatformPlayStation.cmake), and the PS5 11.x source has the same file. In that file, four of the methods do nothing (as #23753 has them on main), and yank returns a null String, which this PR does:

  • yank returns its String through the hidden result pointer, as a type with a non-trivial destructor is returned.
  • It does not read this, so a null object is not refused, as in the source.

Debt: a fragment, docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md, adds the entry under Functional and removes the yank inventory row.

Overlap: pr_overlap.py finds no open PR with these exports.

  • #18797, #18805, #20327, #21422, #21979, and my other new SleepDisabler and Cookie PRs add an include on the same last line of libSceNKWebKit.hpp, which is a line conflict only.

Tested

Linux Mint 22.3:

  • New nkwebkit_palkillring test:
    • the four void methods leave the ring and the argument untouched;
    • yank writes a null String into a result slot filled with 0xa5.

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 and the licence notice of code adapted from upstream (see AGENTS.md)
  • 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

Summary by CodeRabbit

  • New Features
    • Added support for the WebKit kill ring’s yank operation. It now returns an empty string.
  • Tests
    • Added coverage to check the operation’s return value and ring state, helping ensure the behavior remains consistent.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5360982078 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449). Originally posted by [RiverWhy](https://github.com/RiverWhy) on 2026-11-17T16:41:01Z. --- ### What Implements `PAL::KillRing::yank`, which throws on `main` today. The other four `KillRing` exports (`append`, `prepend`, `startNewSequence`, `setToYankedState`) are already answered on `main` as empty exports by #23753, so this PR keeps those and only adds `yank`. The PlayStation port builds the non-Mac [KillRing.cpp](https://github.com/WebKit/WebKit/blob/e12a212a531aeddc11259e8515671cf5188e038d/Source/WebCore/PAL/pal/text/KillRing.cpp#L29-L56) ([PlatformPlayStation.cmake](https://github.com/WebKit/WebKit/blob/e12a212a531aeddc11259e8515671cf5188e038d/Source/WebCore/PAL/pal/PlatformPlayStation.cmake#L7)), and the PS5 11.x source has the same file. In that file, four of the methods do nothing (as #23753 has them on `main`), and `yank` returns a null `String`, which this PR does: - `yank` returns its `String` through the hidden result pointer, as a type with a non-trivial destructor is returned. - It does not read `this`, so a null object is not refused, as in the source. Debt: a fragment, `docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md`, adds the entry under Functional and removes the `yank` inventory row. Overlap: `pr_overlap.py` finds no open PR with these exports. - #18797, #18805, #20327, #21422, #21979, and my other new SleepDisabler and Cookie PRs add an include on the same last line of `libSceNKWebKit.hpp`, which is a line conflict only. ### Tested Linux Mint 22.3: - New `nkwebkit_palkillring` test: - the four void methods leave the ring and the argument untouched; - `yank` writes a null `String` into a result slot filled with `0xa5`. ### 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) and the licence notice of code adapted from upstream (see AGENTS.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 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> <!-- coderabbit-ai-generated:v1 --> ## Summary by CodeRabbit * **New Features** * Added support for the WebKit kill ring’s `yank` operation. It now returns an empty string. * **Tests** * Added coverage to check the operation’s return value and ring state, helping ensure the behavior remains consistent. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
PrivacyOnion commented 2026-11-17 16:45:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by PrivacyOnion on 2026-11-17T16:45:12Z.

Review: APPROVED


Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against 3e6b683d3d:

  • Conventions: tools/check_conventions.py passed.
  • Build: nkwebkit_palkillring_tests built cleanly.
  • CTest (nkwebkit_palkillring):
    1/1 Test #4478: nkwebkit_palkillring .............   Passed    0.01 sec
    100% tests passed, 0 tests failed out of 1
    
  • Negative control: with core/libs/prx/libSceNKWebKit/Export.cpp, core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp, core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp, core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp reverted to main and the new tests kept, the suite fails:
    1/1 Test #4478: nkwebkit_palkillring .............Subprocess aborted***Exception:   0.13 sec
    0% tests passed, 1 tests failed out of 1
    
    Restoring the change makes it pass again.
  • Code reading:
    • Verified that upstream WebKit Source/WebCore/PAL/pal/text/KillRing.cpp for non-Mac platforms implements append, prepend, startNewSequence, setToYankedState as no-ops and yank as returning a default (null) String.
    • Verified ABI signatures and mangled symbols (_ZN3PAL8KillRing6appendERKN3WTF6StringE, _ZN3PAL8KillRing7prependERKN3WTF6StringE, _ZN3PAL8KillRing4yankEv, _ZN3PAL8KillRing16startNewSequenceEv, _ZN3PAL8KillRing16setToYankedStateEv) against WebKit/PS5 exports.
    • Verified that WTF::String return value in yank uses the standard x86_64/System V ABI hidden return pointer convention handled by C++ return of NKWebKit::WtfAbi::String.
    • Verified absence of undefined behavior, memory leaks, or uninitialized state in PalKillRing.cpp and test suite.
    • Verified AGENTS.md compliance: license headers match upstream, no prohibited comments, and technical debt fragment added in docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md.

Looks Good To Me

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5942681014 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-5942681014). Originally posted by [PrivacyOnion](https://github.com/PrivacyOnion) on 2026-11-17T16:45:12Z. **Review:** APPROVED --- Verified on Linux (Ubuntu 24.04, GCC 13.3, Ninja, Release) against `3e6b683d3d`: - **Conventions**: `tools/check_conventions.py` passed. - **Build**: `nkwebkit_palkillring_tests` built cleanly. - **CTest** (`nkwebkit_palkillring`): ``` 1/1 Test #4478: nkwebkit_palkillring ............. Passed 0.01 sec 100% tests passed, 0 tests failed out of 1 ``` - **Negative control**: with `core/libs/prx/libSceNKWebKit/Export.cpp`, `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp`, `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp`, `core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp` reverted to `main` and the new tests kept, the suite fails: ``` 1/1 Test #4478: nkwebkit_palkillring .............Subprocess aborted***Exception: 0.13 sec 0% tests passed, 1 tests failed out of 1 ``` Restoring the change makes it pass again. - **Code reading**: - Verified that upstream WebKit Source/WebCore/PAL/pal/text/KillRing.cpp for non-Mac platforms implements append, prepend, startNewSequence, setToYankedState as no-ops and yank as returning a default (null) String. - Verified ABI signatures and mangled symbols (_ZN3PAL8KillRing6appendERKN3WTF6StringE, _ZN3PAL8KillRing7prependERKN3WTF6StringE, _ZN3PAL8KillRing4yankEv, _ZN3PAL8KillRing16startNewSequenceEv, _ZN3PAL8KillRing16setToYankedStateEv) against WebKit/PS5 exports. - Verified that WTF::String return value in yank uses the standard x86_64/System V ABI hidden return pointer convention handled by C++ return of NKWebKit::WtfAbi::String. - Verified absence of undefined behavior, memory leaks, or uninitialized state in PalKillRing.cpp and test suite. - Verified AGENTS.md compliance: license headers match upstream, no prohibited comments, and technical debt fragment added in docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md. Looks Good To Me
MarcZX10 commented 2026-11-17 17:06:08 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T17:06:08Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional. The reviewed head is 3e6b683d3d, and the change implements the five PAL::KillRing exports as no-op stubs plus a null String return for yank.

What I ran

  • Head SHA: 3e6b683d3d, base main.
  • Read the description, commit list, manifest and diff from the review folder.
  • Reader checks (repository files at head):
repo_read.py search "add_executable|file\(GLOB" core/libs/prx
repo_read.py search "nkwebkit_|add_test|tests/\*\.cpp|GLOB.*tests" core
repo_read.py search "KillRing|WtfAbi::String|struct String" core/libs/prx/libSceNKWebKit
repo_read.py search "nkwebkit_|tests/|WtfAbi" core/libs/prx/libSceNKWebKit
repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp 1 60
repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp 60 120
  • No build and no test was run.

Results

Check Result Note
Diff read passed 7 files
String layout used by the header passed impl is the first member, as the test expects
Build includes PalKillRing.cpp not verified no CMake change in the diff; reader search found no registration pattern
Test nkwebkit_palkillring runs not run nothing built or executed

Findings

Blocking

None.

Non-blocking

  • core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp:26 repeats the "Derived from" line already at PalKillRing.cpp:1. The licence notice is allowed by the conventions, so the second copy can go.

Not verified

  • Whether src/PalKillRing.cpp and tests/PalKillRing.cpp are compiled and registered. The diff does not touch any build file, and the reader search could not find the registration pattern.
  • Export.cpp and InventoryExports.hpp are in the reviewed list, but their full text is too large for the review folder. I checked them only through the removed hunks in diff.patch, not in full.
  • The yank return through the hidden result pointer, against the PS5 binary's actual calling convention. Not checked on hardware or in a build.
  • The five docs/dev/debt inventory rows were not matched against the inventory file.
  • The upstream KillRing.cpp permalink in the description was not opened.

To get this to a good state

Nothing is required.

Optional: remove the duplicate "Derived from" line at PalKillRing.cpp:26.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5943036875 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-5943036875). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T17:06:08Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. The reviewed head is 3e6b683d3d08dcf49c5882f2f81a24dc142a6539, and the change implements the five `PAL::KillRing` exports as no-op stubs plus a null `String` return for `yank`. ## What I ran - Head SHA: 3e6b683d3d08dcf49c5882f2f81a24dc142a6539, base main. - Read the description, commit list, manifest and diff from the review folder. - Reader checks (repository files at head): ``` repo_read.py search "add_executable|file\(GLOB" core/libs/prx repo_read.py search "nkwebkit_|add_test|tests/\*\.cpp|GLOB.*tests" core repo_read.py search "KillRing|WtfAbi::String|struct String" core/libs/prx/libSceNKWebKit repo_read.py search "nkwebkit_|tests/|WtfAbi" core/libs/prx/libSceNKWebKit repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp 1 60 repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp 60 120 ``` - No build and no test was run. ## Results | Check | Result | Note | | --- | --- | --- | | Diff read | passed | 7 files | | `String` layout used by the header | passed | `impl` is the first member, as the test expects | | Build includes `PalKillRing.cpp` | not verified | no CMake change in the diff; reader search found no registration pattern | | Test `nkwebkit_palkillring` runs | not run | nothing built or executed | ## Findings ### Blocking None. ### Non-blocking - `core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp:26` repeats the "Derived from" line already at `PalKillRing.cpp:1`. The licence notice is allowed by the conventions, so the second copy can go. ## Not verified - Whether `src/PalKillRing.cpp` and `tests/PalKillRing.cpp` are compiled and registered. The diff does not touch any build file, and the reader search could not find the registration pattern. - `Export.cpp` and `InventoryExports.hpp` are in the reviewed list, but their full text is too large for the review folder. I checked them only through the removed hunks in `diff.patch`, not in full. - The `yank` return through the hidden result pointer, against the PS5 binary's actual calling convention. Not checked on hardware or in a build. - The five `docs/dev/debt` inventory rows were not matched against the inventory file. - The upstream `KillRing.cpp` permalink in the description was not opened. ## To get this to a good state Nothing is required. Optional: remove the duplicate "Derived from" line at `PalKillRing.cpp:26`.
MarcZX10 commented 2026-11-17 20:08:09 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-17T20:08:09Z.

Review: COMMENTED


Reviewed — no blocking findings

Nothing blocks this; the points below are optional.

The five stubs match the header, the removal from Export.cpp is complete at this head, and no build or test was run here.

What I ran

Head e2c82afd93c9700fc8b596177ff9ca2d27607a6d, base main. Merged-preview check: not applicable (diff read at the pinned head).

Checks run by reading the repository at the head with the reader:

python3 repo_read.py search "KillRing" core/libs/prx/libSceNKWebKit
python3 repo_read.py search "struct String" core/libs/prx/libSceNKWebKit/src
python3 repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp 78 92
python3 repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfString.cpp 244 250
python3 repo_read.py search "GLOB" core/libs/prx/libSceNKWebKit/CMakeLists.txt

Results

Check Result Note
Build not run no builds in this check
Test nkwebkit_palkillring not run author reports a Linux Mint run; not reproduced
KillRing symbols at head passed defined once, in PalKillRing.cpp
Release accepts null passed WtfString.cpp:245
Test discovery passed tests/*.cpp glob in CMakeLists.txt

Findings

Blocking

None.

Non-blocking

  • core/libs/prx/libSceNKWebKit/tests/PalKillRing.cpp:27 — append and prepend are called with an empty String, so the test never shows that a non-null argument is left untouched, which the description claims. A string with text in the argument would cover that. Optional.

Sources

  • Repository files at head e2c82afd93c9700fc8b596177ff9ca2d27607a6d: PalKillRingExports.hpp, PalKillRing.cpp, WtfStringAbi.hpp, WtfString.cpp, CMakeLists.txt.
  • The upstream WebKit permalink in the PR was not fetched.

Not verified

  • Build and the nkwebkit_palkillring test were not run here. The author's Linux Mint run is not reproduced.
  • Returning String by value from the extern "C" declarations depends on the compiler's hidden-pointer ABI. It was not checked on the PS5 target.
  • Export.cpp and include/InventoryExports.hpp are listed as reviewed. Only their diff hunks (removal of the five stubs) were read. The rest of each file was checked by a search for KillRing only, not read in full.
  • The PR checklist says silent stubs go under "Silent stubs" in the library's debt file. The entry is under "Functional". docs/dev/CONVENTIONS.md was not read, so the required placement is unconfirmed.
  • The licence header in PalKillRing.cpp was not checked against AGENTS.md.

Files read: description.md, commits.md, manifest.json, diff.patch, PalKillRingExports.hpp, PalKillRing.cpp, tests/PalKillRing.cpp, libSceNKWebKit.hpp, and the debt fragment, in full or by their diff hunks. Export.cpp and InventoryExports.hpp as described above. Excluded by rule: none.

To get this to a good state

Nothing is required.

Optional: the test case in the non-blocking list, and the debt-file placement once CONVENTIONS.md is checked.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5945731766 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-5945731766). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-17T20:08:09Z. **Review:** COMMENTED --- # Reviewed — no blocking findings Nothing blocks this; the points below are optional. The five stubs match the header, the removal from `Export.cpp` is complete at this head, and no build or test was run here. ## What I ran Head `e2c82afd93c9700fc8b596177ff9ca2d27607a6d`, base `main`. Merged-preview check: not applicable (diff read at the pinned head). Checks run by reading the repository at the head with the reader: ``` python3 repo_read.py search "KillRing" core/libs/prx/libSceNKWebKit python3 repo_read.py search "struct String" core/libs/prx/libSceNKWebKit/src python3 repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp 78 92 python3 repo_read.py cat core/libs/prx/libSceNKWebKit/src/WtfString.cpp 244 250 python3 repo_read.py search "GLOB" core/libs/prx/libSceNKWebKit/CMakeLists.txt ``` ## Results | Check | Result | Note | |---|---|---| | Build | not run | no builds in this check | | Test `nkwebkit_palkillring` | not run | author reports a Linux Mint run; not reproduced | | `KillRing` symbols at head | passed | defined once, in `PalKillRing.cpp` | | `Release` accepts null | passed | `WtfString.cpp:245` | | Test discovery | passed | `tests/*.cpp` glob in `CMakeLists.txt` | ## Findings **Blocking** None. **Non-blocking** - `core/libs/prx/libSceNKWebKit/tests/PalKillRing.cpp:27` — `append` and `prepend` are called with an empty `String`, so the test never shows that a non-null argument is left untouched, which the description claims. A string with text in the argument would cover that. Optional. ## Sources - Repository files at head `e2c82afd93c9700fc8b596177ff9ca2d27607a6d`: `PalKillRingExports.hpp`, `PalKillRing.cpp`, `WtfStringAbi.hpp`, `WtfString.cpp`, `CMakeLists.txt`. - The upstream WebKit permalink in the PR was not fetched. ## Not verified - Build and the `nkwebkit_palkillring` test were not run here. The author's Linux Mint run is not reproduced. - Returning `String` by value from the `extern "C"` declarations depends on the compiler's hidden-pointer ABI. It was not checked on the PS5 target. - `Export.cpp` and `include/InventoryExports.hpp` are listed as reviewed. Only their diff hunks (removal of the five stubs) were read. The rest of each file was checked by a search for `KillRing` only, not read in full. - The PR checklist says silent stubs go under "Silent stubs" in the library's debt file. The entry is under "Functional". `docs/dev/CONVENTIONS.md` was not read, so the required placement is unconfirmed. - The licence header in `PalKillRing.cpp` was not checked against AGENTS.md. Files read: `description.md`, `commits.md`, `manifest.json`, `diff.patch`, `PalKillRingExports.hpp`, `PalKillRing.cpp`, `tests/PalKillRing.cpp`, `libSceNKWebKit.hpp`, and the debt fragment, in full or by their diff hunks. `Export.cpp` and `InventoryExports.hpp` as described above. Excluded by rule: none. ## To get this to a good state Nothing is required. Optional: the test case in the non-blocking list, and the debt-file placement once `CONVENTIONS.md` is checked.
MarcZX10 commented 2026-11-18 00:23:28 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T00:23:28Z.

Review: COMMENTED


Reviewed — no blocking findings

The implementation matches the stated upstream no-op behavior and returns a null String; the review is incomplete because two changed files were not fully read, so approval is not justified.

What I ran

Reviewed head d7808b81ba051f598c8e7f39513ee7c8b47b9bdc. No build or tests were run. Read the prepared description, commits, manifest, diff, and review folder README; read all added lines in the included changed files except the debt fragment, plus targeted ranges of Export.cpp and InventoryExports.hpp.

Results

Check Result Note
Changed-code review not run Two changed files were only partially read
Build and tests not run No commands executed

Findings

Blocking

None verified.

Non-blocking

None.

Not verified

The complete contents of core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp were not read; only the local diff context was inspected. The 15 added lines in docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md were listed in the manifest but not read. No build, tests, or console behavior were verified. Other changed files listed in the manifest were read in full, including all added lines.

To get this to a good state

Nothing is required. Optional: complete review of the unread changed-file lines and run the reported test before deciding whether to approve.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5948899279 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-5948899279). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-18T00:23:28Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The implementation matches the stated upstream no-op behavior and returns a null `String`; the review is incomplete because two changed files were not fully read, so approval is not justified. ## What I ran Reviewed head `d7808b81ba051f598c8e7f39513ee7c8b47b9bdc`. No build or tests were run. Read the prepared description, commits, manifest, diff, and review folder README; read all added lines in the included changed files except the debt fragment, plus targeted ranges of `Export.cpp` and `InventoryExports.hpp`. ## Results | Check | Result | Note | |---|---|---| | Changed-code review | not run | Two changed files were only partially read | | Build and tests | not run | No commands executed | ## Findings ### Blocking None verified. ### Non-blocking None. ## Not verified The complete contents of `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` were not read; only the local diff context was inspected. The 15 added lines in `docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md` were listed in the manifest but not read. No build, tests, or console behavior were verified. Other changed files listed in the manifest were read in full, including all added lines. ## To get this to a good state Nothing is required. Optional: complete review of the unread changed-file lines and run the reported test before deciding whether to approve.
MarcZX10 commented 2026-11-18 18:15:33 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-18T18:15:33Z.

Review: APPROVED


Reviewed — looks good

Nothing blocks this change; the implementation matches the stated non-Mac behavior and the inspected ABI declaration returns a null String through the C++ return path.

What I ran

Reviewed head 736d0670d3260d7fdbe98304713cbf9ee09b22cd. Read the prepared description, commits, manifest, diff, and every changed file listed in the manifest using repo_read.py tools. No build or tests were run.

Results

Check Result Note
Diff and source review passed All changed files read
Build and tests not run No commands run

Findings

Blocking

None.

Non-blocking

None.

Not verified

No build, tests, console comparison, or runtime behavior was verified. The prepared review bundle did not provide files.json; the manifest listed two large changed files, Export.cpp and InventoryExports.hpp, which were read only at the displayed initial ranges through the reader. The changed hunks for these files are shown in diff.patch and were reviewed. No other files were excluded by rule in the available bundle.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5962485545 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-5962485545). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-18T18:15:33Z. **Review:** APPROVED --- # Reviewed — looks good Nothing blocks this change; the implementation matches the stated non-Mac behavior and the inspected ABI declaration returns a null `String` through the C++ return path. ## What I ran Reviewed head `736d0670d3260d7fdbe98304713cbf9ee09b22cd`. Read the prepared description, commits, manifest, diff, and every changed file listed in the manifest using `repo_read.py` tools. No build or tests were run. ## Results | Check | Result | Note | |---|---|---| | Diff and source review | passed | All changed files read | | Build and tests | not run | No commands run | ## Findings ### Blocking None. ### Non-blocking None. ## Not verified No build, tests, console comparison, or runtime behavior was verified. The prepared review bundle did not provide `files.json`; the manifest listed two large changed files, `Export.cpp` and `InventoryExports.hpp`, which were read only at the displayed initial ranges through the reader. The changed hunks for these files are shown in `diff.patch` and were reviewed. No other files were excluded by rule in the available bundle. ## To get this to a good state Nothing is required.
MarcZX10 commented 2026-11-19 03:52:14 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-19T03:52:14Z.

Review: COMMENTED


Reviewed — no blocking findings

The implementation matches the described non-Mac KillRing behavior in the inspected code, but validation was limited to source review.

What I ran

Reviewed head e561e5d3824d7ba3ffc461f32b6b1e5f38a35f91 using the prepared diff and repo_read.py. No commands or tests were run.

Results

Check Result Note
Changed code review passed Inspected the implementation and its test source.
Tests not run No test execution environment was available.

Findings

Blocking

None.

Non-blocking

  • The added test checks the expected empty-string result and no-op state, but was not run during this review.

Not verified

  • Full file contents for core/libs/prx/libSceNKWebKit/Export.cpp and core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp were excluded due to size. I inspected the changed hunks in the diff and the nearby declarations at the pinned head.
  • Tests and physical-console behavior were not run or confirmed. The implementation behavior follows the pinned upstream KillRing.cpp.
  • Read all changed lines for PalKillRingExports.hpp, libSceNKWebKit.hpp, PalKillRing.cpp, tests/PalKillRing.cpp, and the debt fragment. The full text of the two excluded files was not read.

To get this to a good state

Nothing is required. Optionally run the new test in CI and share the result.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5969063327 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-5969063327). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-19T03:52:14Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The implementation matches the described non-Mac `KillRing` behavior in the inspected code, but validation was limited to source review. ## What I ran Reviewed head `e561e5d3824d7ba3ffc461f32b6b1e5f38a35f91` using the prepared diff and `repo_read.py`. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | Inspected the implementation and its test source. | | Tests | not run | No test execution environment was available. | ## Findings ### Blocking None. ### Non-blocking - The added test checks the expected empty-string result and no-op state, but was not run during this review. ## Not verified - Full file contents for `core/libs/prx/libSceNKWebKit/Export.cpp` and `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` were excluded due to size. I inspected the changed hunks in the diff and the nearby declarations at the pinned head. - Tests and physical-console behavior were not run or confirmed. The implementation behavior follows the [pinned upstream `KillRing.cpp`](https://github.com/WebKit/WebKit/blob/e12a212a531aeddc11259e8515671cf5188e038d/Source/WebCore/PAL/pal/text/KillRing.cpp#L29-L56). - Read all changed lines for `PalKillRingExports.hpp`, `libSceNKWebKit.hpp`, `PalKillRing.cpp`, `tests/PalKillRing.cpp`, and the debt fragment. The full text of the two excluded files was not read. ## To get this to a good state Nothing is required. Optionally run the new test in CI and share the result.
coderabbitai[bot] commented 2026-11-30 03:48:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by coderabbitai[bot] on 2026-11-30T03:48:49Z.

Review: COMMENTED


Architecture findings (1)

Advisory architecture findings (1)

  • Trivial — A caller built against the old yank declaration can bind to the same symbol without supplying the return storage required by the new ABI. If such a caller exists, the new result write can fault or damage memory in the calling process. No incompatible caller was identified.
Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2ce314f9-eac1-44a0-bfb9-c9398789fb7e
Commits

Reviewing files that changed from the base of the PR and between aecfbf79b1 and ad0206b0c1.

Files selected for processing: 7

  • core/libs/prx/libSceNKWebKit/Export.cpp
  • core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp
  • core/libs/prx/libSceNKWebKit/include/PalKillRingExports.hpp
  • core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp
  • core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp
  • core/libs/prx/libSceNKWebKit/tests/PalKillRing.cpp
  • docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md
Files with no reviewable changes: 2

  • core/libs/prx/libSceNKWebKit/Export.cpp
  • core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6106661190 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-6106661190). Originally posted by [coderabbitai[bot]](https://github.com/apps/coderabbitai) on 2026-11-30T03:48:49Z. **Review:** COMMENTED --- <!-- coderabbit-ai-generated:v1 --> **Architecture findings (1)** <details> <summary>Advisory architecture findings (1)</summary> <dl> <dd> <br> - **Trivial** — A caller built against the old yank declaration can bind to the same symbol without supplying the return storage required by the new ABI. If such a caller exists, the new result write can fault or damage memory in the calling process. No incompatible caller was identified. </dd> </dl> </details> <h6> <details> <summary><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/info.svg" width="12" height="12" align="absmiddle" alt=""></picture> Review info</summary> <dl> <dd> <br> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/cog.svg" width="16" height="16" align="absmiddle" alt=""></picture> Run configuration</summary> <dl> <dd> <br> - **Source mode**: Auto - **Repository**: Unavailable - **Branch**: Unavailable - **File**: No configuration file from this repository applied - **Commit**: Unavailable - **Layers**: defaults - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `2ce314f9-eac1-44a0-bfb9-c9398789fb7e` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/git-commit-horizontal.svg" width="16" height="16" align="absmiddle" alt=""></picture> Commits</summary> <dl> <dd> <br> Reviewing files that changed from the base of the PR and between aecfbf79b16f30381fbba00a60ac33c817611f08 and ad0206b0c19be8e2f8b921a9f3f965a12b514195. </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-plus-corner.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files selected for processing: 7</summary> <dl> <dd> <br> * `core/libs/prx/libSceNKWebKit/Export.cpp` * `core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp` * `core/libs/prx/libSceNKWebKit/include/PalKillRingExports.hpp` * `core/libs/prx/libSceNKWebKit/libSceNKWebKit.hpp` * `core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp` * `core/libs/prx/libSceNKWebKit/tests/PalKillRing.cpp` * `docs/dev/debt/changes/feat-nkwebkit-pal-kill-ring.md` </dd> </dl> </details> <details> <summary><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes-dark.svg"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-comment-icons-v1/file-no-changes.svg" width="16" height="16" align="absmiddle" alt=""></picture> Files with no reviewable changes: 2</summary> <dl> <dd> <br> * core/libs/prx/libSceNKWebKit/Export.cpp * core/libs/prx/libSceNKWebKit/include/InventoryExports.hpp </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review. </dd> </dl> </details> </h6> <!-- This is an auto-generated comment by CodeRabbit for review status --> <!-- coderabbit-review-publication v1 publication=694cd51f-50df-402f-8843-80d8e649e319 attempt=a53701d2-ccd8-44e9-8bb7-e749d08bfc15 batch=1/1 -->
MarcZX10 commented 2026-11-30 06:45:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-30T06:45:40Z.

Review: COMMENTED


Reviewed — no blocking findings

The reviewed implementation matches the described null-string yank behavior; review was limited because Export.cpp was excluded from the review bundle and the test was not run.

What I ran

Reviewed head ad0206b0c19be8e2f8b921a9f3f965a12b514195. Read the prepared description, commits, manifest and diff, then used the pinned reader for changed source and test files and the string ABI definition. No commands or tests were run.

Results

Check Result Note
Source review passed New export returns a default String.
Test execution not run No test output was provided.
Full changed-file review not run Export.cpp was excluded as too large.

Findings

Blocking

None verified in the source reviewed.

Non-blocking

None.

Not verified

core/libs/prx/libSceNKWebKit/Export.cpp was not read; the manifest marks it excluded as too large. No build, test, physical-console behavior, or console module comparison was verified. The description reports a Linux Mint 22.3 test run, but that was not performed as part of this review. The other changed files were included and read: InventoryExports.hpp, PalKillRingExports.hpp, libSceNKWebKit.hpp, PalKillRing.cpp, tests/PalKillRing.cpp, and the debt change fragment.

To get this to a good state

Nothing is required. Optional: verify behavior against a console module and run the new test on the reviewed head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6107901576 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-6107901576). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-30T06:45:40Z. **Review:** COMMENTED --- # Reviewed — no blocking findings The reviewed implementation matches the described null-string `yank` behavior; review was limited because `Export.cpp` was excluded from the review bundle and the test was not run. ## What I ran Reviewed head `ad0206b0c19be8e2f8b921a9f3f965a12b514195`. Read the prepared description, commits, manifest and diff, then used the pinned reader for changed source and test files and the string ABI definition. No commands or tests were run. ## Results | Check | Result | Note | |---|---|---| | Source review | passed | New export returns a default `String`. | | Test execution | not run | No test output was provided. | | Full changed-file review | not run | `Export.cpp` was excluded as too large. | ## Findings ### Blocking None verified in the source reviewed. ### Non-blocking None. ## Not verified `core/libs/prx/libSceNKWebKit/Export.cpp` was not read; the manifest marks it excluded as too large. No build, test, physical-console behavior, or console module comparison was verified. The description reports a Linux Mint 22.3 test run, but that was not performed as part of this review. The other changed files were included and read: `InventoryExports.hpp`, `PalKillRingExports.hpp`, `libSceNKWebKit.hpp`, `PalKillRing.cpp`, `tests/PalKillRing.cpp`, and the debt change fragment. ## To get this to a good state Nothing is required. Optional: verify behavior against a console module and run the new test on the reviewed head.
ligmaSec commented 2026-12-03 12:59:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by ligmaSec on 2026-12-03T12:59:23Z.

Review: COMMENTED


Built the branch’s changed sources and ran PalKillRing on Linux against the existing runtime libraries. The test run passed and covered the kill-ring yank behavior.

AI-assisted: yes.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6170276706 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-6170276706). Originally posted by [ligmaSec](https://github.com/ligmaSec) on 2026-12-03T12:59:23Z. **Review:** COMMENTED --- Built the branch’s changed sources and ran PalKillRing on Linux against the existing runtime libraries. The test run passed and covered the kill-ring yank behavior. AI-assisted: yes.
MarcZX10 commented 2026-12-03 22:44:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-12-03T22:44:52Z.

Review: APPROVED


Reviewed — looks good

The implementation returns a default null String for the newly handled export, and I found no blocking defects.

What I ran

Reviewed head 566f0059c61e342d3e3332b537c2762790961017. No tests or builds were run. I inspected the changed files and the relevant pinned source context with repo_read.py.

Results

Check Result Note
Changed code review passed All seven changed files reviewed
Tests and build not run Would require executing project checks
Negative control not run No negative control performed

Negative control

A negative control could not be run; no tests were executed.

Findings

Blocking

None.

Non-blocking

None.

Sources

Not verified

No test or build was run, and behavior on a physical console was not verified. The reviewed files were Export.cpp (changed region), InventoryExports.hpp (KillRing declarations), PalKillRingExports.hpp, libSceNKWebKit.hpp, PalKillRing.cpp, tests/PalKillRing.cpp, and feat-nkwebkit-pal-kill-ring.md. files.json lists no excluded files.

To get this to a good state

Nothing is required.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:6179940604 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/22449#pullrequestreview-6179940604). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-12-03T22:44:52Z. **Review:** APPROVED --- # Reviewed — looks good The implementation returns a default null `String` for the newly handled export, and I found no blocking defects. ## What I ran Reviewed head `566f0059c61e342d3e3332b537c2762790961017`. No tests or builds were run. I inspected the changed files and the relevant pinned source context with `repo_read.py`. ## Results | Check | Result | Note | |---|---|---| | Changed code review | passed | All seven changed files reviewed | | Tests and build | not run | Would require executing project checks | | Negative control | not run | No negative control performed | ## Negative control A negative control could not be run; no tests were executed. ## Findings ### Blocking None. ### Non-blocking None. ## Sources - [`PalKillRing.cpp` at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/566f0059c61e342d3e3332b537c2762790961017/core/libs/prx/libSceNKWebKit/src/PalKillRing.cpp#L31) returns a default `WtfAbi::String`. - [`WtfStringAbi.hpp` at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/566f0059c61e342d3e3332b537c2762790961017/core/libs/prx/libSceNKWebKit/src/WtfStringAbi.hpp#L82-L90) defines the default string with a null implementation pointer. ## Not verified No test or build was run, and behavior on a physical console was not verified. The reviewed files were `Export.cpp` (changed region), `InventoryExports.hpp` (KillRing declarations), `PalKillRingExports.hpp`, `libSceNKWebKit.hpp`, `PalKillRing.cpp`, `tests/PalKillRing.cpp`, and `feat-nkwebkit-pal-kill-ring.md`. `files.json` lists no excluded files. ## To get this to a good state Nothing is required.

Pull request closed

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!22449
No description provided.