fix(tools): stream duplicate export search patterns #8461
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8461"
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 mazen320 on 2026-10-20T13:01:34Z.
What
Large export diffs can exceed Windows' command-line limit because duplicate detection passes every export name in one regex argument. Feed fixed-string patterns to
git grepon stdin instead; the existing C++ parser still checks exact export names, definitions, library ownership and test exclusions. No export is dropped and no check is disabled.Tested
Windows, Python and Git fixture tests. The 400-export regression fails on unchanged main with
FileNotFoundError: [WinError 206], then passes with the change, retaining the real duplicate and rejecting a longer identifier with the same prefix. All four blob-read tests pass in 3.989 s, including the existing Git process-count assertions.All 140 conventions regression tests pass (85.345 s total).
The real
--base origin/maincomparison also finishes rather than crashing: 235 findings / 8 errors against the old fork history. The focused--base upstream/maincomparison passes. This changes developer tooling only; no game, console or GPU improvement is claimed.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 github-actions[bot] on 2026-10-21T00:30:08Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)tools/check_conventions.pyL209-210