Skip to content

feat(libSceNpCppWebApi): answer the singular public profile request offline - #11631

Merged
oneandonlydean merged 6 commits into
boykopovar:mainfrom
nicolasabosch:feat/npcppwebapi-public-profile-singular
Nov 2, 2026
Merged

oneandonlydean merged 6 commits into
boykopovar:mainfrom
nicolasabosch:feat/npcppwebapi-public-profile-singular

Conversation

@nicolasabosch

@nicolasabosch nicolasabosch commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

What

Adds the singular public profile request of UserProfile2V1 next to the plural one already in main, plus the Common instantiations around it:

  • BasicProfileApi::getPublicProfile, TransactionBase<IntrusivePtr<GetPublicProfileResponse>>::start and Transaction<...>::getResponse fail SCE_NP_WEBAPI_ERROR_NOT_SIGNED_IN, like every other offline request entry point.
  • BasicProfileApi::ParameterToGetPublicProfile {ctor,dtor,initialize,terminate}, the constructor and destructor of Transaction<IntrusivePtr<GetPublicProfileResponse>> and TransactionBase<IntrusivePtr<GetPublicProfilesResponse>>::setResponseInformationOption succeed without keeping state, as their siblings do; they are listed under Silent stubs.
  • IntrusivePtr helpers: GetPublicProfileResponse ctor, dtor and operator->; PersonalDetail ctor; Avatar operator->; Vector<IntrusivePtr<Avatar>> dtor (reference count at 0x30) and operator*; Vector<IntrusivePtr<BasicProfile>> operator*; operator bool of IntrusivePtr<BasicProfile> and IntrusivePtr<BasicPresence>.
  • Vector<IntrusivePtr<BasicProfile>>::size and Vector<IntrusivePtr<BasicPresence>>::size (the latter threw before) read host-created bodies and throw on title-provided ones, like the other Vector::size instantiations. The debt entry that listed the BasicPresence vector members as throwing is cut accordingly.

Tested

Windows 11, WinLibs GCC 15.2.0 r7, Release with BUILD_TESTING=ON: guest_np_cpp_web_api_intrusive_ptr (extended with the new constructors, accessors, destructors, the singular request flow, operator bool and size on empty and host-created vectors), guest_np_cpp_web_api_offline, guest_np_cpp_web_api_signed_out, guest_np_cpp_web_api_string and the 65 public_headers tests pass. tools/check_conventions.py --base origin/main passes. Not tested with a title.

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
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

🤖 Generated with Claude Code

…ffline

Add BasicProfileApi::getPublicProfile with its parameter and
Transaction<GetPublicProfileResponse>, which fail NOT_SIGNED_IN like
the plural request, plus the IntrusivePtr helpers for
GetPublicProfileResponse, PersonalDetail and Avatar, the bool
conversions of BasicProfile and BasicPresence pointers, and size of
the BasicProfile and BasicPresence vectors over host-created bodies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Progress report (474030e → 024912b)

📈 System libraries: 26.22% (+0.04%, +18 implemented, +3 declared functions)

✅ 18 implemented
Library Name
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi16getPublicProfileEiRKNS4_27ParameterToGetPublicProfileERNS1_6Common11TransactionINS8_12IntrusivePtrINS3_24GetPublicProfileResponseEEENSA_INS8_18ResponseHeaderBaseEEEEE
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfile10initializeEPNS1_6Common10LibContextEPKc
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfile9terminateEv
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfileC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfileD1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common11TransactionINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEEC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common11TransactionINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEED1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V114PersonalDetailEEC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common15TransactionBaseINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEE5startEPNS2_10LibContextE
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common15TransactionBaseINS2_12IntrusivePtrINS1_11UserProfile2V125GetPublicProfilesResponseEEENS4_INS2_18ResponseHeaderBaseEEEE28setResponseInformationOptionEP37SceNpWebApi2ResponseInformationOption
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common11TransactionINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEE11getResponseERS8_
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V112BasicProfileEEcvbEv
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V113BasicPresenceEEcvbEv
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEptEv
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V16AvatarEEptEv
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_11UserProfile2V112BasicProfileEEEEEEdeEv
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_11UserProfile2V16AvatarEEEEEEdeEv
⚪ 10 behaviourally empty (constant return or throw)
Library Name
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi16getPublicProfileEiRKNS4_27ParameterToGetPublicProfileERNS1_6Common11TransactionINS8_12IntrusivePtrINS3_24GetPublicProfileResponseEEENSA_INS8_18ResponseHeaderBaseEEEEE
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfile10initializeEPNS1_6Common10LibContextEPKc
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfile9terminateEv
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfileC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi11UserProfile2V115BasicProfileApi27ParameterToGetPublicProfileD1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common11TransactionINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEEC1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common11TransactionINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEED1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common15TransactionBaseINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEE5startEPNS2_10LibContextE
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common15TransactionBaseINS2_12IntrusivePtrINS1_11UserProfile2V125GetPublicProfilesResponseEEENS4_INS2_18ResponseHeaderBaseEEEE28setResponseInformationOptionEP37SceNpWebApi2ResponseInformationOption
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common11TransactionINS2_12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEEENS4_INS2_18ResponseHeaderBaseEEEE11getResponseERS8_
🆕 3 declared as stubs
Library Name
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS1_11UserProfile2V124GetPublicProfileResponseEED1Ev
libSceNpCppWebApi _ZN3sce2Np9CppWebApi6Common12IntrusivePtrINS2_6VectorINS3_INS1_11UserProfile2V16AvatarEEEEEED1Ev
libSceNpCppWebApi _ZNK3sce2Np9CppWebApi6Common6VectorINS2_12IntrusivePtrINS1_11UserProfile2V112BasicProfileEEEE4sizeEv

Changed libraries (implemented exports)

Library Before After Change
libSceNpCppWebApi 784/1225 (64.00%) 802/1246 (64.37%) +0.37%

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed exact head ecb225f179913f03aa18177d06ea192418ff2216. The singular request follows the existing offline NOT_SIGNED_IN behavior; the response transaction, intrusive-pointer lifetime helpers, and host-created vector size paths are consistent with neighboring implementations. The vector size declarations use std::size_t, and the focused test covers empty, host-created and title-provided vector bodies plus request lifecycle. The documented limitation that title-provided vector layouts remain unsupported is accurately retained. Hosted eligibility, conventions, intake, labels and report checks pass; product/relinker suites were skipped by path policy. The PR reports its Windows Release focused suites and public-header tests; I did not rerun them locally.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@nicolasabosch Thanks, this looks good. One small test change: please drop the new check in GuestNpCppWebApiIntrusivePtr.cpp (lines 351-361) that requires BasicPresence vector size() on a title-provided body to throw. That throw comes from the layout not being supported yet, not from an invalid argument, so the test would fail once someone implements it; tests here don't pin unimplemented forms. Please keep the empty and host-created size, bool, pointer-lifetime and offline-request tests, and the production refusal and its debt line can stay as they are.

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new BasicPresence vector test asserts that size() throws for a title-provided body with an unknown layout. That exception currently represents an unsupported layout, not an invalid input; pinning it will make the regression test fail once that layout is implemented. Please remove this assertion and retain the empty-vector and host-created-vector checks. The production refusal and debt entry can remain until the layout is supported.

@AlexFigas

Copy link
Copy Markdown
Contributor

@nicolasabosch Two of my PRs overlap this one textually: #10925 adds destructor rows at the same spot in GuestNpCppWebApiIntrusivePtr.cpp, and #11639 rewrites the UserProfile::V1, ProfanityFilter::V2, CommunicationRestrictionStatus::V3 debt line this PR extends. This one goes first: both now declare Depends on: #11631, and I'll rebase them after it lands, keeping your rows and your ParameterToGetPublicProfile entry. Nothing needs to change here.

@oneandonlydean oneandonlydean self-assigned this Oct 27, 2026
…tor bodies

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing exact head 531ba12fef0b77eca827f80f043ec17a4588389c.

What I ran

  • Inspected both commits, the production exports and declarations, regression tests, debt changes, review discussion, and hosted checks.
  • Hosted conventions, labels, Windows, report, and eligibility checks pass. Linux, register-context, relinker, ASan, and write-watch jobs are skipped.
  • I did not run a local build or tests. The Windows test results in the PR are author-reported.

Results

Check Result Evidence
Patch and neighboring API implementations Reviewed Exact two-commit diff
Hosted Windows Pass GitHub Actions
Hosted conventions, labels, report, eligibility Pass GitHub Actions
Linux/product and specialized jobs Skipped GitHub Actions
Local build and tests Not run This review

Findings

Blocking

  • The first commit adds a section comment in Export.cpp (// UserProfile2V1 singular public profile request... and its divider). The repository's AGENTS.md and conventions prohibit code comments except namespace endings and #endif. Please remove the comment; the exported symbol names already make the section clear.

Non-blocking

  • The test change appropriately stops asserting that BasicPresence::Vector::size() must throw on a title-provided body; that behavior is an unsupported layout, not a stable contract. The singular request path returns the same not-signed-in error used by the neighboring offline request, and the new intrusive-pointer/vector coverage follows existing host-created-body helpers.
  • The overlap workflow reports shared test-file edits with #9612. Check that PR's current state before merging and retain both sets of tests if rebasing is needed.

Sources

Not verified

  • I did not run the local C++ build, CTest, or title behavior.
  • The Windows build/test results are author-reported; hosted Windows passed, but the full Linux and specialized jobs were skipped.

To get this to a good state

Remove the added section comment, then request a re-review.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nicolasabosch

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Removed the section comment from Export.cpp in 51f9bdb. Build, the four np_cpp_web_api tests and tools/check_conventions.py pass again; the diff against main adds no code comments now. Could you take another look?

🤖 Generated with Claude Code

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I re-reviewed exact head 51f9bdb214d5a491572582a598972c3598aa01ca. The new commit removes the prohibited section comment, and the earlier unstable test assertion that BasicPresence::Vector::size() must throw on title-provided storage is gone. The singular offline request, response transaction helpers, pointer lifetimes, and host-created vector-size paths remain consistent with neighboring implementations. The author reports the Windows Release focused suites and public-header tests passing on the preceding tree; hosted eligibility, conventions, labels, and report pass on this head, while Windows is still running and Linux/product jobs are skipped. I did not run a local build.

One repository integration item remains: the current overlap report identifies #9612 in the same GuestNpCppWebApiIntrusivePtr.cpp test insertion area, and #9612 is still open. This PR says Depends on: none; I found no agreed landing order in either thread. Please coordinate which test change lands first, record the agreed order in the relevant checklists, and retain both test blocks after rebasing. I cannot approve until that overlap rule is resolved.

@nicolasabosch

Copy link
Copy Markdown
Contributor Author

@MarcZX10 On the #9612 overlap: only GuestNpCppWebApiIntrusivePtr.cpp is shared, and only at the test insertion point. I proposed in #9612 that this PR lands first, since #10925 and #11639 already depend on it, and that #9612 rebases keeping both test blocks; I will switch to Depends on: #9612 if its author prefers to go first. Depends on stays none until that is settled.

🤖 Generated with Claude Code

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-checked — changes requested for current-main integration

The earlier test assertion and code-comment concerns are addressed, and the proposed order before #9612 is reasonable; the remaining issue is that this head has not been tested against current main.

What I ran

  • Reviewed head 51f9bdb214d5a491572582a598972c3598aa01ca; current main is 3a2b91981651569163768854a1fcdc7193b6667b.
  • git merge-tree --write-tree upstream/main upstream/pr-11631 — clean preview, tree 184e0ef84c3d7a1f33b1b7affdfc7c64cfccf36c.
  • git diff --check upstream/main...upstream/pr-11631 — passed.
  • python3 tools/check_conventions.py --base upstream/main --head upstream/pr-11631 — passed.
  • I did not rerun the build or tests locally. The author reports that the build, four np_cpp_web_api tests, and conventions pass on this head.

Results

Check Result
Current-main merge preview Clean
Convention and whitespace checks Passed
Author-reported focused build/tests Pass on the reported tree
Current-main integration of touched API files Not verified by a test run

Findings

The unsupported BasicPresence size assertion is removed, and the code-comment issue is resolved. The proposed sequence for the test insertion overlap is acceptable: #11631 can land first, then #9612 can rebase while retaining both test blocks. Since this PR does not depend on #9612's implementation, Depends on: none is appropriate unless #9612's author requests the reverse order.

The branch's merge base is 74acfad65b3f0fd4eab653f3a3989d298fba1157, and current main has since changed the same Export.cpp, Api.hpp, and technical-debt files touched here. CONTRIBUTING.md requires branches to stay current. Please rebase onto 3a2b91981651569163768854a1fcdc7193b6667b, preserve the current upstream changes and this PR's tests, then rerun the four np_cpp_web_api tests and conventions on the updated tree.

Sources

Not verified

I did not run a local C++ build, the four focused tests, Windows/macOS tests, or console behavior. The focused test result above is attributed to the author.

To get this to a good state

Rebase onto current main, keep the overlap order documented, rerun the focused tests and conventions, and attach the exact updated head and output.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

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.

Pull request Conflicting files (lines on main) Same exports Same new files
PR 12834 docs/dev/debt/libSceNpCppWebApi.md L22
PR 14122 _ZNK3sce2Np9CppWebApi6Common6VectorINS2_12IntrusivePtrINS1_11UserProfile2V113BasicPresenceEEEE4sizeEv
PR 14136 _ZNK3sce2Np9CppWebApi6Common6VectorINS2_12IntrusivePtrINS1_11UserProfile2V113BasicPresenceEEEE4sizeEv
PR 14273 _ZNK3sce2Np9CppWebApi6Common6VectorINS2_12IntrusivePtrINS1_11UserProfile2V113BasicPresenceEEEE4sizeEv

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 12801 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
core/libs/tests/GuestNpCppWebApiIntrusivePtr.cpp
docs/dev/debt/libSceNpCppWebApi.md
PR 12808 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
docs/dev/debt/libSceNpCppWebApi.md
PR 13206 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
docs/dev/debt/libSceNpCppWebApi.md
PR 13255 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
docs/dev/debt/libSceNpCppWebApi.md
PR 14122 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
core/libs/tests/GuestNpCppWebApiIntrusivePtr.cpp
docs/dev/debt/libSceNpCppWebApi.md
PR 14136 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
core/libs/tests/GuestNpCppWebApiIntrusivePtr.cpp
docs/dev/debt/libSceNpCppWebApi.md
PR 14212 docs/dev/debt/libSceNpCppWebApi.md
PR 14273 core/libs/prx/libSceNpCppWebApi/Export.cpp
core/libs/prx/libSceNpCppWebApi/include/Api.hpp
core/libs/tests/GuestNpCppWebApiIntrusivePtr.cpp
docs/dev/debt/libSceNpCppWebApi.md

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@nicolasabosch

Copy link
Copy Markdown
Contributor Author

@MarcZX10 Merged current main (3a2b919) into the branch in 6cd336c with no conflicts; the PR's diff against main is unchanged. On the merged tree the build, the four np_cpp_web_api tests (intrusive_ptr, string, signed_out, offline) and tools/check_conventions.py pass. Landing order stays #11631 before #9612, Depends on: none.

🤖 Generated with Claude Code

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-checked — approved

The current head resolves the remaining review items. The branch incorporates current main, the unstable title-provided-vector assertion and prohibited section comment are gone, and the author reports the focused API suite passing on the merged tree. I approve commit 6cd336ce1644206ef17d44b2c94d45a08f0f34e5.

What I ran

  • Reviewed the complete diff from current main to the exact PR head.
  • Ran python3 tools/check_conventions.py --base upstream/main --head HEAD.
  • Ran git diff --check upstream/main...HEAD.
  • Ran git merge-tree --write-tree upstream/main HEAD.
  • Refreshed hosted checks and reviewed the current author test report and the #9612 ordering agreement.

Results

Check Result
Conventions Passed
Diff whitespace Passed
Merge preview Clean; tree 184e0ef84c3d7a1f33b1b7affdfc7c64cfccf36c
Author-reported merged-tree build and focused tests Build, intrusive_ptr, string, signed_out, offline, and conventions pass
Hosted checks Conventions, eligibility, labels, and report pass; Windows pending; Linux/product and specialized jobs skipped

The new offline request returns SCE_NP_WEBAPI_ERROR_NOT_SIGNED_IN, matching neighboring request paths. Pointer destruction and accessors follow the established intrusive-pointer helpers. The two vector size() exports use the existing host-created-body validation path. The unstable expectation that an unsupported title-provided vector layout must throw has been removed.

Negative control

Not applicable to these offline API and lifecycle additions. The focused tests exercise signed-out errors, lifecycle return codes, empty and host-created vectors, and pointer lifetime behavior.

Findings

Blocking

None found on this head.

Non-blocking

  • #9612 changes the same test insertion point. Its author agreed that #11631 lands first, recorded Depends on: #11631, and committed to retaining both test blocks after rebasing. This satisfies the repository’s overlap-order rule.
  • #11644 also touches the technical-debt file through its existing stack. Its checklist depends on #11639, and the current change does not depend on #11644.
  • The Windows hosted job remains pending. The focused test results are author-reported; I did not reproduce the build or CTest locally.

Sources

All code links point to the reviewed commit 6cd336ce1644206ef17d44b2c94d45a08f0f34e5.

Not verified

  • I did not rerun the C++ build, focused CTest suite, public-header checks, or console behavior locally.
  • Windows hosted checks were still pending when refreshed; Linux/product and specialized jobs were skipped.

To get to a good state

No further changes are required for the findings in this review.

@JJenkx

JJenkx commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Windows run of this head (6cd336ce16), merged onto main 3a2b919816 (clean merge, local only). Windows 11 Enterprise 10.0.22621, Ryzen 9 5950X, WinLibs GCC 15.2.0 UCRT r7, Ninja, Release, BUILD_TESTING=ON, no Vulkan driver visible.

  • This PR: guest_np_cpp_web_api_intrusive_ptr passes 3 of 3 (ctest --repeat until-fail:3).
  • Negative control: not possible. With core/libs/prx/libSceNpCppWebApi/Export.cpp put back to main's version, the build fails against the rest of this PR, so there is no source-only control.

AI-assisted: yes (Claude Code).

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 29, 2026
@oneandonlydean

Copy link
Copy Markdown
Collaborator

@nicolasabosch Please rebase onto current main. The trial merge conflicts in core/libs/tests/GuestNpCppWebApiIntrusivePtr.cpp around main(): retain main's argc/argv alias-vector dispatch and TestVectorAliasedGrowth, together with the new singular-profile helper and its call. Keep the previously removed assertion that valid title-provided vector bodies throw removed. Please rerun guest_np_cpp_web_api_intrusive_ptr (including alias-vector), the offline/signed-out/string neighbors and public-header checks on the refreshed head.

Keep main's argc/argv alias-vector dispatch and TestVectorAliasedGrowth together with the singular public-profile helper and its call in GuestNpCppWebApiIntrusivePtr.cpp.
@oneandonlydean

Copy link
Copy Markdown
Collaborator

@nicolasabosch we merged current main into your branch ourselves (maintainer edits), so you can ignore our earlier rebase request. Nothing in your change was touched; it's a plain merge commit on top. We'll run full CI on the new head and take it from there.

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 29, 2026
@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Oct 30, 2026
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

# Conflicts:
#	core/libs/prx/libSceNpCppWebApi/Export.cpp
#	core/libs/prx/libSceNpCppWebApi/include/Api.hpp
#	docs/dev/debt/libSceNpCppWebApi.md
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 31, 2026

@MarcZX10 MarcZX10 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-checked — new head, looks good

The merge-updated head preserves the reviewed implementation, and the exact-head no-build checks plus applicable hosted build and tests show no blocking issue.

What I ran

Reviewed head 024912b6c16617bec1e52b471340b170e8378f61 against base 474030e58424fefdb65e5df9f3820810fbb4553c; its merge preview was clean. Local environment: Debian Linux x86_64, Python 3.11.2, GCC 12.2.0. I did not build or compile locally. GitHub's Windows job built the changed test targets and ran CTest on the exact head.

git diff --check 474030e58424fefdb65e5df9f3820810fbb4553c...024912b6c16617bec1e52b471340b170e8378f61
python3 tools/check_conventions.py --base 474030e58424fefdb65e5df9f3820810fbb4553c --head 024912b6c16617bec1e52b471340b170e8378f61 --title 'feat(libSceNpCppWebApi): answer the singular public profile request offline' --body /tmp/anyps5-11631-review/pr-body.md
python3 tools/pr_abi_audit.py --base 474030e58424fefdb65e5df9f3820810fbb4553c --head 024912b6c16617bec1e52b471340b170e8378f61 --json
python3 tools/pr_stack_check.py 11631 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-11631-review/stack

Results

Check Result
Diff whitespace and conventions Passed
Export/header ABI audit Passed with one unrelated warning for the pre-existing private DestroyVectorBody helper; no changed export mismatch was reported
Current-base merge preview Clean
Hosted Windows build and CTest Passed: 2,523/2,523 tests; the intrusive-pointer, signed-out, offline, and string suites passed
Hosted eligibility, conventions, labels, report, and library-portability Passed
Hosted Linux, relinker, register-context, and write-watch jobs Skipped
Unedited local check output
# git diff --check

# check_conventions.py
All conventions checks passed.

# ABI audit summary
ABI audit: passed_with_warnings
DestroyVectorBody: public-declaration-not-found: No APS5_VABI declaration was found in a header; verify whether this is intentionally private or missing from the public interface.

# pr_stack_check.py
/tmp/anyps5-11631-review/stack/stack-report.md
/tmp/anyps5-11631-review/stack/stack-report.json
Unedited relevant hosted CTest output
windows Build and run changed guest core/libs tests 2026-10-31T17:01:37.4393143Z   86/2523 Test  #502: guest_np_cpp_web_api_intrusive_ptr .......................................   Passed    0.02 sec
windows Build and run changed guest core/libs tests 2026-10-31T17:01:37.4572371Z   87/2523 Test  #503: guest_np_cpp_web_api_signed_out ..........................................   Passed    0.02 sec
windows Build and run changed guest core/libs tests 2026-10-31T17:01:37.4754570Z   88/2523 Test  #504: guest_np_cpp_web_api_offline .............................................   Passed    0.02 sec
windows Build and run changed guest core/libs tests 2026-10-31T17:02:37.2298510Z 1972/2523 Test #2422: guest_np_cpp_web_api_string ..............................................   Passed    0.02 sec
windows Build and run changed guest core/libs tests 2026-10-31T17:04:26.5003080Z 100% tests passed, 0 tests failed out of 2523

Findings

Blocking

None found on this head.

Non-blocking

None.

Sources

Not verified

  • No local C++ build, CTest, console/title run, or public-header suite was performed on this head.
  • Linux and specialized hosted jobs were skipped. The author-reported title and console behavior remains unverified.
  • The precheck's optional test-quality helper was unavailable in its temporary head checkout; it does not analyze these C++ tests.

@oneandonlydean
oneandonlydean merged commit 157d00d into boykopovar:main Nov 2, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants