ci: fix the sanitizers nightly registration audit and the agc_graphics_profile_draw timeout #16552

Merged
oneandonlydean merged 2 commits from upstream-pr/16552 into main 2026-11-07 04:30:16 +00:00
oneandonlydean commented 2026-11-07 04:14:57 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-11-07T04:14:57Z.


What

The sanitizers nightly fails in two places (#16444).

tools/check_test_registration.py reported the exports of libSceAddressSanitizer as a library source no target compiles, because core/libs/CMakeLists.txt deliberately does not build that library when ANYPS5_ENABLE_ASAN or ANYPS5_ENABLE_TSAN is on. The audit now reads those two cache flags from the build's CMakeCache.txt, leaves that library out in a sanitizer build and prints a note saying so. A normal build still reports it. This part is Ethan Hainline's commit from his fork (fix/sanitizer-registration-audit), taken unchanged with his authorship.

agc_graphics_profile_draw exceeds its 60 s ctest limit under ASan, and also on slow GPUs in a plain Release build (AMD RX 6300, #16089). Its limit is now 300 s in every build.

Tested

tools/check_conventions.py passes. The new unit tests for the audit are in tools/tests/test_unbuilt_exports.py; I have not run them or the sanitizer nightly from here, so the first sanitizer run after this lands is the real check for the registration step. The timeout change is a one-line limit change.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: #16444
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes
<!-- greyfinch-sync:boykopovar/AnyPS5:issue:5198311092 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/16552). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-11-07T04:14:57Z. --- ### What The sanitizers nightly fails in two places (#16444). `tools/check_test_registration.py` reported the exports of `libSceAddressSanitizer` as a library source no target compiles, because `core/libs/CMakeLists.txt` deliberately does not build that library when `ANYPS5_ENABLE_ASAN` or `ANYPS5_ENABLE_TSAN` is on. The audit now reads those two cache flags from the build's `CMakeCache.txt`, leaves that library out in a sanitizer build and prints a note saying so. A normal build still reports it. This part is Ethan Hainline's commit from his fork (`fix/sanitizer-registration-audit`), taken unchanged with his authorship. `agc_graphics_profile_draw` exceeds its 60 s ctest limit under ASan, and also on slow GPUs in a plain Release build (AMD RX 6300, #16089). Its limit is now 300 s in every build. ### Tested `tools/check_conventions.py` passes. The new unit tests for the audit are in `tools/tests/test_unbuilt_exports.py`; I have not run them or the sanitizer nightly from here, so the first sanitizer run after this lands is the real check for the registration step. The timeout change is a one-line limit change. ### Checklist <!-- Rules behind each item: https://github.com/boykopovar/AnyPS5/blob/main/CONTRIBUTING.md --> - [x] Based on current `main`; no other open PR implements the same functions - [x] One topic per PR; follow-ups go in a new PR - [x] No comments in code except [technical debt](https://github.com/boykopovar/AnyPS5/blob/main/docs/dev/CONVENTIONS.md) - [x] Unimplemented paths throw (`NotImplemented_nid_no_patch`); silent stubs are listed under Silent stubs in their library's [technical debt](https://github.com/boykopovar/AnyPS5/tree/main/docs/dev/debt) file - [x] No notes, investigation `.md` files or images added to the repository (attach them to this PR) - [x] New third-party code is a submodule built from source - [x] Generic behaviour, not specific to one title - [x] Depends on: none - [x] Fixes: #16444 - [x] Unblocks: none - [x] GPUs tested: n/a - [x] 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!16552
No description provided.