fix(libSceAcm): silent stub for sceAcmBatchJobPriority #6274

Closed
mazen320 wants to merge 2 commits from upstream-pr/6274 into main
mazen320 commented 2026-10-15 08:44:11 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T08:44:11Z.


What

sceAcmBatchJobPriority no longer calls NotImplemented_nid_no_patch. It returns 0 with no batch-job priority state.

PPSA02530 imports it with an unknown signature and stops when it throws. Debt moved into Silent stubs; the co-listed scePadVrControllerGetTriggerEffectStates note moves to libScePad debt (still throwing). guest_acm covers the new return.

Tested

Windows 11. python tools/check_conventions.py --base upstream/main passed. Full guest_acm run needs a configure that rebuilds libSceAcm against this worktree (not re-run here against the dirty main build tree).

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
  • Unblocks: PPSA02530 (BatchJobPriority stop; Pad TriggerEffectStates remain)
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4870599015 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T08:44:11Z. --- ### What `sceAcmBatchJobPriority` no longer calls `NotImplemented_nid_no_patch`. It returns 0 with no batch-job priority state. PPSA02530 imports it with an unknown signature and stops when it throws. Debt moved into Silent stubs; the co-listed `scePadVrControllerGetTriggerEffectStates` note moves to libScePad debt (still throwing). `guest_acm` covers the new return. ### Tested Windows 11. `python tools/check_conventions.py --base upstream/main` passed. Full `guest_acm` run needs a configure that rebuilds `libSceAcm` against this worktree (not re-run here against the dirty main build tree). ### Checklist - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Unblocks: PPSA02530 (BatchJobPriority stop; Pad TriggerEffectStates remain) - [x] GPUs tested: n/a - [x] AI-assisted: yes
github-actions[bot] commented 2026-10-15 08:44:55 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T08:44:55Z.


Progress report (2baae7a → a2237f8)

📈 System libraries: 88.74% (+0.03%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceAcm sceAcmBatchJobPriority
⚪ 1 behaviourally empty (constant return or throw)
Library Name
libSceAcm sceAcmBatchJobPriority
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188141155 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274#issuecomment-6188141155). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T08:44:55Z. --- <!-- progress-report --> ### Progress report (2baae7a → a2237f8) 📈 **System libraries**: 88.74% (+0.03%, +1 implemented functions) <details> <summary>✅ 1 implemented</summary> | Library | Name | | - | - | | libSceAcm | `sceAcmBatchJobPriority` | </details> <details> <summary>⚪ 1 behaviourally empty (constant return or throw)</summary> | Library | Name | | - | - | | libSceAcm | `sceAcmBatchJobPriority` | </details>
github-actions[bot] commented 2026-10-15 08:47:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-15T08:47:23Z.


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 5676 docs/dev/debt/libScePad.md L4

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 5038 docs/dev/debt/libScePad.md
PR 6044 core/libs/tests/GuestAcm.cpp
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188184146 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274#issuecomment-6188184146). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-15T08:47:23Z. --- <!-- pr-overlap --> 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 5676](https://www.github.com/boykopovar/AnyPS5/pull/5676) | `docs/dev/debt/libScePad.md` [L4](https://github.com/boykopovar/AnyPS5/blob/940eba9a26ec363eef9a461b24e94576317a4955/docs/dev/debt/libScePad.md#L4) | | | 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 5038](https://www.github.com/boykopovar/AnyPS5/pull/5038) | `docs/dev/debt/libScePad.md` | | [PR 6044](https://www.github.com/boykopovar/AnyPS5/pull/6044) | `core/libs/tests/GuestAcm.cpp` |
mazen320 commented 2026-10-15 09:33:36 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T09:33:36Z.


Overlap

Bot flagged debt adjacency with #5676 (docs/dev/debt/libScePad.md). This PR is Acm sceAcmBatchJobPriority only — different library. Depends on: none.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6188998505 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274#issuecomment-6188998505). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T09:33:36Z. --- ### Overlap Bot flagged debt adjacency with #5676 (`docs/dev/debt/libScePad.md`). This PR is Acm `sceAcmBatchJobPriority` only — different library. **Depends on: none.**
MarcZX10 commented 2026-10-15 15:16:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-15T15:16:35Z.

Review: COMMENTED


The contribution guide currently allows silent stubs only when they unblock a title and affect only the UI. This export is in libSceAcm, and returning success without setting any batch-job priority also skips audio behavior. The issue establishes that the import prevents loading, but it does not establish that this operation is UI-only or safe to ignore. Could you add evidence for that behavior, or keep the export throwing until its contract is known? Listing it under Silent stubs documents the limitation but does not establish that the exception applies.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5535481655 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274#pullrequestreview-5535481655). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-15T15:16:35Z. **Review:** COMMENTED --- The contribution guide currently allows silent stubs only when they unblock a title and affect only the UI. This export is in libSceAcm, and returning success without setting any batch-job priority also skips audio behavior. The issue establishes that the import prevents loading, but it does not establish that this operation is UI-only or safe to ignore. Could you add evidence for that behavior, or keep the export throwing until its contract is known? Listing it under Silent stubs documents the limitation but does not establish that the exception applies.
mazen320 commented 2026-10-15 15:29:52 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:29:52Z.


Agree — sceAcmBatchJobPriority is Acm audio scheduling, not UI-only, so it does not meet the CONTRIBUTING silent-stub exception.

Restored NotImplemented_nid_no_patch and the Unknown function info debt note (cc854e9). Closing this PR; will keep it throwing until the contract is known or there is UI-only evidence.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195814009 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274#issuecomment-6195814009). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:29:52Z. --- Agree — `sceAcmBatchJobPriority` is Acm audio scheduling, not UI-only, so it does not meet the CONTRIBUTING silent-stub exception. Restored `NotImplemented_nid_no_patch` and the Unknown function info debt note (cc854e9). Closing this PR; will keep it throwing until the contract is known or there is UI-only evidence.
mazen320 commented 2026-10-15 15:29:53 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by mazen320 on 2026-10-15T15:29:53Z.


Closing: silent stub withdrawn per review; export throws again.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6195814702 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/6274#issuecomment-6195814702). Originally posted by [mazen320](https://github.com/mazen320) on 2026-10-15T15:29:53Z. --- Closing: silent stub withdrawn per review; export throws again.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5!6274
No description provided.