Repository navigation
feat(libSceNpCppWebApi): cover the UserProfile models and remaining Common instantiations - #9015
Conversation
Progress report (b27cc84 → 7a95148)📈 System libraries: 50.64% (+0.04%, +50 implemented, +37 declared functions) ✅ 50 implemented
⚪ 34 behaviourally empty (constant return or throw)
🆕 37 declared as stubs
Changed libraries (implemented exports)
|
02ec84b to
2ab9e22
Compare
|
I opened #9612 to preserve aliased inputs in the existing |
|
@akkadbakkad89 This PR carries #8959, so it needs the same two
Once #8959 has its fix, rebasing this onto it picks those changes up as well. |
|
@akkadbakkad89 #8561 just merged, and it adds libSceNpCppWebApi instantiations in the same files as this PR, so the PR now conflicts with main. The export sets don't overlap, but the hunks interleave in many places, so it's best resolved on your side. Could you rebase onto main? That's a good moment to fold in the small change still open from the earlier review too. |
2ab9e22 to
405dad3
Compare
|
@oneandonlydean rebased onto
#8959 carries the same fixes under it ( AI-assisted: yes (Devin). |
|
Tested head
AI-assisted: yes (Claude Code); results above were run on this machine. |
|
@akkadbakkad89 Thanks for the rebase. One thing before this can merge: none of the 87 new exports is called by a registered test, so the existing |
…ommon instantiations Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
405dad3 to
9b8debb
Compare
|
Registered coverage for the new exports is in at
Red/green verified: against The rebase also surfaced a real gap: the 87 new exports had no |
|
@akkadbakkad89 Thanks, the new registered coverage answers #9015 (comment): the copy/destructor refcount checks, the 0x30 One small change: please drop the |
…istered tests Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
9b8debb to
7a95148
Compare
|
Done at |
|
@akkadbakkad89 Two of my PRs overlap this one textually; the overlap bot lists both:
Each resolution keeps both sides unchanged. Both of mine have approved code, so I'd propose they land first and this one after, with |
|
Go ahead — both PRs verified: #10925 (2 approvals) edits the destructor table and the |
What
Second slice of the
libSceNpCppWebApiimports a title dump (PPSA20397) ships without the module for: 87 further exports the registry records as used, plus the four previously-throwingContainerApiexports in scope (ParameterToGetContainer::{initialize,terminate,dtor}andgetContainer).All names resolve through aerolib, so each exported symbol recomputes to the NID the title imports. The classes are:
Commoninstantiations forUserProfileandCommunicationRestrictionStatustypes —IntrusivePtrcopy/deref/assign/destroy,Transaction/TransactionBaselifecycle andVector/Iterator/ConstIteratormembers — using the layouts and helpers established in the fileUserProfile::V1models —BasicProfile,BasicPresence,PersonalDetailandGet*Responseaccessors, plusParameterToGet{PublicProfiles,Friends,BlockingUsers}bookkeeping and theBasicProfileApi::getPublicProfilesverbInGameCatalog::V5::ContainerApi—ParameterToGetContainerlifecycle andgetContainerOffline semantics follow the file's documented model: request entry points and transaction
start/getResponse/sendData/readDatafail withSCE_NP_WEBAPI_ERROR_NOT_SIGNED_IN; parameter bookkeeping, constructors and destructors succeed without keeping state; response accessors,*IsSetqueries,Vector::begin/end, iterator dereference/compare and transactionabort/getId/operator=throw, because a failed request produces no response object and these model layouts are unverified. Everything is generic — no title IDs, paths or trace-specific inputs are special-cased.Overlap: the overlap report flags #8264, #8561 and #8843 because the same two files receive additions, and #8959 because this branch is stacked on it. The export sets are disjoint at the NID level — these 87 are the registry imports minus everything #8959 and #8561 cover, and none of the open PRs' patches mention any of these symbols.
Tested
g++ -fsyntax-onlyon the updatedExport.cpp(GCC, WSL)guest_np_cpp_web_api_stringharness compiled and run against the file: all sub-tests passtools/check_conventions.py --base origin/main: passtools/pr_overlap.py --branch feat/np-webapi-up-generics: textual file-tail collisions only; no shared exportstools/import_audit.py); the imports now resolve instead of failing the loader. The title itself still stops at the unrelated AGC stencil replay-safety gate before reaching these flowsChecklist
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)