feat(audioout): stub sceAudioOutSetSystemDebugState #13989

Closed
rooklz wants to merge 2 commits from upstream-pr/13989 into main
rooklz commented 2026-10-31 14:30:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by rooklz on 2026-10-31T14:30:57Z.


What

  • Keep sceAudioOutSetSystemDebugState unimplemented: the export throws NotImplemented_nid_no_patch(__func__) on every call, as it does on main. The silent stub is withdrawn as the console behavior is unmeasured.
  • The libSceAudioOut debt entry records that the host has no system mix and console behavior is unmeasured.
  • The AudioOutInfo test no longer asserts the return value.

Tested

  • python3 tools/check_conventions.py --base main — passed.
  • No relinker build or guest test run: the export now throws as on main.

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
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5098456261 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13989). Originally posted by [rooklz](https://github.com/rooklz) on 2026-10-31T14:30:57Z. --- ### What - Keep `sceAudioOutSetSystemDebugState` unimplemented: the export throws `NotImplemented_nid_no_patch(__func__)` on every call, as it does on `main`. The silent stub is withdrawn as the console behavior is unmeasured. - The `libSceAudioOut` debt entry records that the host has no system mix and console behavior is unmeasured. - The `AudioOutInfo` test no longer asserts the return value. ### Tested - `python3 tools/check_conventions.py --base main` — passed. - No relinker build or guest test run: the export now throws as on `main`. ### 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] Fixes: none - [x] Unblocks: none - [x] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-10-31 14:34:54 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-31T14:34:54Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The convention check for head 3274525d441bb2b632c90460882d0ca359d53baa fails because the PR body omits the repository template’s required ### What, ### Tested, and ### Checklist headings.

What I ran

GitHub Actions ran the conventions check on ubuntu-latest against base 73f4f7e06e4f210a8c6570e335fd654dc0a86134 and PR head 3274525d441bb2b632c90460882d0ca359d53baa; no merged preview was used. The workflow command was:

python3 -I tools/check_conventions.py --base HEAD --head "$HEAD_SHA"

Results

Check Result
Hosted conventions Failed: 3 required template headings are missing
Other hosted checks Intake, eligibility, labels, library portability, and report passed; Windows is still in progress; product test jobs were skipped
Unedited conventions output
Fill in the pull request template: add the '### What' heading of the template
Fill in the pull request template: add the '### Tested' heading of the template
Fill in the pull request template: add the '### Checklist' heading of the template
3 findings, 3 errors; GitHub shows at most 10 error annotations, the job summary lists all

Findings

Blocking

The PR body uses ## Summary and ## Test plan and has no ### Checklist, so the required template check fails. Replace those sections with the required headings and put the relevant summary, test evidence, and completed checklist under them. The required headings are defined in the PR template at the reviewed base.

Non-blocking

None identified in this pass.

Not verified

I did not run a local build or test. The Windows job was still in progress; the Linux and specialized product jobs were skipped. The build and CTest results in the PR description are author-reported, not runs I performed.

To get this to a good state

Update the PR description to use the required template headings; the conventions workflow will rerun when the PR is edited, and I will recheck the same head and relevant checks after that update.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5723312282 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13989#pullrequestreview-5723312282). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-10-31T14:34:54Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The convention check for head `3274525d441bb2b632c90460882d0ca359d53baa` fails because the PR body omits the repository template’s required `### What`, `### Tested`, and `### Checklist` headings. ## What I ran GitHub Actions ran the conventions check on `ubuntu-latest` against base `73f4f7e06e4f210a8c6570e335fd654dc0a86134` and PR head `3274525d441bb2b632c90460882d0ca359d53baa`; no merged preview was used. The workflow command was: ```sh python3 -I tools/check_conventions.py --base HEAD --head "$HEAD_SHA" ``` ## Results | Check | Result | |---|---| | Hosted conventions | Failed: 3 required template headings are missing | | Other hosted checks | Intake, eligibility, labels, library portability, and report passed; Windows is still in progress; product test jobs were skipped | <details><summary>Unedited conventions output</summary> ```text Fill in the pull request template: add the '### What' heading of the template Fill in the pull request template: add the '### Tested' heading of the template Fill in the pull request template: add the '### Checklist' heading of the template 3 findings, 3 errors; GitHub shows at most 10 error annotations, the job summary lists all ``` </details> ## Findings ### Blocking The PR body uses `## Summary` and `## Test plan` and has no `### Checklist`, so the required template check fails. Replace those sections with the required headings and put the relevant summary, test evidence, and completed checklist under them. The required headings are defined in the [PR template at the reviewed base](https://github.com/boykopovar/AnyPS5/blob/73f4f7e06e4f210a8c6570e335fd654dc0a86134/.github/pull_request_template.md#L1-L25). ### Non-blocking None identified in this pass. ## Not verified I did not run a local build or test. The Windows job was still in progress; the Linux and specialized product jobs were skipped. The build and CTest results in the PR description are author-reported, not runs I performed. ## To get this to a good state Update the PR description to use the required template headings; the conventions workflow will rerun when the PR is edited, and I will recheck the same head and relevant checks after that update.
MarcZX10 commented 2026-11-08 04:19:34 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-08T04:19:34Z.

Review: COMMENTED


Tests run and reviewed — checks incomplete, not approved

The build passed; 0 of 1 passed; 1 not run for an unknown reason. Nothing that ran failed. Not approved: Adaptive build and tests (merged preview): did not finish. Adaptive build and tests (merged preview): 1 test did not run; their results are not verified. The review identified behavior or claims it could not fully verify.

What I ran

Head 2b438fc275d52e15341ab594ec1dc03914235704; base 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b.

Recorded local processing time: 5m 1s across no-build checks 7s, build and tests 4m 40s, AI diff review 14s. This sums task runtimes (which may overlap); GitHub Actions time is excluded.

Environment: Linux-6.1.0-54-amd64-x86_64-with-glibc2.36; Python 3.11.2; compiler c++ (Debian 12.2.0-14+deb12u1) 12.2.0.

Saved local build and test runs are listed below; their source and results are in the Test logs section.

I ran the repository's no-build precheck on this exact head and base:

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13989

Hosted CI results are read from GitHub; I did not run them.

I compared the full diff of 2 changed files (225 lines) with the pull request description. I ran nothing for this and looked at nothing outside the diff.

Results

Check Result Note
build_and_compile not run
diff_check passed
conventions_and_pr_template passed
changed_export_abi_audit passed
live_dependency_and_mergeability_check passed
build_dependent_cpp_tests not run
test_quality_heuristics passed
Adaptive build: fetch passed
Adaptive build: export passed 5 s
Adaptive build: submodules passed 37 s
Adaptive build: configure passed 32 s
Adaptive build: select passed 66 s
Adaptive build: build passed 136 s
Adaptive build: test unavailable
tests: guest (1) not run 0 ok, 1 not run
diff against its description scope remains open 0 of 3 stated claims supported; 0 verified blocking code findings; a review-scope question remains under Not verified
hosted CI (read from GitHub) incomplete 6 passed, 5 not run

Findings

Blocking

None in the diff of 2 changed files.

Non-blocking

None recorded.

Not verified

  • Not visible in supplied context, so not checked: "Restore throwing behavior for sceAudioOutSetSystemDebugState on every call".
  • Not visible in supplied context, so not checked: "Record that the host has no system mix and console behavior is unmeasured".
  • Not visible in supplied context, so not checked: "Remove the AudioOutInfo test's assertion about the return value of sceAudioOutSetSystemDebugState".
  • Some requested related-file context could not be read safely: core/libs/prx/libSceAudioOut/src/Unimplemented.cpp: not a regular file at the PR head
  • Only the diff and the pull request text were compared; behaviour that depends on code outside the diff is not covered.
  • build_and_compile: not run. Builds are intentionally excluded from this fast, no-build check pass.
  • build_dependent_cpp_tests: not run. Changed C/C++ source or test files need exact-head binaries; this fast pass does not build.
  • 1 test was not run for a reason ctest did not give.
  • Test selection ran only the selected subset (1 of 4494 tests selected); other tests were not verified in this run.
  • No hardware or console run was done; none of those behaviors is verified. Local builds and tests ran on one Linux machine only.
  • The target branch advanced during processing. Local checks and the AI review use base 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b; the later observed base tip(s) 77d2cc9b3626da1844e84829d218723ad40a8300 were not part of those results.
Test logs (13 entries; open to read)
build_and_compile: not run

Reason:

Builds are intentionally excluded from this fast, no-build check pass.

No output.

diff_check: passed (exit 0)

Command:

git diff --check 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b...2b438fc275d52e15341ab594ec1dc03914235704

No output.

conventions_and_pr_template: passed (exit 0)

Command:

python3 tools/check_conventions.py --base 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b --head 2b438fc275d52e15341ab594ec1dc03914235704 --title 'feat(audioout): stub sceAudioOutSetSystemDebugState' --body pr-body.md

stdout:

All conventions checks passed.
changed_export_abi_audit: passed (exit 0)

Command:

python3 tools/pr_abi_audit.py --base 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b --head 2b438fc275d52e15341ab594ec1dc03914235704 --json

stdout:

{
  "status": "not_applicable",
  "symbols": [],
  "findings": [],
  "limitations": [
    "No changed APS5_VABI declaration/definition or APS5_EXPORT alias was recognized in the PR diff."
  ]
}
python_syntax: not applicable

Reason:

No changed Python implementation files.

No output.

related_python_unit_tests: not applicable

Reason:

No changed Python tool module has a related tools/tests/test_<module>.py suite.

No output.

python_test_registration: not applicable

Reason:

No changed Python test files need registration.

No output.

live_dependency_and_mergeability_check: passed (exit 0)

Command:

python3 tools/pr_stack_check.py 13989 --repo boykopovar/AnyPS5 --output-dir stack

stdout:

stack-report.md
stack-report.json
build_dependent_cpp_tests: not run

Reason:

Changed C/C++ source or test files need exact-head binaries; this fast pass does not build.

No output.

test_quality_heuristics: passed (exit 0)

Command:

python3 tools/pr_test_quality.py --root head-2b438fc275d5-623b8e7e --json core/libs/prx/libSceAudioOut/tests/AudioOutInfo.cpp docs/dev/debt/libSceAudioOut.md

stdout:

{
  "findings": [
    {
      "path": "core/libs/prx/libSceAudioOut/tests/AudioOutInfo.cpp",
      "line": 1,
      "kind": "possible-unregistered-cpp-test",
      "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage."
    }
  ],
  "negative_control_candidates": [],
  "limits": [
    "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.",
    "A test that passes against base is not by itself proof that the PR test is inadequate.",
    "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error."
  ]
}
negative_controls: not applicable

Reason:

No changed tools/ Python test module is eligible for a base-source negative control.

No output.

Adaptive build and tests (merged preview): did not finish

Result:

The build passed; 0 of 1 passed; 1 not run for an unknown reason. Nothing that ran failed.

Base commit:

15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b

Steps:

Fetch: done in 0 s
Export: done in 5 s
Submodules: done in 37 s
Configure: done in 32 s
Select: done in 66 s
Build: done in 136 s
Test: unavailable

What did not run, and why:

1 test was not run for a reason ctest did not give.
The base tip has changed since it was last built here. Run this level with the source set to the base tip to learn which failures predate the change.

All tests:

Not run (a test they need failed) (1)
guest_sleep_cancel_sce_usleep_deferred_coarse

Complete output: 1,663 lines, 0.1 MB: not attached (it stays in the local report)

Hosted CI as GitHub shows it: incomplete

Jobs, newest run of each:

labels: success (PR labels)
relinker-asan: skipped (Build)
register-context: skipped (Build)
write-watch: skipped (Build)
relinker: skipped (Build)
linux: skipped (Build)
windows: success (Build)
eligibility: success (Build)
conventions: success (Conventions)
library-portability: success (Emscripten library portability)
report: success (Progress report)

Overall:

6 of 11 jobs passed; 5 were skipped and provide no evidence.
<!-- greyfinch-sync:boykopovar/AnyPS5:review:5816585274 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/13989#pullrequestreview-5816585274). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-08T04:19:34Z. **Review:** COMMENTED --- # Tests run and reviewed — checks incomplete, not approved The build passed; 0 of 1 passed; 1 not run for an unknown reason. Nothing that ran failed. Not approved: Adaptive build and tests (merged preview): did not finish. Adaptive build and tests (merged preview): 1 test did not run; their results are not verified. The review identified behavior or claims it could not fully verify. ## What I ran Head `2b438fc275d52e15341ab594ec1dc03914235704`; base `15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b`. Recorded local processing time: **5m 1s** across no-build checks 7s, build and tests 4m 40s, AI diff review 14s. This sums task runtimes (which may overlap); GitHub Actions time is excluded. Environment: Linux-6.1.0-54-amd64-x86_64-with-glibc2.36; Python 3.11.2; compiler c++ (Debian 12.2.0-14+deb12u1) 12.2.0. Saved local build and test runs are listed below; their source and results are in the Test logs section. I ran the repository's no-build precheck on this exact head and base: ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 13989 ``` Hosted CI results are read from GitHub; I did not run them. I compared the full diff of 2 changed files (225 lines) with the pull request description. I ran nothing for this and looked at nothing outside the diff. ## Results | Check | Result | Note | |---|---|---| | build_and_compile | not run | | | diff_check | passed | | | conventions_and_pr_template | passed | | | changed_export_abi_audit | passed | | | live_dependency_and_mergeability_check | passed | | | build_dependent_cpp_tests | not run | | | test_quality_heuristics | passed | | | Adaptive build: fetch | passed | | | Adaptive build: export | passed | 5 s | | Adaptive build: submodules | passed | 37 s | | Adaptive build: configure | passed | 32 s | | Adaptive build: select | passed | 66 s | | Adaptive build: build | passed | 136 s | | Adaptive build: test | unavailable | | | tests: guest (1) | not run | 0 ok, 1 not run | | diff against its description | scope remains open | 0 of 3 stated claims supported; 0 verified blocking code findings; a review-scope question remains under Not verified | | hosted CI (read from GitHub) | incomplete | 6 passed, 5 not run | ## Findings ### Blocking None in the diff of 2 changed files. ### Non-blocking None recorded. ## Not verified - Not visible in supplied context, so not checked: "Restore throwing behavior for sceAudioOutSetSystemDebugState on every call". - Not visible in supplied context, so not checked: "Record that the host has no system mix and console behavior is unmeasured". - Not visible in supplied context, so not checked: "Remove the AudioOutInfo test's assertion about the return value of sceAudioOutSetSystemDebugState". - Some requested related-file context could not be read safely: core/libs/prx/libSceAudioOut/src/Unimplemented.cpp: not a regular file at the PR head - Only the diff and the pull request text were compared; behaviour that depends on code outside the diff is not covered. - build_and_compile: not run. Builds are intentionally excluded from this fast, no-build check pass. - build_dependent_cpp_tests: not run. Changed C/C++ source or test files need exact-head binaries; this fast pass does not build. - 1 test was not run for a reason ctest did not give. - Test selection ran only the selected subset (1 of 4494 tests selected); other tests were not verified in this run. - No hardware or console run was done; none of those behaviors is verified. Local builds and tests ran on one Linux machine only. - The target branch advanced during processing. Local checks and the AI review use base `15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b`; the later observed base tip(s) `77d2cc9b3626da1844e84829d218723ad40a8300` were not part of those results. <details> <summary>Test logs (13 entries; open to read)</summary> <details> <summary>build_and_compile: not run</summary> Reason: ```text Builds are intentionally excluded from this fast, no-build check pass. ``` No output. </details> <details> <summary>diff_check: passed (exit 0)</summary> Command: ```sh git diff --check 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b...2b438fc275d52e15341ab594ec1dc03914235704 ``` No output. </details> <details> <summary>conventions_and_pr_template: passed (exit 0)</summary> Command: ```sh python3 tools/check_conventions.py --base 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b --head 2b438fc275d52e15341ab594ec1dc03914235704 --title 'feat(audioout): stub sceAudioOutSetSystemDebugState' --body pr-body.md ``` stdout: ```text All conventions checks passed. ``` </details> <details> <summary>changed_export_abi_audit: passed (exit 0)</summary> Command: ```sh python3 tools/pr_abi_audit.py --base 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b --head 2b438fc275d52e15341ab594ec1dc03914235704 --json ``` stdout: ```text { "status": "not_applicable", "symbols": [], "findings": [], "limitations": [ "No changed APS5_VABI declaration/definition or APS5_EXPORT alias was recognized in the PR diff." ] } ``` </details> <details> <summary>python_syntax: not applicable</summary> Reason: ```text No changed Python implementation files. ``` No output. </details> <details> <summary>related_python_unit_tests: not applicable</summary> Reason: ```text No changed Python tool module has a related tools/tests/test_<module>.py suite. ``` No output. </details> <details> <summary>python_test_registration: not applicable</summary> Reason: ```text No changed Python test files need registration. ``` No output. </details> <details> <summary>live_dependency_and_mergeability_check: passed (exit 0)</summary> Command: ```sh python3 tools/pr_stack_check.py 13989 --repo boykopovar/AnyPS5 --output-dir stack ``` stdout: ```text stack-report.md stack-report.json ``` </details> <details> <summary>build_dependent_cpp_tests: not run</summary> Reason: ```text Changed C/C++ source or test files need exact-head binaries; this fast pass does not build. ``` No output. </details> <details> <summary>test_quality_heuristics: passed (exit 0)</summary> Command: ```sh python3 tools/pr_test_quality.py --root head-2b438fc275d5-623b8e7e --json core/libs/prx/libSceAudioOut/tests/AudioOutInfo.cpp docs/dev/debt/libSceAudioOut.md ``` stdout: ```text { "findings": [ { "path": "core/libs/prx/libSceAudioOut/tests/AudioOutInfo.cpp", "line": 1, "kind": "possible-unregistered-cpp-test", "message": "Changed C++ test source path was not found literally in CMake files; inspect registration, generated source lists, and workflow coverage." } ], "negative_control_candidates": [], "limits": [ "Heuristics can miss weak assertions and can flag valid tests; inspect every finding.", "A test that passes against base is not by itself proof that the PR test is inadequate.", "Negative controls are only candidates until the test actually runs against base and fails by assertion rather than import/setup error." ] } ``` </details> <details> <summary>negative_controls: not applicable</summary> Reason: ```text No changed tools/ Python test module is eligible for a base-source negative control. ``` No output. </details> <details> <summary>Adaptive build and tests (merged preview): did not finish</summary> Result: ```text The build passed; 0 of 1 passed; 1 not run for an unknown reason. Nothing that ran failed. ``` Base commit: ```text 15ec0e83cdaf3fd66f9c99bd1a2dfc4f2bd52e6b ``` Steps: ```text Fetch: done in 0 s Export: done in 5 s Submodules: done in 37 s Configure: done in 32 s Select: done in 66 s Build: done in 136 s Test: unavailable ``` What did not run, and why: ```text 1 test was not run for a reason ctest did not give. The base tip has changed since it was last built here. Run this level with the source set to the base tip to learn which failures predate the change. ``` All tests: ```text Not run (a test they need failed) (1) guest_sleep_cancel_sce_usleep_deferred_coarse ``` Complete output: 1,663 lines, 0.1 MB: not attached (it stays in the local report) </details> <details> <summary>Hosted CI as GitHub shows it: incomplete</summary> Jobs, newest run of each: ```text labels: success (PR labels) relinker-asan: skipped (Build) register-context: skipped (Build) write-watch: skipped (Build) relinker: skipped (Build) linux: skipped (Build) windows: success (Build) eligibility: success (Build) conventions: success (Conventions) library-portability: success (Emscripten library portability) report: success (Progress report) ``` Overall: ```text 6 of 11 jobs passed; 5 were skipped and provide no evidence. ``` </details> </details>

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!13989
No description provided.