Skip to content

feat(libSceUgcServiceS3): add export placeholders - #13406

Closed
Celegans12 wants to merge 1 commit into
boykopovar:mainfrom
Celegans12:feat/ugcservices3-inventory-exports-20261030
Closed

Celegans12 wants to merge 1 commit into
boykopovar:mainfrom
Celegans12:feat/ugcservices3-inventory-exports-20261030

Conversation

@Celegans12

Copy link
Copy Markdown
Contributor

What

Adds libSceUgcServiceS3 with 4 throwing export placeholders, one for every name the PS5 13.60 export inventory resolves for the library. The pinned ps5-nid-map module map assigns them to the physical libSceUgcServiceS3.sprx provider. Each NID was recomputed from its name. Signatures are unknown, so each placeholder is a parameterless int that throws through NotImplemented_nid_no_patch, and docs/dev/debt/libSceUgcServiceS3.md records the gap.

Tested

Not tested on a title. python3 tools/check_conventions.py --base origin/main passes, and clang++ -std=c++20 -fsyntax-only on the library's Export.cpp is clean. Searched main and the heads of PRs #11000 to #13325 for the names and NIDs, and none define them.

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

@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 — changes requested

All four exports and the library files added by this PR are already present in open PR #13363, so this PR currently adds no distinct work.

What I ran

Reviewed PR #13406 head a5688a96353ba4629ffecc1ed8ddea4bcd35efed against base d998343ced21f2c5b9c76dc06ef3a77507311565, and compared it with open PR #13363 head 713e30ff9cf6701a77282f8d639bdebdd3c94ef8 (base da026c70655a132031d45e2008c24f993870d801). Environment: Linux x86-64, Python 3.11.2, Git 2.39.5, GCC 12.2.0. I did not build or compile.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13406
gh pr diff 13406 --repo boykopovar/AnyPS5
gh pr diff 13363 --repo boykopovar/AnyPS5

Results

Check Result
Diff check Passed.
Repository conventions and PR template Passed.
Dependency/mergeability precheck Passed; no declared dependency, merge preview clean.
Export overlap Confirmed manually: CreateRequest, CancelRequest, UploadFileWithGmsResponse, and DownloadFileWithGmsResponse are already defined in #13363, along with the same Export.cpp, Api.hpp, library umbrella header, and debt file.
ABI audit and test-quality helper Could not run because those helper scripts were absent from the precheck's isolated checkout; this is a tooling limitation, not a reported PR failure.
Tests and hosted CI No build-dependent tests apply to this inspection; hosted checks were queued at the snapshot.
Unedited precheck output
All conventions checks passed.

Findings

Blocking

  • This PR's four declarations and definitions already exist in #13363 at its live head, which also adds the same four files. The PR description says its duplicate search ended at #13325, so it does not cover #13363. Merging both versions would duplicate the same library/export work and create overlapping edits. Please coordinate with #13363 and remove this duplicate scope; if there is additional uncovered work, submit only that distinct change after checking the current open heads.

Non-blocking

  • The parameterless throwing placeholders clearly record that signatures and behavior are unknown. I found no separate source-level issue in these declarations.

Sources

Not verified

I did not run a build, title, or console test. The current hosted checks had not completed when inspected.

To get this to a good state

Coordinate the overlapping exports with the author of #13363 and remove the duplicate scope from one PR. I will rerun the overlap and applicable checks on the updated head.

@oneandonlydean

Copy link
Copy Markdown
Collaborator

@Celegans12 thanks for the placeholders. #13363 (opened a few minutes earlier) adds the same library with all 14 exports from the 13.60 inventory, the 4 named ones in this PR included with the same names, so the two branches conflict in every file and this one adds nothing that is missing there. Could you close this PR, or check whether anything is absent from #13363 and put it there?

@github-actions

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 13363 core/libs/prx/libSceUgcServiceS3/Export.cpp
core/libs/prx/libSceUgcServiceS3/include/Api.hpp
docs/dev/debt/libSceUgcServiceS3.md
sceUgcServiceS3CancelRequest
sceUgcServiceS3CreateRequest
sceUgcServiceS3DownloadFileWithGmsResponse
sceUgcServiceS3UploadFileWithGmsResponse
core/libs/prx/libSceUgcServiceS3/Export.cpp
core/libs/prx/libSceUgcServiceS3/include/Api.hpp
core/libs/prx/libSceUgcServiceS3/libSceUgcServiceS3.hpp
docs/dev/debt/libSceUgcServiceS3.md

@Celegans12

Copy link
Copy Markdown
Contributor Author

I checked the current patches and confirmed that #13363 already covers every export added here. Closing this duplicate in favor of that earlier PR.

@Celegans12 Celegans12 closed this Oct 30, 2026
@github-actions

Copy link
Copy Markdown

Progress report (d998343 → a5688a9)

📉 System libraries: 27.23% (-0.01%, +4 declared functions)

🆕 4 declared as stubs
Library Name
libSceUgcServiceS3 sceUgcServiceS3CancelRequest
libSceUgcServiceS3 sceUgcServiceS3CreateRequest
libSceUgcServiceS3 sceUgcServiceS3DownloadFileWithGmsResponse
libSceUgcServiceS3 sceUgcServiceS3UploadFileWithGmsResponse

Changed libraries (implemented exports)

Library Before After Change
libSceUgcServiceS3 Not present 0/4 (0.00%) n/a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants