fix: report seven always-throwing content and audio exports as not implemented #11009
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/11009"
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 EagleBearerYS on 2026-10-25T14:09:20Z.
What
This is #10984's fix applied to seven more exports. Each of them threw a bare exception on every valid call, so
tools/progress.pycounted it as implemented. The final path now goes throughNotImplemented_nid_no_patch, which counts it as todo (6,104 → 6,097 of 12,305).A valid call sees no change in behaviour beyond the exception: it still throws, now with the text
<name> not implemented, and the four ContentSearch calls throw aruntime_errorwhere they threw alogic_error. Every early answer (NOT_INITIALIZED, argument and handle errors,RequireSession) is unchanged, and each debt entry keeps the old reason.sceAudioPropagationSourceCalculateAudioPaths: threwruntime_error("sceAudioPropagationSourceCalculateAudioPaths"), as propagation is not implemented.sceContentExportGetProgress: "progress requires the calling title SDK compatibility mode".sceContentExportFromDataWithThumbnail: "the host has no media library to export into".sceContentSearchGetMetadataFieldInfo,sceContentSearchGetMetadataValue: "metadata id was never opened, as the host content library is empty, and the console's error for it is unknown".ThrowUnknownMetadataIdhad no other callers and is removed.sceContentSearchOpenMetadata,sceContentSearchOpenMetadataByContentId: "Related: #10984 (the same fix for four exports); #11042 (the same fix for five network and kernel exports).
Tested
guest_audio_propagation,guest_content_exportandguest_content_searchpass 10 of 10 on Linux and on Windows, 0 skipped. With main's implementation, they fail on both.<name> not implementedtext. It fails with its commit's product change reverted and passes with it.d55cd28762, after oneandonlydean's review (run): the three tests no longer call the seven unsupported paths. The exact<name> not implementedchecks above, theirRequireNotImplemented/NotImplementedhelpers and the output checks that followed those calls are gone; the argument, session and handle checks stay. Those cover only the early answers, which this PR doesn't change, so the tests no longer tell this PR's code from main's; the change shows intools/progress.py's count.guest_audio_propagation,guest_content_exportandguest_content_searchpass 10 runs in a row. Linux: 3 run, 3 pass, 0 skip, 0 fail. Windows: 3 run, 3 pass, 0 skip, 0 fail. Suites: libc and libkernel pass on Linux (144 and 207) and on Windows (171 and 223). The suites ran withAPS5_SKIP_TIMING_TESTS=1, which relaxesprecise_wait's median bounds on GitHub's hosted runners.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-25T14:15:50Z.
Review: APPROVED
Reviewed the seven export paths and their validation order. The changes preserve the earlier uninitialized, handle, argument and session checks, then route the still-unimplemented valid-call paths through
NotImplemented_nid_no_patch, making progress classification accurate without adding placeholder success. The corresponding tests require the standard not-implemented diagnostic, and the debt entries retain the unresolved behavior. The reported Linux/Windows focused tests and policy checks pass; the unrelated IPv6 test failures are clearly separated.