ci: merge train for 65 reviewed PRs (CI batch, do not merge) #2545

Closed
oneandonlydean wants to merge 152 commits from upstream-pr/2545 into main
oneandonlydean commented 2026-10-10 03:41:40 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T03:41:40Z.


CI batch for the pull requests below, merged onto main c72d5ce112 in this order. Do not merge this PR. It exists only so one full build tests them together; each PR is merged on its own after this build is green, and this PR is then closed.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:4808441938 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2545). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T03:41:40Z. --- CI batch for the pull requests below, merged onto main c72d5ce112 in this order. **Do not merge this PR.** It exists only so one full build tests them together; each PR is merged on its own after this build is green, and this PR is then closed. - #1494 at 3fba616bb5 - #1549 at c2231a821a - #1562 at 14f5572fca - #1628 at 94a33bfa5c - #1632 at 02005c86d2 - #1633 at d7e52cb295 - #1639 at b6a9530723 - #1652 at c26c1cae5b - #1653 at 5333a20537 - #1658 at 20e8bb09ba - #1688 at f70d2bdf87 - #1709 at 2c7d9b9c82 - #1727 at 9d0b105771 - #1769 at c17c5ebd4d - #1786 at 2356aba27b - #1804 at 21d21da385 - #1822 at ac2b0f5deb - #1830 at 0745d803e5 - #1836 at 52b77c2022 - #1840 at 05e1cf9d67 - #1846 at 81d86aa523 - #1893 at 21612855b3 - #1911 at 4bc84d6b44 - #1914 at 1e20b4ec50 - #1915 at af9e60b690 - #1926 at 78388c247e - #1929 at e06c459534 - #1935 at 2381e7fc64 - #1944 at c970ca73a0 - #1957 at c8c2079e56 - #1968 at 98b4bdf843 - #2063 at 622984257b - #2066 at 89661f8f5d - #2090 at a3f0120da2 - #2091 at d1c14102ab - #2095 at 7638ade79f - #2128 at e70e81dc45 - #2139 at d1a3d42121 - #2152 at 10f57dea29 - #2154 at a58fe0cd72 - #2157 at 035b675e6d - #2178 at 24876afca9 - #2179 at 77373c0380 - #2197 at 0fc522d9be - #2202 at 628c656199 - #2215 at eec5c18279 - #2222 at 98b449f655 - #2236 at 24474e3d28 - #2238 at ba5256333d - #2243 at a406ad4df7 - #2245 at 682d6f62a3 - #2246 at 15a877892b - #2256 at ec5a2019b2 - #2262 at a213a26b47 - #2275 at 69063dc1ef - #2284 at d31100a0f2 - #2289 at 275163277b - #2293 at 270f375c82 - #2324 at d8c5d142b6 - #2335 at 46786b1e91 - #2339 at e4dcf3e6c0 - #2357 at 6c81134f79 - #2449 at 8a58185306 - #2450 at c8c90995a0 - #2469 at 7638c11841
github-actions[bot] commented 2026-10-10 03:42:02 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T03:42:02Z.


Progress report (c72d5ce → ed81d37)

📉 System libraries: 85.67% (-0.03%, +1 declared functions)

🆕 1 declared as stubs
Library Name
libkernel madvise_nid_postfix
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093408300 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2545#issuecomment-6093408300). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T03:42:02Z. --- <!-- progress-report --> ### Progress report (c72d5ce → ed81d37) 📉 **System libraries**: 85.67% (-0.03%, +1 declared functions) <details> <summary>🆕 1 declared as stubs</summary> | Library | Name | | - | - | | libkernel | `madvise_nid_postfix` | </details>
reyani-dev commented 2026-10-10 03:51:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by reyani-dev on 2026-10-10T03:51:23Z.


I reproduced the three red relinker jobs on this train head (refs/pull/2545/head) on Windows (WinLibs GCC 15.2.0, -DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON). Two PRs in the train each pass on their own, but break when merged with other code. With the two one-line changes below, the relinker builds and ctest passes 55/55 on this train.

1. Build: #2339 + #2097

EntryStubBuilder.cpp:3:10: fatal error: domain/Types.hpp: No such file or directory

#2339 adds entry_stub_tests, which compiles EntryStubBuilder.cpp with only elfpatcher/include on the include path. #2097 adds #include <domain/Types.hpp> to that file. Fix in core/relinker/CMakeLists.txt:

     target_include_directories(entry_stub_tests PRIVATE
         ${CMAKE_CURRENT_SOURCE_DIR}/elfpatcher/include
+        ${CMAKE_CURRENT_SOURCE_DIR}/domain/include
     )

2. Test: #1529 against current main, independent of the train

Once it builds, guest_symbol_names fails:

assert importer == ["shared"], importer
AssertionError: ['shared', '__aps5_get_pending_module_args_nid_no_patch', '__aps5_set_module_init_result_nid_no_patch']

LinuxGuestModuleWriter on main now adds the module-args host hooks as undefined imports to every guest module. #1529's new guest-declared case predates that. I merged #1529 alone onto main (c72d5ce1) and it fails the same way, while main itself passes. Fix in core/relinker/relinker/tests/test_guest_symbol_names.py, ignoring the host hooks in that check:

-        importer = module_symbols((guests / "c.prx.guest.prx").read_bytes())
+        importer = [name for name in module_symbols((guests / "c.prx.guest.prx").read_bytes()) if not name.endswith("_nid_no_patch")]

The conventions failure is only this PR's own description, which has no template sections.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093478082 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2545#issuecomment-6093478082). Originally posted by [reyani-dev](https://github.com/reyani-dev) on 2026-10-10T03:51:23Z. --- I reproduced the three red `relinker` jobs on this train head (`refs/pull/2545/head`) on Windows (WinLibs GCC 15.2.0, `-DANYPS5_RELINKER_ONLY=ON -DBUILD_TESTING=ON`). Two PRs in the train each pass on their own, but break when merged with other code. With the two one-line changes below, the relinker builds and `ctest` passes 55/55 on this train. **1. Build: #2339 + #2097** ``` EntryStubBuilder.cpp:3:10: fatal error: domain/Types.hpp: No such file or directory ``` #2339 adds `entry_stub_tests`, which compiles `EntryStubBuilder.cpp` with only `elfpatcher/include` on the include path. #2097 adds `#include <domain/Types.hpp>` to that file. Fix in `core/relinker/CMakeLists.txt`: ```diff target_include_directories(entry_stub_tests PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/elfpatcher/include + ${CMAKE_CURRENT_SOURCE_DIR}/domain/include ) ``` **2. Test: #1529 against current `main`, independent of the train** Once it builds, `guest_symbol_names` fails: ``` assert importer == ["shared"], importer AssertionError: ['shared', '__aps5_get_pending_module_args_nid_no_patch', '__aps5_set_module_init_result_nid_no_patch'] ``` `LinuxGuestModuleWriter` on `main` now adds the module-args host hooks as undefined imports to every guest module. #1529's new `guest-declared` case predates that. I merged #1529 alone onto `main` (c72d5ce1) and it fails the same way, while `main` itself passes. Fix in `core/relinker/relinker/tests/test_guest_symbol_names.py`, ignoring the host hooks in that check: ```diff - importer = module_symbols((guests / "c.prx.guest.prx").read_bytes()) + importer = [name for name in module_symbols((guests / "c.prx.guest.prx").read_bytes()) if not name.endswith("_nid_no_patch")] ``` The `conventions` failure is only this PR's own description, which has no template sections.
github-actions[bot] commented 2026-10-10 04:21:23 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-10T04:21:23Z.


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.

Pull request Conflicting files (lines on main) Same exports Same new files
#1087 core/relinker/relinker/tests/test_elf_header.py L5, L20-22
#1494 core/libs/prx/libSceAgcDriver/tests/execution/PendingExactSurface.cpp
#1913 core/relinker/relinker/tests/test_tls_function_coverage.py L425-562
#2243 core/relinker/relinker/tests/test_input_preservation.py
#2274 core/relinker/relinker/tests/test_linux_eh_frame_header.py L51-54
#2294 core/relinker/CMakeLists.txt L269
#2304 core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp L277-279
core/relinker/relinker/src/analysis/UnusedNidFilter/ControlFlowGraph.cpp L26
#2339 core/relinker/elfpatcher/tests/EntryStubTests.cpp
#2469 core/libs/prx/libSceAgcDriver/Graphics/shaders/SampleDumps.comp
core/libs/prx/libSceAgcDriver/tests/shaders/Cover.frag
core/libs/prx/libSceAgcDriver/tests/shaders/Cover.vert
#2470 core/libs/prx/libSceAgcDriver/tests/shaders/Cover.frag
core/libs/prx/libSceAgcDriver/tests/shaders/Cover.vert
<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093712306 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2545#issuecomment-6093712306). Originally posted by [github-actions[bot]](https://github.com/apps/github-actions) on 2026-10-10T04:21:23Z. --- <!-- pr-overlap --> 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**. | Pull request | Conflicting files (lines on `main`) | Same exports | Same new files | |---|---|---|---| | #1087 | `core/relinker/relinker/tests/test_elf_header.py` [L5](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/relinker/tests/test_elf_header.py#L5), [L20-22](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/relinker/tests/test_elf_header.py#L20-L22) | | | | #1494 | | | `core/libs/prx/libSceAgcDriver/tests/execution/PendingExactSurface.cpp` | | #1913 | `core/relinker/relinker/tests/test_tls_function_coverage.py` [L425-562](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/relinker/tests/test_tls_function_coverage.py#L425-L562) | | | | #2243 | | | `core/relinker/relinker/tests/test_input_preservation.py` | | #2274 | `core/relinker/relinker/tests/test_linux_eh_frame_header.py` [L51-54](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/relinker/tests/test_linux_eh_frame_header.py#L51-L54) | | | | #2294 | `core/relinker/CMakeLists.txt` [L269](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/CMakeLists.txt#L269) | | | | #2304 | `core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp` [L277-279](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/relinker/src/analysis/CodeInstructionCollector.cpp#L277-L279)<br>`core/relinker/relinker/src/analysis/UnusedNidFilter/ControlFlowGraph.cpp` [L26](https://github.com/boykopovar/AnyPS5/blob/698254f048952385120dba5b7af7658be2fd49e6/core/relinker/relinker/src/analysis/UnusedNidFilter/ControlFlowGraph.cpp#L26) | | | | #2339 | | | `core/relinker/elfpatcher/tests/EntryStubTests.cpp` | | #2469 | | | `core/libs/prx/libSceAgcDriver/Graphics/shaders/SampleDumps.comp`<br>`core/libs/prx/libSceAgcDriver/tests/shaders/Cover.frag`<br>`core/libs/prx/libSceAgcDriver/tests/shaders/Cover.vert` | | #2470 | | | `core/libs/prx/libSceAgcDriver/tests/shaders/Cover.frag`<br>`core/libs/prx/libSceAgcDriver/tests/shaders/Cover.vert` |
oneandonlydean commented 2026-10-10 04:47:49 +00:00 (Migrated from github.com)

Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-10T04:47:49Z.


Train build 38023415505 was green; the listed pull requests were merged individually. Closing.

<!-- greyfinch-sync:boykopovar/AnyPS5:comment:6093911718 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/pull/2545#issuecomment-6093911718). Originally posted by [oneandonlydean](https://github.com/oneandonlydean) on 2026-10-10T04:47:49Z. --- Train build 38023415505 was green; the listed pull requests were merged individually. Closing.

Pull request closed

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!2545
No description provided.