refactor(prx): name the AbstractYoutube and CustomMusicPlayReady4 stubs the NID database resolves #15405
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/15405"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by ItsJustChrisE on 2026-11-03T05:44:44Z.
What
Names 59
*Unknown_*exports thattools/nid_names.pyresolves through its pinned aerolib database (statusrename-ready), as #14884 did for libSceAbstractStorage, libSceIpmi and libSceTEEClient: all 37 in libSceAbstractYoutube and 22 of the 82 in libSceCustomMusicPlayReady4.Every body still throws through
NotImplemented_nid_no_patch, and each library exports the same NIDs as onmain. A title that reaches one now fails with the function's name instead of the placeholder's. The other 60 libSceCustomMusicPlayReady4 placeholders resolve to no name and stay as they are.Tested
Ubuntu 26.04 on WSL2, GCC 15.2.0, Release,
maind1ae628bc2. No title or homebrew run.compute_nid(name) == nidfor all 59.nm -Don the patched.prxfiles ofmainand this branch, ignoring the removed_nid_no_patchhelper names: identical NID sets (76, 82).ctest -R 'public_headers|patched_librar': 66 of 66 passed.tools/check_conventions.py --base origin/main: passed.tools/pr_overlap.py --branch: 1714 open pull requests probed. Only draft #14212 shares a file,docs/dev/debt/libSceAbstractYoutube.md. It already conflicts withmainover that file, and this branch adds no further conflict there. No shared code or exports.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-03T05:51:11Z.
Review: COMMENTED
Reviewed — no blocking findings
At head
0a98ec4778cd07fa6da5ba3687cb86fd825b8ced, the 59 renamed stubs preserve their prior NIDs and remain throwing placeholders; hosted checks are pending, so I am commenting rather than approving.What I ran
Reviewed all seven changed files at head
0a98ec4778cd07fa6da5ba3687cb86fd825b8cedagainst based1ae628bc2f62459cce1e9872ba5632c938c71f2; the merge preview is clean. Environment: Debian Linux x86_64, Python 3.11.2, GCC 12.2.0. I ran the repository precheck, a no-compile public-header audit on a detached worktree at the exact head, and an NID cross-check against the repository's pinned aerolib database. No AnyPS5 build or CTest was run.The NID check paired old explicit aliases with replacement names in definition order and queried the prior NIDs through
tools/nid_names.pyat the pinned aerolib database revision. It returned 59 matches and no mismatches. The exact comparison script, run from the detached worktree at the reviewed head, was:I also confirmed the export definitions still call
NotImplemented_nid_no_patch(__func__)and that declarations remain reachable through the library umbrellas.Results
Precheck summary and unedited command output
The precheck's unedited check table:
The two optional precheck failures were:
Negative control
Not applicable to the intended rename-only change: no implementation behavior or new test assertion was added. I did not build the PR to compare
.prxbinaries; that binary comparison is reported by the author, not reproduced here.Findings
Blocking
None found in the reviewed changes.
Non-blocking
The symbol database establishes name-to-NID matches, not function signatures or behavior. The PR keeps these exports as throwing placeholders and retains the signature/behavior uncertainty in the debt notes, which is consistent with that evidence.
Sources
Not verified
No compiled
.prxexport comparison, Windows build, wider test suite, title/homebrew run, or function signature/behavior was independently verified. The author reports 66 focused test cases and identical NID sets; those results were not reproduced. Open-PR overlap could not be confirmed because the overlap tool rejected GitHub's paginated response as invalid JSON. Hosted checks were pending at the final refresh.To get this to a good state
No code change is requested from this source review. I will revisit the exact head when hosted checks complete; if the head changes, I will rerun the precheck, NID mapping and public-header audit and review the new diff.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-03T07:35:48Z.
Review: APPROVED
Re-checked — same head, looks good
The exact-head source review found no blocking issue, and all applicable required hosted checks have now passed.
What I ran
Re-checked open PR #15405 at head
0a98ec4778cd07fa6da5ba3687cb86fd825b8cedagainst based1ae628bc2f62459cce1e9872ba5632c938c71f2; the source diff is unchanged from the earlier review. Environment: Debian Linux x86_64, GitHub CLI. No local build or CTest was run.Results
Unedited hosted check output
Findings
Blocking
None found in the reviewed source change.
Non-blocking
The name database supports the renamed NID associations, not the functions' signatures or runtime behavior; those exports remain throwing placeholders and the PR records that limitation.
Sources
Not verified
No local build, CTest, Windows runtime, title/homebrew behavior or console behavior was run. The focused test and binary NID comparison in the PR description are author-reported, not independently reproduced here.
To get this to a good state
No code change is requested for this reviewed head. If the head changes, I will review the new diff and rerun applicable checks.