fix: throw from unimplemented exports in libSceSdma, libSceSsl, libSceVideoRecordingP, and libSceVisionManager #14308

Closed
JoanNugroho wants to merge 1 commit from upstream-pr/14308 into main
JoanNugroho commented 2026-11-01 09:13:35 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by JoanNugroho on 2026-11-01T09:13:35Z.


What

Convert six silent stubs to throw NotImplemented_nid_no_patch instead of returning success:

  • libSceSdma: sceSdmaInitialize, sceSdmaFinalize
  • libSceSsl: CRYPTO_uninitAsymmetricKey, VLONG_freeVlongQueue
  • libSceVideoRecordingP: sceVideoRecordingInit
  • libSceVisionManager: sceVisionManagerLoadSettings

Also updated the technical debt entries for libSceSsl, libSceVideoRecordingP, and libSceVisionManager to list the newly-throwing exports.

Tested

Not tested.

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:5105627383 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14308). Originally posted by [JoanNugroho](https://github.com/JoanNugroho) on 2026-11-01T09:13:35Z. --- What Convert six silent stubs to throw NotImplemented_nid_no_patch instead of returning success: - libSceSdma: sceSdmaInitialize, sceSdmaFinalize - libSceSsl: CRYPTO_uninitAsymmetricKey, VLONG_freeVlongQueue - libSceVideoRecordingP: sceVideoRecordingInit - libSceVisionManager: sceVisionManagerLoadSettings Also updated the technical debt entries for libSceSsl, libSceVideoRecordingP, and libSceVisionManager to list the newly-throwing exports. Tested Not tested. 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 - [x] Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical 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 - [ ] Depends on: none - [ ] Fixes: none - [ ] Unblocks: none - [ ] GPUs tested: n/a - [x] AI-assisted: yes
MarcZX10 commented 2026-11-01 09:09:27 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T09:09:27Z.

Review: CHANGES_REQUESTED


Reviewed — changes requested

The required PR convention check reports 16 errors, and the PR has unresolved overlaps with #11478 and #14226 that need an agreed landing order.

What I ran

Reviewed head 5cd961da1ece6f2c185a8a8809f0094ddd633d65 against the PR base snapshot 5c9837bfe7c5533f2c77c968dd8193157a8c342a. The exact head also previews cleanly on current main at 26fa1212b82f76dd49cf12d65e445d6ff3e0844c. Pairwise previews against the current heads of #11478 and #14226 conflict in the files listed below. Environment: Debian GNU/Linux 12, Python 3.11.2, Git 2.39.5, GCC 12.2.0; no C++ build was run.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14308
git diff --check 5c9837bfe7c5533f2c77c968dd8193157a8c342a...5cd961da1ece6f2c185a8a8809f0094ddd633d65
python3 tools/pr_stack_check.py 14308 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14308-5cd961da1ece/stack
git merge-tree --write-tree --name-only --no-messages 5cd961da1ece6f2c185a8a8809f0094ddd633d65 43debd5f3f38c818e08d7ba97919ff22a5dbbdb4
git merge-tree --write-tree --name-only --no-messages 5cd961da1ece6f2c185a8a8809f0094ddd633d65 803d608419b345fc4556b05a2c2d0507decdd471
gh pr checks 14308 --repo boykopovar/AnyPS5

Results

Check Result
PR title and required template Failed: 16 convention/template errors.
git diff --check Passed; no output.
Merge preview on current main Passed: clean preview.
Pairwise overlap preview Conflicts: #11478 in docs/dev/debt/libSceVideoRecordingP.md; #14226 in core/libs/prx/libSceAjm/Export.cpp.
ABI audit and test-quality helper Not executable from this PR snapshot; those scripts are absent there.
Hosted checks conventions and labels are pending.
Build/tests Not run; no local C++ build or CTest was performed.
Raw PR convention-check output
(pull request): error: [pr-template] Fill in the pull request template: fill the '### What' section
(pull request): error: [pr-template] Fill in the pull request template: fill the '### Tested' section
(pull request): error: [pr-template] Fill in the pull request template: unchecked: One topic per PR; follow-ups go in a new PR
(pull request): error: [pr-template] Fill in the pull request template: unchecked: No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md)
(pull request): error: [pr-template] Fill in the pull request template: unchecked: 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
(pull request): error: [pr-template] Fill in the pull request template: unchecked: No notes, investigation `.md` files or images added to the repository (attach them to this PR)
(pull request): error: [pr-template] Fill in the pull request template: unchecked: New third-party code is a submodule built from source
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Generic behaviour, not specific to one title
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Depends on:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Fixes:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Unblocks:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: GPUs tested:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: AI-assisted:
(pull request): error: [pr-template] Fill in the pull request template: answer AI-assisted with yes or no
(pull request): error: [pr-template] Fill in the pull request template: fill Depends on with #N or none
(pull request): error: [pr-title] Pull request title is not Conventional Commits: Fix/more unimplemented returns
16 findings, 16 errors; GitHub shows at most 10 error annotations, the job summary lists all
Raw live GitHub check output
conventions	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41291249637/job/124802791615
labels	pending	0	https://github.com/boykopovar/AnyPS5/actions/runs/41291249632/job/124802791824

Negative control

Assertion Change to code under test Result
Whether tests fail when the change is removed No negative-control variant was run. Could not be exercised.

Findings

Blocking

  • Required title and PR template fields are incomplete. The repository checker rejects the current title (Fix/more unimplemented returns) and reports blank What/Tested sections, unchecked required checklist items, and missing answers for AI-assisted and Depends on. Please use a Conventional Commit title, describe the change and actual testing, complete the applicable checklist, and answer each required metadata field. The repository’s convention and template rules are documented in its contribution guide and PR template.
  • Resolve the two overlapping PRs before integration. The current heads conflict pairwise with this PR in #11478’s docs/dev/debt/libSceVideoRecordingP.md and #14226’s core/libs/prx/libSceAjm/Export.cpp. The contribution guide asks authors to agree on landing order and declare dependencies. Please coordinate with those authors and fill the Depends on line with the agreed PR number(s), or none if the authors agree no dependency is needed. Evidence: #11478 head, #14226 head, and the overlap-order rule.

Non-blocking

  • The added return 0; lines appear unreachable. The PR adds thousands of returns after NotImplemented_nid_no_patch, whose declaration at this head is [[noreturn]]. These lines do not supply a fallback return value; removing them would substantially reduce the diff and make the functional changes easier to inspect. See the declaration at the reviewed head.

Sources

Not verified

  • No local C++ build, CTest, console run, GPU test, or runtime behavior was verified.
  • The two hosted checks are pending, so their final outcomes are unknown.
  • The ABI audit and test-quality helper could not run because those helper scripts are absent from the PR snapshot.

To get this to a good state

Complete the required title and PR metadata, coordinate the overlapping PR order and dependency declaration, and consider removing the unreachable returns. Once the PR has a new head, I will rerun these same checks against it.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5727324154 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14308#pullrequestreview-5727324154). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T09:09:27Z. **Review:** CHANGES_REQUESTED --- # Reviewed — changes requested The required PR convention check reports 16 errors, and the PR has unresolved overlaps with #11478 and #14226 that need an agreed landing order. ## What I ran Reviewed head `5cd961da1ece6f2c185a8a8809f0094ddd633d65` against the PR base snapshot `5c9837bfe7c5533f2c77c968dd8193157a8c342a`. The exact head also previews cleanly on current `main` at `26fa1212b82f76dd49cf12d65e445d6ff3e0844c`. Pairwise previews against the current heads of #11478 and #14226 conflict in the files listed below. Environment: Debian GNU/Linux 12, Python 3.11.2, Git 2.39.5, GCC 12.2.0; no C++ build was run. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14308 git diff --check 5c9837bfe7c5533f2c77c968dd8193157a8c342a...5cd961da1ece6f2c185a8a8809f0094ddd633d65 python3 tools/pr_stack_check.py 14308 --repo boykopovar/AnyPS5 --output-dir /tmp/anyps5-pr-precheck/boykopovar-AnyPS5-pr-14308-5cd961da1ece/stack git merge-tree --write-tree --name-only --no-messages 5cd961da1ece6f2c185a8a8809f0094ddd633d65 43debd5f3f38c818e08d7ba97919ff22a5dbbdb4 git merge-tree --write-tree --name-only --no-messages 5cd961da1ece6f2c185a8a8809f0094ddd633d65 803d608419b345fc4556b05a2c2d0507decdd471 gh pr checks 14308 --repo boykopovar/AnyPS5 ``` ## Results | Check | Result | |---|---| | PR title and required template | Failed: 16 convention/template errors. | | `git diff --check` | Passed; no output. | | Merge preview on current `main` | Passed: clean preview. | | Pairwise overlap preview | Conflicts: #11478 in `docs/dev/debt/libSceVideoRecordingP.md`; #14226 in `core/libs/prx/libSceAjm/Export.cpp`. | | ABI audit and test-quality helper | Not executable from this PR snapshot; those scripts are absent there. | | Hosted checks | `conventions` and `labels` are pending. | | Build/tests | Not run; no local C++ build or CTest was performed. | <details> <summary>Raw PR convention-check output</summary> ```text (pull request): error: [pr-template] Fill in the pull request template: fill the '### What' section (pull request): error: [pr-template] Fill in the pull request template: fill the '### Tested' section (pull request): error: [pr-template] Fill in the pull request template: unchecked: One topic per PR; follow-ups go in a new PR (pull request): error: [pr-template] Fill in the pull request template: unchecked: No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) (pull request): error: [pr-template] Fill in the pull request template: unchecked: 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 (pull request): error: [pr-template] Fill in the pull request template: unchecked: No notes, investigation `.md` files or images added to the repository (attach them to this PR) (pull request): error: [pr-template] Fill in the pull request template: unchecked: New third-party code is a submodule built from source (pull request): error: [pr-template] Fill in the pull request template: unchecked: Generic behaviour, not specific to one title (pull request): error: [pr-template] Fill in the pull request template: unchecked: Depends on: (pull request): error: [pr-template] Fill in the pull request template: unchecked: Fixes: (pull request): error: [pr-template] Fill in the pull request template: unchecked: Unblocks: (pull request): error: [pr-template] Fill in the pull request template: unchecked: GPUs tested: (pull request): error: [pr-template] Fill in the pull request template: unchecked: AI-assisted: (pull request): error: [pr-template] Fill in the pull request template: answer AI-assisted with yes or no (pull request): error: [pr-template] Fill in the pull request template: fill Depends on with #N or none (pull request): error: [pr-title] Pull request title is not Conventional Commits: Fix/more unimplemented returns 16 findings, 16 errors; GitHub shows at most 10 error annotations, the job summary lists all ``` </details> <details> <summary>Raw live GitHub check output</summary> ```text conventions pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41291249637/job/124802791615 labels pending 0 https://github.com/boykopovar/AnyPS5/actions/runs/41291249632/job/124802791824 ``` </details> ## Negative control | Assertion | Change to code under test | Result | |---|---|---| | Whether tests fail when the change is removed | No negative-control variant was run. | Could not be exercised. | ## Findings ### Blocking - **Required title and PR template fields are incomplete.** The repository checker rejects the current title (`Fix/more unimplemented returns`) and reports blank `What`/`Tested` sections, unchecked required checklist items, and missing answers for `AI-assisted` and `Depends on`. Please use a Conventional Commit title, describe the change and actual testing, complete the applicable checklist, and answer each required metadata field. The repository’s convention and template rules are documented in its [contribution guide](https://github.com/boykopovar/AnyPS5/blob/5c9837bfe7c5533f2c77c968dd8193157a8c342a/CONTRIBUTING.md#L5) and [PR template](https://github.com/boykopovar/AnyPS5/blob/5c9837bfe7c5533f2c77c968dd8193157a8c342a/.github/pull_request_template.md). - **Resolve the two overlapping PRs before integration.** The current heads conflict pairwise with this PR in #11478’s `docs/dev/debt/libSceVideoRecordingP.md` and #14226’s `core/libs/prx/libSceAjm/Export.cpp`. The contribution guide asks authors to agree on landing order and declare dependencies. Please coordinate with those authors and fill the `Depends on` line with the agreed PR number(s), or `none` if the authors agree no dependency is needed. Evidence: [#11478 head](https://github.com/boykopovar/AnyPS5/blob/43debd5f3f38c818e08d7ba97919ff22a5dbbdb4/docs/dev/debt/libSceVideoRecordingP.md), [#14226 head](https://github.com/boykopovar/AnyPS5/blob/803d608419b345fc4556b05a2c2d0507decdd471/core/libs/prx/libSceAjm/Export.cpp), and [the overlap-order rule](https://github.com/boykopovar/AnyPS5/blob/5c9837bfe7c5533f2c77c968dd8193157a8c342a/CONTRIBUTING.md#L70). ### Non-blocking - **The added `return 0;` lines appear unreachable.** The PR adds thousands of returns after `NotImplemented_nid_no_patch`, whose declaration at this head is `[[noreturn]]`. These lines do not supply a fallback return value; removing them would substantially reduce the diff and make the functional changes easier to inspect. See the [declaration at the reviewed head](https://github.com/boykopovar/AnyPS5/blob/5cd961da1ece6f2c185a8a8809f0094ddd633d65/core/libs/prx/libc/include/General.hpp#L15). ## Sources - [Contribution rules at base snapshot](https://github.com/boykopovar/AnyPS5/blob/5c9837bfe7c5533f2c77c968dd8193157a8c342a/CONTRIBUTING.md) - [PR template at base snapshot](https://github.com/boykopovar/AnyPS5/blob/5c9837bfe7c5533f2c77c968dd8193157a8c342a/.github/pull_request_template.md) - [Reviewed helper declaration at PR head](https://github.com/boykopovar/AnyPS5/blob/5cd961da1ece6f2c185a8a8809f0094ddd633d65/core/libs/prx/libc/include/General.hpp#L15) ## Not verified - No local C++ build, CTest, console run, GPU test, or runtime behavior was verified. - The two hosted checks are pending, so their final outcomes are unknown. - The ABI audit and test-quality helper could not run because those helper scripts are absent from the PR snapshot. ## To get this to a good state Complete the required title and PR metadata, coordinate the overlapping PR order and dependency declaration, and consider removing the unreachable returns. Once the PR has a new head, I will rerun these same checks against it.
MarcZX10 commented 2026-11-01 09:47:56 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-01T09:47:56Z.

Review: COMMENTED


Re-checked — new head, changes requested still apply

The head moved to b8d0173ccf6d, but the PR body is still the empty template and the title is still not Conventional Commits, so the blocking convention failures from the 09:09Z request remain.

What I ran

Exact head b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc (one commit, fix: throw from unimplemented exports in libSceSdma, libSceSsl, libSceVideoRecordingP, and libSceVisionManager). Base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c (current main). The merge preview against that base is clean.

Environment: Debian GNU/Linux 12 host, Python from the precheck interpreter /marc/Conlyse-VIEJO/.venv/bin/python3. No project build.

python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14308
git diff --check 26fa1212b82f76dd49cf12d65e445d6ff3e0844c...b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc
python3 -I tools/pr_abi_audit.py --base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c --head b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc --json

The precheck's ABI and test-quality helpers could not run because they are absent from the head tree. I ran the ABI audit by hand from /marc/AnyPS5/tools. The test-quality step does not apply: no test file changed.

Results

Check Result
git diff --check passed
conventions and PR template failed: 16 errors and 1 warning
ABI audit, by hand (171 symbols) passed with warnings: one finding, videoRecordingUnknown_iQS6DUtLybE. The explicit NID differs from the computed one. That alias is outside the diff (libSceVideoRecordingP/Export.cpp L187-L189), so the PR does not cause it
merge preview against current main clean
hosted conventions on this head FAILURE
Conventions output, unedited (precheck, head b8d0173ccf)
docs/dev/debt/libSceVisionManager.md:5: warning: [debt-length] Technical debt entry over 1000 characters: state the gap first (what differs from the console, what is unverified, what throws) and keep only the behaviour it needs: 2033 characters
(pull request): error: [pr-template] Fill in the pull request template: fill the '### What' section
(pull request): error: [pr-template] Fill in the pull request template: fill the '### Tested' section
(pull request): error: [pr-template] Fill in the pull request template: unchecked: One topic per PR; follow-ups go in a new PR
(pull request): error: [pr-template] Fill in the pull request template: unchecked: No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md)
(pull request): error: [pr-template] Fill in the pull request template: unchecked: 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
(pull request): error: [pr-template] Fill in the pull request template: unchecked: No notes, investigation `.md` files or images added to the repository (attach them to this PR)
(pull request): error: [pr-template] Fill in the pull request template: unchecked: New third-party code is a submodule built from source
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Generic behaviour, not specific to one title
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Depends on:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Fixes:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: Unblocks:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: GPUs tested:
(pull request): error: [pr-template] Fill in the pull request template: unchecked: AI-assisted:
(pull request): error: [pr-template] Fill in the pull request template: answer AI-assisted with yes or no
(pull request): error: [pr-template] Fill in the pull request template: fill Depends on with #N or none
(pull request): error: [pr-title] Pull request title is not Conventional Commits: Fix/more unimplemented returns
17 findings, 16 errors; GitHub shows at most 10 error annotations, the job summary lists all

Findings

Blocking

  1. The PR body is still the empty template. ### What and ### Tested are empty, most checklist items are unchecked, and Depends on, Fixes, Unblocks, GPUs tested and AI-assisted are unanswered. The conventions check fails on this head, as it did on 5cd961da1e. Fill the template so each item is true, and check only the boxes that are true.
  2. The title Fix/more unimplemented returns is not Conventional Commits. The commit subject already has the right form. A title such as fix: throw from unimplemented exports in four libraries would match.
  3. The overlap with #11478 and #14226 from the earlier request is still not answered in the body. I did not re-run those pairwise previews at this head. The body needs a stated landing order in Depends on.

Non-blocking

  1. Behaviour change. Six exports that returned 0 now throw: sceSdmaInitialize, sceSdmaFinalize, sceVideoRecordingInit, sceVisionManagerLoadSettings, CRYPTO_uninitAsymmetricKey and VLONG_freeVlongQueue. Throwing is the direction in CONTRIBUTING.md:7 and AGENTS.md:6. CONTRIBUTING.md:10 allows a success-returning stub only when it unblocks a title and is listed under Silent stubs. For sceVideoRecordingInit specifically, docs/dev/debt/libSceVideoRecordingP.md lists as unverified what the console returns before sceVideoRecordingInit. The PR body should say, for each of the six, whether it was a silent stub that some title needs. If one is, removing it can break that title.
  2. The debt-length warning on docs/dev/debt/libSceVisionManager.md:5 (2033 characters) is a warning, not a failure. The base entry was already over the 1000-character limit, so this is not new.

Sources

Not verified

  • Whether any title calls the six changed exports during initialisation. Not checked.
  • Pairwise overlap with #11478 and #14226 at their current heads. Not re-run in this pass.
  • No build and no tests. The PR's own tests, if any, were not run.

To get this to a good state

Fill the PR body, change the title to Conventional Commits form, list the landing order with #11478 and #14226 in Depends on, and state for each of the six functions whether it was a silent stub that unblocks a title. The same conventions check will be rerun on the next head.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5727464431 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14308#pullrequestreview-5727464431). Originally posted by [MarcZX10](https://github.com/MarcZX10) on 2026-11-01T09:47:56Z. **Review:** COMMENTED --- # Re-checked — new head, changes requested still apply The head moved to `b8d0173ccf6d`, but the PR body is still the empty template and the title is still not Conventional Commits, so the blocking convention failures from the 09:09Z request remain. ## What I ran Exact head `b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc` (one commit, `fix: throw from unimplemented exports in libSceSdma, libSceSsl, libSceVideoRecordingP, and libSceVisionManager`). Base `26fa1212b82f76dd49cf12d65e445d6ff3e0844c` (current `main`). The merge preview against that base is clean. Environment: Debian GNU/Linux 12 host, Python from the precheck interpreter `/marc/Conlyse-VIEJO/.venv/bin/python3`. No project build. ```sh python3 tools/pr_precheck.py --repo boykopovar/AnyPS5 --pr 14308 git diff --check 26fa1212b82f76dd49cf12d65e445d6ff3e0844c...b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc python3 -I tools/pr_abi_audit.py --base 26fa1212b82f76dd49cf12d65e445d6ff3e0844c --head b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc --json ``` The precheck's ABI and test-quality helpers could not run because they are absent from the head tree. I ran the ABI audit by hand from `/marc/AnyPS5/tools`. The test-quality step does not apply: no test file changed. ## Results | Check | Result | |---|---| | `git diff --check` | passed | | conventions and PR template | failed: 16 errors and 1 warning | | ABI audit, by hand (171 symbols) | passed with warnings: one finding, `videoRecordingUnknown_iQS6DUtLybE`. The explicit NID differs from the computed one. That alias is outside the diff (`libSceVideoRecordingP/Export.cpp` L187-L189), so the PR does not cause it | | merge preview against current `main` | clean | | hosted conventions on this head | FAILURE | <details> <summary>Conventions output, unedited (precheck, head b8d0173ccf6d)</summary> ```text docs/dev/debt/libSceVisionManager.md:5: warning: [debt-length] Technical debt entry over 1000 characters: state the gap first (what differs from the console, what is unverified, what throws) and keep only the behaviour it needs: 2033 characters (pull request): error: [pr-template] Fill in the pull request template: fill the '### What' section (pull request): error: [pr-template] Fill in the pull request template: fill the '### Tested' section (pull request): error: [pr-template] Fill in the pull request template: unchecked: One topic per PR; follow-ups go in a new PR (pull request): error: [pr-template] Fill in the pull request template: unchecked: No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) (pull request): error: [pr-template] Fill in the pull request template: unchecked: 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 (pull request): error: [pr-template] Fill in the pull request template: unchecked: No notes, investigation `.md` files or images added to the repository (attach them to this PR) (pull request): error: [pr-template] Fill in the pull request template: unchecked: New third-party code is a submodule built from source (pull request): error: [pr-template] Fill in the pull request template: unchecked: Generic behaviour, not specific to one title (pull request): error: [pr-template] Fill in the pull request template: unchecked: Depends on: (pull request): error: [pr-template] Fill in the pull request template: unchecked: Fixes: (pull request): error: [pr-template] Fill in the pull request template: unchecked: Unblocks: (pull request): error: [pr-template] Fill in the pull request template: unchecked: GPUs tested: (pull request): error: [pr-template] Fill in the pull request template: unchecked: AI-assisted: (pull request): error: [pr-template] Fill in the pull request template: answer AI-assisted with yes or no (pull request): error: [pr-template] Fill in the pull request template: fill Depends on with #N or none (pull request): error: [pr-title] Pull request title is not Conventional Commits: Fix/more unimplemented returns 17 findings, 16 errors; GitHub shows at most 10 error annotations, the job summary lists all ``` </details> ## Findings **Blocking** 1. The PR body is still the empty template. `### What` and `### Tested` are empty, most checklist items are unchecked, and `Depends on`, `Fixes`, `Unblocks`, `GPUs tested` and `AI-assisted` are unanswered. The conventions check fails on this head, as it did on `5cd961da1e`. Fill the template so each item is true, and check only the boxes that are true. 2. The title `Fix/more unimplemented returns` is not Conventional Commits. The commit subject already has the right form. A title such as `fix: throw from unimplemented exports in four libraries` would match. 3. The overlap with #11478 and #14226 from the earlier request is still not answered in the body. I did not re-run those pairwise previews at this head. The body needs a stated landing order in `Depends on`. **Non-blocking** 4. Behaviour change. Six exports that returned `0` now throw: `sceSdmaInitialize`, `sceSdmaFinalize`, `sceVideoRecordingInit`, `sceVisionManagerLoadSettings`, `CRYPTO_uninitAsymmetricKey` and `VLONG_freeVlongQueue`. Throwing is the direction in CONTRIBUTING.md:7 and AGENTS.md:6. CONTRIBUTING.md:10 allows a success-returning stub only when it unblocks a title and is listed under Silent stubs. For `sceVideoRecordingInit` specifically, `docs/dev/debt/libSceVideoRecordingP.md` lists as unverified what the console returns before `sceVideoRecordingInit`. The PR body should say, for each of the six, whether it was a silent stub that some title needs. If one is, removing it can break that title. 5. The debt-length warning on `docs/dev/debt/libSceVisionManager.md:5` (2033 characters) is a warning, not a failure. The base entry was already over the 1000-character limit, so this is not new. ## Sources - Head diff, pinned to the head commit: https://github.com/boykopovar/AnyPS5/blob/b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc/core/libs/prx/libSceVideoRecordingP/Export.cpp#L94-L96 and https://github.com/boykopovar/AnyPS5/blob/b8d0173ccf6d280a9da3210eb1f885c2dcfa9bcc/core/libs/prx/libSceSsl/Export.cpp#L1334-L1336 - Rules, pinned to the base commit: https://github.com/boykopovar/AnyPS5/blob/26fa1212b82f76dd49cf12d65e445d6ff3e0844c/CONTRIBUTING.md#L7-L10 and https://github.com/boykopovar/AnyPS5/blob/26fa1212b82f76dd49cf12d65e445d6ff3e0844c/AGENTS.md#L6 - Unverified note on `sceVideoRecordingInit`, pinned to the base commit: https://github.com/boykopovar/AnyPS5/blob/26fa1212b82f76dd49cf12d65e445d6ff3e0844c/docs/dev/debt/libSceVideoRecordingP.md#L20 ## Not verified - Whether any title calls the six changed exports during initialisation. Not checked. - Pairwise overlap with #11478 and #14226 at their current heads. Not re-run in this pass. - No build and no tests. The PR's own tests, if any, were not run. ## To get this to a good state Fill the PR body, change the title to Conventional Commits form, list the landing order with #11478 and #14226 in `Depends on`, and state for each of the six functions whether it was a silent stub that unblocks a title. The same conventions check will be rerun on the next head.
adriadam10 commented 2026-11-06 16:39:48 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-11-06T16:39:48Z.

Review: CHANGES_REQUESTED


Thanks for the PR. Reviewed at b8d0173ccf.

  • sceSdmaInitialize, sceSdmaFinalize, CRYPTO_uninitAsymmetricKey, VLONG_freeVlongQueue and sceVisionManagerLoadSettings are not silent stubs: main returns 0 from them on purpose, because the firmware does (9d710abf9d, "return what the firmware returns from 29 more calls it does not implement"), and core/libs/tests/GuestFirmwareConstantReturns.cpp (lines 107, 108, 115, 116, 160) requires == 0. Throwing here fails that test and would stop any title that calls Initialize/Finalize. Please drop these five (and their libSceSsl.md / libSceVisionManager.md debt edits, which would also wrongly list them as unknown).
  • sceVideoRecordingInit: docs/dev/debt/libSceVideoRecordingP.md on main already says it throws, but the code returns 0. If you want to change it, say which one is right and what that is based on (firmware disassembly or another source); "Not tested" is not enough for a behaviour change.
  • docs/dev/debt/libSceSsl.md conflicts with main, and the Conventions check fails: the Depends on, Fixes, Unblocks and GPUs tested lines are unticked/unfilled in the PR body.
  • #15072, #16342 and #13468 touch the same libraries; list them under Depends on if you build on them.

Welcome to rework it with those addressed.

<!-- greyfinch-sync:boykopovar/AnyPS5:review:5803614812 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/14308#pullrequestreview-5803614812). Originally posted by [adriadam10](https://github.com/adriadam10) on 2026-11-06T16:39:48Z. **Review:** CHANGES_REQUESTED --- Thanks for the PR. Reviewed at `b8d0173ccf`. - `sceSdmaInitialize`, `sceSdmaFinalize`, `CRYPTO_uninitAsymmetricKey`, `VLONG_freeVlongQueue` and `sceVisionManagerLoadSettings` are not silent stubs: `main` returns 0 from them on purpose, because the firmware does (9d710abf9d, "return what the firmware returns from 29 more calls it does not implement"), and `core/libs/tests/GuestFirmwareConstantReturns.cpp` (lines 107, 108, 115, 116, 160) requires `== 0`. Throwing here fails that test and would stop any title that calls Initialize/Finalize. Please drop these five (and their `libSceSsl.md` / `libSceVisionManager.md` debt edits, which would also wrongly list them as unknown). - `sceVideoRecordingInit`: `docs/dev/debt/libSceVideoRecordingP.md` on `main` already says it throws, but the code returns 0. If you want to change it, say which one is right and what that is based on (firmware disassembly or another source); "Not tested" is not enough for a behaviour change. - `docs/dev/debt/libSceSsl.md` conflicts with `main`, and the Conventions check fails: the `Depends on`, `Fixes`, `Unblocks` and `GPUs tested` lines are unticked/unfilled in the PR body. - #15072, #16342 and #13468 touch the same libraries; list them under `Depends on` if you build on them. Welcome to rework it with those addressed.

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