feat(libSceJson2): declare 74 PS5 pending exports #9517

Merged
xdCloudy merged 1 commit from upstream-pr/9517 into main 2026-10-23 03:44:04 +00:00
xdCloudy commented 2026-10-22 00:03:20 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T00:03:20Z.


What

Adds 74 pending libSceJson2 import declarations from the PS5 3.20 export inventory. Each declaration calls NotImplemented_nid_no_patch; prototypes and behavior remain unverified, so these entries support import resolution only and make no ABI claim. The technical-debt file records every added mangled export name and NID.

The NIDs were recomputed from all 74 names and matched the inventory. An exact library/NID audit was refreshed against upstream main (d6eafa54d0464258574fd2f71889754d05a5bc93) and the live open-PR set; all 74 candidates remain distinct. The live tools/pr_overlap.py scan reported no duplicate exports; it could not compare shared files in #6039, #6044, and #7215 because those PRs conflict with the base. I manually reviewed the patches: #6039 adds four different functions in a separate debt entry; #6044 changes test paths and registration; #7215 changes test registration, numeric conversion, and separate debt entries; #8530 changes only Export.cpp. These do not overlap the added declarations, source-list entry, or appended debt entries. No dependency is required.

Tested

  • Windows: libSceJson2 compiled and linked successfully on the rebased head
  • Ubuntu under WSL: libSceJson2 compiled and linked successfully on the rebased head
  • python -I tools/check_conventions.py --base upstream/main --head HEAD — passed on the rebased head
  • git diff --check — passed
  • tools/pr_overlap.py --branch feat/ps5-json2-inventory-74 --repo boykopovar/AnyPS5 — no duplicate exports; manual review covered #6039, #6044 and #7215
  • GitHub checks on the current PR head: conventions, eligibility, intake, labels, and report passed. Linux, Windows, relinker, relinker-asan, register-context, and write-watch jobs were skipped; no hosted product build is claimed

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 (not applicable)
  • 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:4960006086 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T00:03:20Z. --- ### What Adds 74 pending `libSceJson2` import declarations from the PS5 3.20 export inventory. Each declaration calls `NotImplemented_nid_no_patch`; prototypes and behavior remain unverified, so these entries support import resolution only and make no ABI claim. The technical-debt file records every added mangled export name and NID. The NIDs were recomputed from all 74 names and matched the inventory. An exact library/NID audit was refreshed against upstream `main` (`d6eafa54d0464258574fd2f71889754d05a5bc93`) and the live open-PR set; all 74 candidates remain distinct. The live `tools/pr_overlap.py` scan reported no duplicate exports; it could not compare shared files in #6039, #6044, and #7215 because those PRs conflict with the base. I manually reviewed the patches: #6039 adds four different functions in a separate debt entry; #6044 changes test paths and registration; #7215 changes test registration, numeric conversion, and separate debt entries; #8530 changes only `Export.cpp`. These do not overlap the added declarations, source-list entry, or appended debt entries. No dependency is required. ### Tested - Windows: `libSceJson2` compiled and linked successfully on the rebased head - Ubuntu under WSL: `libSceJson2` compiled and linked successfully on the rebased head - `python -I tools/check_conventions.py --base upstream/main --head HEAD` — passed on the rebased head - `git diff --check` — passed - `tools/pr_overlap.py --branch feat/ps5-json2-inventory-74 --repo boykopovar/AnyPS5` — no duplicate exports; manual review covered #6039, #6044 and #7215 - GitHub checks on the current PR head: conventions, eligibility, intake, labels, and report passed. Linux, Windows, relinker, relinker-asan, register-context, and write-watch jobs were skipped; no hosted product build is claimed <!-- OS, title or homebrew, what was checked. "Not tested" is a valid answer. A performance change: the summary lines of main and of this PR from the same machine and scene, with the traces attached, captured as the Performance report issue form describes. --> ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [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 (not applicable) - [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-10-22 00:07:12 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T00:07:12Z.

Review: APPROVED


Reviewed the complete export-declaration diff and debt inventory. Each added alias resolves to a distinct mangled name; I independently recomputed all 74 NIDs with tools/nid_names.py’s algorithm and matched them against the debt entries. Every wrapper is marked _nid_no_patch and throws, and the PR explicitly makes no prototype or behavior claim. The author reports successful Windows and Ubuntu library builds, convention checks, and a clean overlap scan; current eligibility, intake, convention, label, and report checks pass. I did not run a local build.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5607722777 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#pullrequestreview-5607722777). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T00:07:12Z. **Review:** APPROVED --- Reviewed the complete export-declaration diff and debt inventory. Each added alias resolves to a distinct mangled name; I independently recomputed all 74 NIDs with `tools/nid_names.py`’s algorithm and matched them against the debt entries. Every wrapper is marked `_nid_no_patch` and throws, and the PR explicitly makes no prototype or behavior claim. The author reports successful Windows and Ubuntu library builds, convention checks, and a clean overlap scan; current eligibility, intake, convention, label, and report checks pass. I did not run a local build.
github-actions[bot] commented 2026-10-22 01:12:41 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-22T01:12:41Z.


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

Pull request Shared files not compared
PR 6039 docs/dev/debt/libSceJson2.md
PR 6044 core/libs/prx/libSceJson2/CMakeLists.txt
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330248418 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#issuecomment-6330248418). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-22T01:12:41Z. --- <!-- pr-overlap --> Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap. | Pull request | Shared files not compared | |---|---| | [PR 6039](https://www.github.com/boykopovar/AnyPS5/pull/6039) | `docs/dev/debt/libSceJson2.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/prx/libSceJson2/CMakeLists.txt` |
xdCloudy commented 2026-10-22 01:33:01 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T01:33:01Z.


Relevant: GitHub skipped comparisons with #6039, #6044, and #7215 because those branches conflict with base. I’ll manually review the shared Json2 debt/CMake changes and update this PR if they need coordination; this report does not itself identify duplicate exports.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6330513020 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#issuecomment-6330513020). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T01:33:01Z. --- Relevant: GitHub skipped comparisons with #6039, #6044, and #7215 because those branches conflict with base. I’ll manually review the shared Json2 debt/CMake changes and update this PR if they need coordination; this report does not itself identify duplicate exports.
MarcZX10 commented 2026-10-22 02:04:50 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T02:04:50Z.

Review: APPROVED


Rechecked the exact current head and the formerly incomplete shared-file audit. The author manually reviewed #6039/#6044/#7215: their changed functions, debt items, and CMake registration do not overlap these 74 new declarations/source-list edit; no new dependency is indicated. NID audit and declaration/debt scope remain clear. Eligibility, intake, conventions, labels and report checks pass; build jobs are skipped, with the author reporting Windows and Ubuntu library builds. I did not run a local build.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5608438757 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#pullrequestreview-5608438757). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T02:04:50Z. **Review:** APPROVED --- Rechecked the exact current head and the formerly incomplete shared-file audit. The author manually reviewed #6039/#6044/#7215: their changed functions, debt items, and CMake registration do not overlap these 74 new declarations/source-list edit; no new dependency is indicated. NID audit and declaration/debt scope remain clear. Eligibility, intake, conventions, labels and report checks pass; build jobs are skipped, with the author reporting Windows and Ubuntu library builds. I did not run a local build.
xdCloudy commented 2026-10-22 02:25:59 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:25:59Z.


Manual review complete for the skipped comparisons. #6039’s debt edit is separate from this PR’s pending-import entries. #6044 relocates the existing Json2 test source and registration; this PR adds its inventory export source to the target. #7215 adds a guest_json_numeric_locale registration beside the existing JSON test, while this PR does not change that test registration. The shared CMake block may need a small hunk reconciliation if #7215 lands first, but the changes serve distinct purposes and I found no duplicate export.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331188126 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#issuecomment-6331188126). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:25:59Z. --- Manual review complete for the skipped comparisons. #6039’s debt edit is separate from this PR’s pending-import entries. #6044 relocates the existing Json2 test source and registration; this PR adds its inventory export source to the target. #7215 adds a guest_json_numeric_locale registration beside the existing JSON test, while this PR does not change that test registration. The shared CMake block may need a small hunk reconciliation if #7215 lands first, but the changes serve distinct purposes and I found no duplicate export.
xdCloudy commented 2026-10-22 02:34:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by xdCloudy on 2026-10-22T02:34:23Z.


Correction to my prior note: the exact hunks are separate. This PR adds InventoryExports.cpp on the library declaration line; #7215 adds the numeric-locale test registration, and #6044 updates test paths/registration. The debt entries from #6039 and #7215 are separate from this PR’s import section. No hunk reconciliation or dependency is needed for the changes reviewed.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6331291622 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#issuecomment-6331291622). Originally posted by [xdCloudy](https://github.com/xdCloudy) on 2026-10-22T02:34:23Z. --- Correction to my prior note: the exact hunks are separate. This PR adds InventoryExports.cpp on the library declaration line; #7215 adds the numeric-locale test registration, and #6044 updates test paths/registration. The debt entries from #6039 and #7215 are separate from this PR’s import section. No hunk reconciliation or dependency is needed for the changes reviewed.
MarcZX10 commented 2026-10-22 11:46:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-22T11:46:19Z.


Current-head recheck: conventions/diff-check pass and the branch merges cleanly with today’s main. The only Json2 changes since its audited d6eafa54d base are #7215’s numeric-locale test registration and floating-point parse/format adjustments in Export.cpp; the exact NID declarations remain separate. Pairwise merge with open #9628 is clean, and its sce::Json::Array::pop_front change does not duplicate this batch. The branch is 1 ahead / 11 behind current main; please refresh and rerun the exact NID inventory audit, target build, conventions and live overlap scan against the current base/open set before merge.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6339952757 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/9517#issuecomment-6339952757). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-22T11:46:19Z. --- Current-head recheck: conventions/diff-check pass and the branch merges cleanly with today’s `main`. The only Json2 changes since its audited `d6eafa54d` base are #7215’s numeric-locale test registration and floating-point parse/format adjustments in `Export.cpp`; the exact NID declarations remain separate. Pairwise merge with open #9628 is clean, and its `sce::Json::Array::pop_front` change does not duplicate this batch. The branch is 1 ahead / 11 behind current `main`; please refresh and rerun the exact NID inventory audit, target build, conventions and live overlap scan against the current base/open set before merge.
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!9517
No description provided.