Most open-PR conflicts come from the debt docs and libSceAgcDriver/CMakeLists.txt #12521
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 janzezno on 2026-10-28T17:11:39Z.
@oneandonlydean @adriadam10, most of the 274 open PRs that conflict with
mainconflict in a few shared list files, not in code. I'd like to fix the worst one,core/libs/prx/libSceAgcDriver/CMakeLists.txt, but the change would itself conflict with many open PRs, so I'm asking before writing it.Numbers
Measured on 2026-10-28 against
mainat7fea87746b. I test-merged each conflicting PR head withgit merge-tree --write-tree upstream/main <head>.docs/dev/debt/*.mdfileCMakeLists.txtlibSceAgcDriver.md(33 PRs),libSceLibreSsl.md(28),libkernel.md(24) andlibc.md(19).libSceAgcDriver/CMakeLists.txtis touched by 151 open PRs and got 93 commits onmainin the last 3 days. It is 4306 lines long. From line 437 to the end it registers tests: 162 test executables, each in a block ofadd_test_executable,target_*,configure_windows_unwindandadd_test. Most PRs that touch it add one such block, in the same few places.CI is not the bottleneck: a PR build takes about 7 minutes.
Proposal: one CMake fragment per AGC test
Move each test block into its own fragment, for example
tests/cmake/<Name>.cmake.CMakeLists.txtwould include all of them in sorted order:A new test then adds a file instead of editing shared lines. A test that reuses another test's executable, like the
agc_driver_recorder_testsmodes, goes in that executable's fragment, soset_tests_propertiesnever comes before itsadd_test.ctest -Nlists the same tests, with the same properties, before and after, on Linux and on Windows (MSYS2).CMakeLists.txtand moves it into a new fragment, so the rebase is mechanical.If it works well, the same split could go to the libc, libkernel and LibreSsl CMake files.
Questions
.cmakefiles OK, given the "Add no other files" rule in AGENTS.md? Is there a layout you'd prefer totests/cmake/?