fix(tools): check overlap against every open pull request #1325

Merged
darhebkf merged 1 commit from upstream-pr/1325 into main 2026-10-09 21:42:14 +00:00
darhebkf commented 2026-10-07 23:36:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by darhebkf on 2026-10-07T23:36:40Z.


What

The overlap check omits PRs beyond its 200-item limit. Fetch all API pages, preserve PR metadata and dependencies, and encode the base-branch query. Register the three functional regressions with CTest.

Tested

Rebased onto main d70b8998. macOS 15.7.3, Apple Silicon, AppleClang 17, Python 3.14.6. Both pr_overlap_encoding and pr_overlap_tools passed through CTest. A read-only live call retrieved all 518 open PRs for main. The new group took 0.06 s locally.

The shared upstream C++ relinker sources were built in Release during this review; subsequent tool-only branches ran their affected CTest groups. Conventions and whitespace checks pass for each branch. Full Linux/Windows runtime validation requires a maintainer-dispatched Build run; no title or homebrew was executed.

Checklist

  • Based on current main; no other open PR implements the same fix.
  • One topic per PR; this remains the same fix with its regression tests.
  • No source comments added; comment text in test fixtures is string data.
  • Unimplemented paths throw; no runtime exports or silent stubs added.
  • No notes, investigation files or images added to the repository.
  • No new third-party code.
  • Generic behaviour, not specific to one title.
  • New test groups finish well below 30 s locally; CI-runner timings remain unverified.
  • Depends on: none.
  • AI-assisted: yes.
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4779776364 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1325). Originally posted by [darhebkf](https://github.com/darhebkf) on 2026-10-07T23:36:40Z. --- ### What The overlap check omits PRs beyond its 200-item limit. Fetch all API pages, preserve PR metadata and dependencies, and encode the base-branch query. Register the three functional regressions with CTest. ### Tested Rebased onto main `d70b8998`. macOS 15.7.3, Apple Silicon, AppleClang 17, Python 3.14.6. Both pr_overlap_encoding and pr_overlap_tools passed through CTest. A read-only live call retrieved all 518 open PRs for main. The new group took 0.06 s locally. The shared upstream C++ relinker sources were built in Release during this review; subsequent tool-only branches ran their affected CTest groups. Conventions and whitespace checks pass for each branch. Full Linux/Windows runtime validation requires a maintainer-dispatched Build run; no title or homebrew was executed. ### Checklist - [x] Based on current `main`; no other open PR implements the same fix. - [x] One topic per PR; this remains the same fix with its regression tests. - [x] No source comments added; comment text in test fixtures is string data. - [x] Unimplemented paths throw; no runtime exports or silent stubs added. - [x] No notes, investigation files or images added to the repository. - [x] No new third-party code. - [x] Generic behaviour, not specific to one title. - [x] New test groups finish well below 30 s locally; CI-runner timings remain unverified. - [x] Depends on: none. - [x] AI-assisted: yes.
rmz-24 commented 2026-10-09 13:10:19 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by rmz-24 on 2026-10-09T13:10:19Z.


Windows run (Windows 11 Pro 25H2, Python 3.14), 357d4d3e cherry-picked onto main d70b8998:

  • tools/tests/test_pr_overlap.py: passes.
  • With tools/pr_overlap.py reset to main and the new tests kept: FAILED (failures=1, errors=2), so the tests catch what the change fixes.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6081548552 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/1325#issuecomment-6081548552). Originally posted by [rmz-24](https://github.com/rmz-24) on 2026-10-09T13:10:19Z. --- Windows run (Windows 11 Pro 25H2, Python 3.14), 357d4d3e cherry-picked onto `main` d70b8998: - `tools/tests/test_pr_overlap.py`: passes. - With `tools/pr_overlap.py` reset to `main` and the new tests kept: `FAILED (failures=1, errors=2)`, so the tests catch what the change fixes. AI-assisted: yes
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!1325
No description provided.