feat(tools): version patch advisor JSON conversion options #12911
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/12911"
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 WhiteAssassins on 2026-10-29T14:06:58Z.
What
Follow-up to #12769. Add
schemaVersion: 1to every advisor JSON result, including errors, so consumers can identify the output contract. Addconversion_optionsas an argument array only for verified entries. It contains the same--patches, module and executable options as the existing text output, without shell quoting. If duplicate verified IDs are rejected, their conversion options are removed as well.This branch includes the corrected #12769 head
16aae8b62d6b5740a2948bc5d6b4e720a2ff4595, including its strict-JSON regression. The focused follow-up is commitc9bca05ec8; compare this branch with that parent head for the four-file delta. The later merges retain the maintainer's main refresh and incorporate the corrected prerequisite without rewriting history. No patch is downloaded, combined or applied.Tested
CachyOS Linux, Python 3.14.8 and 3.11:
tools/tests/test_patch_advisor_json.py(7/7),tools/tests/test_suggest_patches.py(40/40), andcore/relinker/relinker/tests/test_patch_advisor_json_integration.py <local relinker>pass with each Python version. The JSON tests include strict parsing of non-finite-number failures. The integration uses a previously built native relinker with a synthetic ELF; the relinker was not rebuilt for this PR. No PS5 title or GPU run is claimed.python3 tools/check_conventions.py --base origin/main,python3 tools/check_test_registration.py --scriptsandgit diff --check origin/pr-12769..HEADpass.git merge-tree --write-tree HEAD origin/mainfinds no conflict with current main7feb37ee3e. The parent incorporates the already merged #12340 and the current #12787 head; #12911 remains dependent on #12769 landing first.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 malekaifa on 2026-11-13T00:46:33Z.
Review: APPROVED
Rechecked exact head
f37cce2a98after #12769 merged. The branch is currently clean/mergeable, hosted checks are green, the focused JSON/advisor validation previously passed on this unchanged head, and the Windows/full-suite follow-up reports no new failures versus main. No remaining source blocker found.