docs(libSceSystemService): clarify activation technical debt #9977
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/9977"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by StoneDC on 2026-10-23T01:52:07Z.
What
Document the remaining activation gaps in
libSceSystemService: register the existing parameterlesssceShellCoreUtilActivateRecordActivation()silent stub and record the unresolved contract ofsceShellCoreUtilActivateInit,sceShellCoreUtilActivateIsActivatedandsceShellCoreUtilActivateGetStatusunder Unknown function info.All three calls retain main's unconditional
NotImplemented_nid_no_patchbehavior, including null outputs. This PR changes onlydocs/dev/debt/libSceSystemService.md; it introduces no activation implementation or error-code mapping.Tested
Windows, Python 3.14.3; reviewed head
2bab8f29da4365477d5232f17a82a2cc9cd11b5ebased on mainfa77c2b4e5c39e5f60c12183d583199470430e95(2026-10-26).python tools/check_conventions.py --base origin/main: passed on the committed head.git diff --check origin/main HEAD: passed.PendingExports.cppandGuestSystemService.cppare byte-identical to the base main; the documented throwing paths and parameterless silent stub were checked against that source.Runtime tests, full builds and console validation were not run for this documentation-only change.
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)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T04:14:26Z.
Review: DISMISSED
I reviewed exact head 936de799abab49abba0f5e13fe88a556db16092e. The overlap question is resolved by the author: #8651 changes different exports/tests, and this PR is currently mergeable. Current-main convention check, the exact-head 171-script registration check, and
git diff --checkpass; the latest hosted conventions/intake/labels checks pass. I could not runguest_system_service_testslocally because this workspace has no configured AnyPS5 build/test executable; the author reports the Linux test passing.Blocking behavior gap: the new tests assert their own assumed successful values, but the PR supplies no source or reproduction evidence for them.
sceShellCoreUtilActivateIsActivatednow reportstruefor every handle,Initreturns the same handle value1for every type/call, andGetStatuswrites zero status/result while ignoring the handle. The debt entry says activation service state is not modeled. In particular, always reporting an activation as complete can make a caller proceed as though the activation service confirmed it.Please provide console/SDK evidence for the return values, output fields, handle validation/lifecycle, and repeated initialization behavior, with tests derived from that evidence. If that contract is still unknown, keep the newly implemented paths explicit (throwing) rather than turning the current assumptions into silent success. This request concerns the unsupported behavior, not the PR count or the earlier overlap report.
Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-26T13:51:56Z.
Review: CHANGES_REQUESTED
Thanks for dropping the assumed successes. Two points remain:
core/libs/prx/libSceSystemService/PendingExports.cpp:578-593: returning0x80A10003for a null output has no source. shadPS4 only has a parameterless stub forsceShellCoreUtilActivateInit, and KytyPS5, fpPS4 and prosper do not cover these exports. Without evidence this is the same kind of guess as the removed successes, and onmainthe calls throw. Please cite where the null-output check and its code come from (a console measurement or a title's call site), or drop the check so the three exports keep throwing and the PR reduces to the debt wording.PendingExports.cpp:7:SystemServiceParameterInvalidduplicatesSYSTEM_SERVICE_ERROR_PARAMETERfromSystemService.hpp, which this file already includes. Use the header constant if the check stays.