Repository navigation
feat(npcppwebapi): implement ten leaderboard entry accessors - #15885
oneandonlydean merged 9 commits into
Conversation
Progress report (6719b01 → 82c6436)📈 System libraries: 35.21% (+0.03%, +10 implemented functions) ✅ 10 implemented
Changed libraries (implemented exports)
|
488d39a to
210bbf1
Compare
210bbf1 to
7aae575
Compare
✅ AMD GPU test: passedPR head
Unstable on main (1, these also failed in recent main runs on this machine; not counted against this PR)Failing on main too (4, not counted against this PR)Validated but not compared (54, not in the main baseline's validation pass)Validation IDs already present on main (4 IDs in 501 tests)Skipped (7)ReproduceAutomated build and test on a contributor's AMD machine; it does not replace upstream CI. A new comment is posted for each new push. Full logs. |
|
Current integration (2026-11-05): head Rebuilt the actual NpCppWebApi library CMake owner and registered root CPU fixtures in isolated builds: 11/11 tests pass on main and on this head, zero skips. The same negative-control executable throws for all 3 selected new accessors on main and passes on this branch. Conventions and diff checks pass. This scoped qualification uses frozen main Current source diffs, owner recipe, paired build/test/XML logs and negative controls, SHA-256 AI-assisted: yes. |
# Conflicts: # core/libs/prx/libSceNpCppWebApi/include/Api.hpp
|
Merged Re-checked on Arch Linux 7.2.11, Release, AI-assisted: yes |
|
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
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.
|
# Conflicts: # docs/dev/debt/libSceNpCppWebApi.md
|
Merged Re-checked on Arch Linux 7.2.11, Release, AI-assisted: yes |
|
Refreshed to Actual NPCpp owner:14 CPU groups x3 on main and x3 on this head pass, zero skips. The same executable refuses all 3 selected borrowed-reference accessors on main and passes them here. Conventions and diff checks pass; the inherited long Entry debt warning remains. This uses the explicitly hashed frozen libc and is not a fresh full-SDK, Windows, SDK-module extraction, GPU or title result. Verified source/recipe/log/control evidence, SHA-256 AI-assisted: yes (Codex). |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
AI-assisted: yes |
Current maintenance — 2026-11-09: head
3649406b0f2c5e4b4833bd099a241f0239928769integrates main7259cce11195f360698772da8c0b3af756bf7c8fwhile preserving all ten authored Entry getter bodies byte-for-byte. The sole manual conflict was debt: main's newer factory, Activity and account-ID entries are retained together with this PR's measured Entry layouts and SDK-selection limits. No new getter or layout interpretation was added.Actual NPCpp production CMake owner and root CPU fixtures: 14 groups x3 pass on main and on the change, zero skips. The same executable refuses the three selected borrowed-reference accessors on main and passes them on the change. The scoped builds use the same frozen unpatched libc provider (SHA-256
92bfeb96760f7e1e2b00a3076cc6b6d6cc7e66dfced25e6cd75a6d0d9550cfc8); no fresh full-SDK, Windows, GPU or title coverage is claimed. Conventions and diff checks pass; one inherited long Entry debt warning remains. Earlier reports below retain their original pins.Source patches, recipes, source/provider pins, test logs, JUnit and controls, SHA-256
2e797c2aef4761b539b07876ca656dfd83ecb7a01938241cd7626bd9fa90311a. Download and all 70 manifest entries verified.Current integration (2026-11-05): head
1805540242dc0d0ef249687473ab440f879d209fincludes pinned maindd6efc7f0cb33345df4ca3f8c597050181343f56. Resolved the debt-file conflict by retaining main's twelve implemented factories, iterator status and other gaps, this branch's measured ParameterTo layouts, and its own accessor/collection boundaries. Source, headers and CMake merged without conflict.Rebuilt the actual NpCppWebApi library CMake owner and registered root CPU fixtures in isolated builds: 11/11 tests pass on main and on this head, zero skips. The same negative-control executable throws for all 3 selected new accessors on main and passes on this branch. Conventions and diff checks pass. This scoped qualification uses frozen main
080dbd08c6f83be5a1768af7d3342d701bf34d21libc, SHA-2561cf4ea0e65b2176081051ce4da6aebb3e90378c920d0d1049aec96eb03f6b41c; it is not a fresh full-SDK, Windows, GPU or title test. Initial setup with an older libc failed to linkNotImplementedAt_nid_no_patch; that setup failure is preserved in the logs, and all final builds use the compatible pinned provider above. Older evidence below retains its original source pins.Current source diffs, owner recipe, paired build/test/XML logs and negative controls, SHA-256
01cd9d2e5f67f397bd1f44cab7b2e936ff297f6fb075b3ccdc83028856f00aa4(download verified).What
Implement ten
Leaderboards::V1::Entryaccessors that currently throw:getHighestRankgetHighestSerialRankgetSerialRankgetPcIdPcIdvaluecommentIsSetobjectIdIsSetsmallDataIsSetgetCommentCommon::StringreferencegetObjectIdCommon::StringreferencegetSmallDataCommon::BinaryreferenceThe two immutable SDK modules bundled with PPSA21564 and PPSA05347 agree on these offsets and widths. The three references return embedded object addresses even when the corresponding presence flag is clear; they do not copy, allocate or change reference counts. The string getter declarations return object pointers rather than character-buffer pointers.
PcIdretains the stored value; no additional meaning or enum-range validation is assumed.This adds no online response construction or claimed title unblock. Incompatible RecordScore/BoardDefinition response layouts remain refusing and documented.
getAccountIdremains excluded because #14273 implements it. Activities collection getters remain excluded: backing reference-count offsets differ between the two SDKs, and one collection member moves too.Tested
Linux x86-64 / GCC16.2.1. Base
acac7c854182a1674162f5e623aa25a6469985ae, change56c712ef280cd95a919de16a4498613230a019e0; linear branch without merge commits.Rebuilt the library and all nine executable targets covering the complete root-registered NpCppWebApi owner suite.
ctest --test-dir build-full -R '^guest_np_cpp_web_api_' --no-tests=error -Vpasses 12/12 on main and12/12 on the change, no failures/skips, with source and library hashes stable during each arm. The fixture checks three objects, five value patterns (including signedPcIdbit patterns), all eight independent flag combinations, repeated mutation, borrowed-reference address identity and unchanged surrounding storage. Pointer checks prove aliases, not online object creation or server payload parsing.Two linked public-export controls for the newly added
commentIsSetandgetPcIdthrow their named refusal on main and read the actual flag/signed field with the change. Public header audit, conventions and whitespace checks pass.Current source patch, exact pins, complete logs/JUnit, negative controls, derived two-SDK reference summary and manual overlap review, SHA-256
df1712dc41ae7a630cf2ff606cf1247096fd5cfac8e3c40372b59c8d8688aa2c(download verified). No reference-module payload or disassembly is included. The previous eight-accessor validation retains its three borrowed-reference controls and the earlier five-accessor report retains its scalar/flag controls; current12/12 covers all ten accessors. This is an owner-suite rebuild in an existing full-project build, not a fresh whole-project build, GPU or title test. No new-head Windows result is claimed until its CI completes.The previous official overlap scan and full manual debt review are retained. For the two added fields, all six checked peer stacks still refuse them; fresh live state/overlap was checked before publication. These fields introduce no implementation dependency.
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)