feat(libSceAcm): track sceAcmBatchJobPriority gap and test throw #7064
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7064"
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 jagrat04 on 2026-10-17T09:49:15Z.
What
Tracks
sceAcmBatchJobPrioritygap in technical debt and verifies that calls throwNotImplemented_nid_no_patch:NotImplemented_nid_no_patch(__func__)forsceAcmBatchJobPriorityincore/libs/prx/libSceAcm/Export.cppas its command encoding and DSP scheduling behavior remain unverified.(AcmBatchInfo* batch, std::uint32_t priority)and unverified behavior gap underUnknown function infoindocs/dev/debt/libSceAcm.md.scePadVrControllerGetTriggerEffectStatesentry indocs/dev/debt/libScePad.md.core/libs/tests/GuestAcm.cppasserting that callingsceAcmBatchJobPrioritythrowsstd::runtime_error.Tested
ninja -C build-linux libSceAcm guest_acm_tests && ctest --test-dir build-linux -R guest_acm --output-on-failure(100% passed).python3 tools/check_conventions.py --base origin/mainpassed with 0 violations.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 github-actions[bot] on 2026-10-17T09:49:59Z.
Progress report (
c61d20f→ bd6fc6b)📈 System libraries: 42.34% (+0.01%, +1 implemented functions)
✅ 1 implemented
sceAcmBatchJobPriority⚪ 1 behaviourally empty (constant return or throw)
sceAcmBatchJobPriorityImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-17T10:11:25Z.
Thanks, the sceAcmBatchJobPriority change itself looks good. One docs fix before merge:
Deleting the "Unknown function info" section also drops the libScePad
scePadVrControllerGetTriggerEffectStatesentry. That function is still a NotImplemented stub and isn't listed anywhere else. Please keep that entry, or move it tolibScePad.md. Please also keep "signature unknown" in the new bullet.Imported from boykopovar/AnyPS5. Originally posted by jagrat04 on 2026-10-17T21:46:57Z.
Updated debt docs to retain the scePadVrControllerGetTriggerEffectStates entry and noted signature unknown for sceAcmBatchJobPriority. Thanks!
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-23T19:07:11Z.
Review: CHANGES_REQUESTED
The function still discards both
batchandpriorityand returns success, while the PR describes ACM batches as silent no-ops. This is a non-UI audio path, so the repository rules do not permit recording it as a successful implementation without executing the requested operation. Please either implement and evidence the behavior ofsceAcmBatchJobPriority, or leave it onNotImplemented_nid_no_patchand keep the signature/behavior gap in technical debt. The added test currently locks in the false-success path and should follow whichever behavior you can substantiate.Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-25T23:11:51Z.
Review: COMMENTED
Re-reviewed
a0a68436db9e21e7a5c5f3fd42bcc52421e1840e. Final approval remains pending.The earlier merge-conflict blocker has cleared: GitHub now reports this head mergeable. The submitted test still checks the existing unsupported-priority exception and the debt text still leaves scheduling/encoding unimplemented. The current patch also contains a Pad debt entry documenting an unresolved import; it does not add an implementation claim.
Validation: The exact current GuestAcm.cpp passes GCC 15.2 C++23 syntax compilation with its current API declaration. Earlier source inspection established that BatchJobPriority routes through NotImplemented_nid_no_patch and throws runtime_error. No new actionable code defect was verified.
Pending: The complete linked GuestAcm target has not been executed in this review environment. This is a COMMENT recording the resolved conflict and remaining runtime-validation limit, not an approval or a request to change otherwise consistent code.
Imported from boykopovar/AnyPS5. Originally posted by THEMANnt on 2026-10-26T04:05:43Z.
Review: APPROVED
Re-reviewed
a0a68436db9e21e7a5c5f3fd42bcc52421e1840e. Approve; the earlier validation blocker is resolved.The missing execution step is complete. The test catches the existing unsupported-priority exception and retains normal context cleanup. The debt text keeps command encoding and DSP scheduling explicitly unverified; the additional Pad import debt remains documented. No actionable findings.
Validation: Compiled and ran the complete exact GuestAcm.cpp with the exact current libSceAcm/Export.cpp and current public API declarations. Build, Windows unwind-section conversion and executable run all return 0. The full assertion sequence, including BatchJobPriority's runtime_error check, executes successfully.
Scope: The executable uses existing libc linkage for ancillary support; this is a pinned-source integration test, not a full dependency rebuild. No DSP, console, headset or game behavior is claimed.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-28T22:24:50Z.
Review: APPROVED
The current head
a0a68436db9e21e7a5c5f3fd42bcc52421e1840enow leavessceAcmBatchJobPriorityonNotImplemented_nid_no_patch, records the unknown signature/behavior in technical debt, preserves the Pad debt entry, and tests the unsupported-call exception. That addresses my earlier false-success finding. The author reports Linuxguest_acmpassing; an independent Windows run reports the full selected suite with no failures from this PR, and another reviewer built and ran the complete exactGuestAcm.cpp/Export.cppassertion path successfully. Hosted eligibility, conventions, and labels pass; product jobs are skipped. Currentmainhas no changes in the three PR-touched files since the branch base. I did not run a local build. No remaining blocker; approved.Pull request closed