feat(progress): add GuestFault_nid_no_patch and count it as implemented #23849
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/23849"
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 monika-runtime on 2026-11-19T19:16:42Z.
What
Adds
GuestFault_nid_no_patchnext toNotImplemented_nid_no_patchinlibc/include/General.hpp, with the sameAt_file/line variant and macro. It throws for an input on which the console module faults or asserts, or for which upstream behaviour is undefined, so that such an export is not counted as unfinished forever. It does not incrementNotImplementedCalls_nid_no_patchand does not report the function as missing, so the runtime report and the overlay keep naming only real gaps.tools/progress.pytreats a call to the new helper as a plain throw: a definition whose only remaining throw is aGuestFault_nid_no_patchcall counts as implemented. The counting rules indocs/dev/PROGRESS.mdand the progress page say so, andtools/tests/test_progress.pyhas regressions for the helper alone, for a definition that still callsNotImplemented_nid_no_patch, and for a local helper wrapper.CONTRIBUTING.mdandAGENTS.mdstate when the new helper applies and that every use names its reason in the pull request or the library's technical debt.No call sites move in this pull request. Library pull requests follow one at a time, each justifying its own sites; this is part of #23391, which stays open for them.
Tested
Linux x86-64, GCC 16.2.1, relinker-only Release build:
python3 -I tools/tests/test_progress.py: 81 tests, OK.python3 -I tools/tests/test_progress_wrappers.py: 13 tests, OK.python3 -I tools/progress.py --module libharfbuzz --json: libharfbuzz 30 of 37 before and after, since no call site moved.ctest --test-dir build-relinker -R '^(progress|tools_progress|progress_history)': 15 tests passed.cmake --build build --target libc: compiles and linkslibc.prxwith the new helper.libc.prxcallsGuestFault_nid_no_patch: it throwssceExample called with an input the console does not define at <file>:<line>, andNotImplementedCalls_nid_no_patch()stays 0.python3 tools/check_conventions.py --base upstream/main: all checks passed.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)#23391stays open for the per-library migrations)Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-20T12:26:09Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the behavior and progress-counting updates are supported by the inspected code and regression cases.
What I ran
Inspected head
bd05ce5c336c17b24abf6c20565e090c51ec53bfusingrepo_read.pyfor the prepared description, commit list, manifest and diff, all changed files, and focused progress-scanner source context. No commands or tests were run in this review; test results below are author-reported.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
No tests, build, runtime checks, or convention checks were run independently. The author reports successful progress tests, build, runtime helper check, and convention checks in the PR description. No files were excluded from the prepared review bundle; all seven files listed as reviewed in the manifest were read.
To get this to a good state
Nothing is required.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-11-22T20:11:51Z.
Review: APPROVED
Reviewed — looks good
Nothing blocks this change; the author-reported checks support its stated behavior, but I did not run them.
What I ran
Read the prepared diff and all seven changed files at head
780d8ccfcbf040583a567868b2a0b2f8450f487cusingrepo_read.py. No commands or tests were run. All changed files were included and read:AGENTS.md,CONTRIBUTING.md,core/libs/prx/libc/include/General.hpp,core/libs/prx/libc/src/General.cpp,docs/dev/PROGRESS.md,tools/progress.py, andtools/tests/test_progress.py.Results
Findings
Blocking
None.
Non-blocking
None.
Not verified
The tests, build, console behavior, and convention checks listed in the PR description were not run by me. No files were excluded from the review;
files.jsonwas not available as a review document, and the reader’s file listing confirmed the seven changed files were included.To get this to a good state
Nothing is required.
Pull request closed