Idea for handling the PR flood: contributors review each other (looking for feedback) #5503
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 tibzejoker on 2026-10-13T21:31:50Z.
Hi, Tide suggested I open an issue for this after a Discord thread.
Some of my PRs here waited several days, and I understand why. Agents made PRs cheap, but someone still has to read every one, so the project has to cap intake. I've been thinking about whether contributors could take part of that review load without lowering the bar, and I built a small experiment around it: https://github.com/tibzejoker/anyPercent5
The idea is basically jury duty. If you send PRs, you also get PRs to review. You don't choose which ones, and you don't see who wrote them. To keep reviewers honest, some of the PRs you get are copies of real pending PRs, sometimes with a bug planted in them. If you find the bug, your score goes up. If you reject a clean one, it goes down. Reviews then go to people with good scores. Changes to CI, the build or dependencies need more reviewers than the rest. It all runs from one GitHub Action, one branch and one issue, with no server.
To be clear about where it stands: I've only tested it in a simulation and on its own repo, never on a real project. GitHub shows who opened a PR, so the anonymity is only partial. The planted bugs cost reviewers some time. And it would not have caught something like the xz backdoor.
I'm not asking you to switch to this. If it sounds interesting at all, a small trial could be an opt-in label where the jury reviews alongside you, you keep the merge button, and after a couple of weeks we compare its calls with yours. It would sit next to the bots you already have, not replace them.
Mostly I'd like to know:
I used Claude Code to build the tool and to help write this.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T21:39:43Z.
An opt-in shadow trial sounds useful if it measures whether it reduces maintainer review time without lowering defect detection. I’d keep maintainer review and merge authority unchanged during the trial, and compare jury findings with maintainer findings on the same small set of PRs. Track review time, actionable findings missed, and clean PRs incorrectly flagged. Anonymity may be partial because diffs and branch metadata can identify authors, and planted defects could bias reviewers toward the kinds of issues the harness knows how to seed. I’d also compare this with lighter intake tools such as duplicate detection and batching related PRs, since raw review volume may be the main bottleneck.
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-13T21:44:40Z.
I'm not convinced this targets what holds PRs up here. When I counted earlier today, 116 of 625 open PRs conflicted with
main, mostly in the debt docs, CMake lists and shared test files, and implementation PRs that no title reaches get closed whatever a review says. A jury changes neither.The reviews that have moved threads for me were runs: build the PR, start a title on it, post what happened. Scoring diff reading against planted bugs does not reward that, and the planted copies are more PRs to read in a queue that is already too long. Most authors and reviewers here work with agents, so the score would mostly rank agents on synthetic bugs.
If contributors are to carry review load, I'd ask for something simpler: whoever opens a PR also reproduces one other open PR on a title and posts the result.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T21:46:19Z.
That is a useful correction. If the conflict count is representative, rebase help and title-level reproduction look like better targets than scoring anonymous diff reviews. A low-friction trial could let contributors opt in to reproducing one open PR on a title and post the exact PR head, title/build, hardware, and result; it should not be a merge gate. The limitation is access to particular titles and GPUs, so contributors need an easy way to skip cases they cannot run.
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-13T21:49:45Z.
Repost of what I sent to discord regarding conflicts and rebasing:
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T21:52:32Z.
Splitting the recurring conflict points sounds more directly useful than a review score. One caveat on the debt files: the current contribution rules and
debt_split.pygroup entries by the first linkedcore/path, so a per-PR file scheme would need to change that format and its tooling. A rebase helper that keeps both sides for purely additive debt entries could help now, with conflicts that remove or edit the same entry left for the author to resolve.Test files are a plausible next target, but I would check how CMake discovers tests before switching to a glob: registration also carries target dependencies and platform conditions, so automatic discovery must not silently omit or misconfigure a test. An opt-in rebase handoff for debt-only conflicts and a small test-registration prototype seem like useful experiments; neither needs to gate merges.
Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-13T21:56:02Z.
Thanks a lot, both of you, for taking the time on this. It's exactly the kind of pushback I was hoping for, and it already changed my mind.
You're right, the jury doesn't fit here. Reviews aren't what holds my PRs up. #5003 got rebased three times today, twice just for one line in a debt doc, and what moved it was five people running it on their titles. So I'm dropping the jury for this repo. Running another open PR on a title you own sounds good to me, and I'm already doing it for a few PRs with GTA.
fma-rc's plan for the conflicts makes sense. Until the debt docs and tests are split, I can write the rebase bot: it would only touch PRs whose sole conflicts are in debt docs, test lists or CMake lists, keep both sides, and push the result to a branch the author can take, never to the PR itself. If a maintainer is fine with that, I'll open it as a normal PR so you can see exactly what it does.
One more thing from today: I was blocked on PRs whose authors went quiet. #637 is the one GTA needs, and it has been conflicting with changes requested since the 11th. Right now nobody can pick it up without the author saying yes. Something like "after N days with no push and no answer, anyone can continue from the author's branch and keep them as co-author" would have saved me most of today. N is up to you.
Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-13T22:10:14Z.
A 7-day no-push/no-reply window seems like a reasonable starting point for a takeover rule, with maintainer approval and an explicit opt-out from the original author. It gives authors a clear chance to return without leaving a blocked title fix stuck indefinitely. For the handoff, I would preserve the original commits and author metadata, have the new contributor add only their own follow-up commits, and document the exact branch/head they continued from; I would avoid adding a co-author trailer unless the original author actually contributed to the new commit. For urgent title-blocking fixes, a maintainer could shorten the wait with the original author’s consent.
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-13T22:27:37Z.
A correction to my comment above: I left out the plainest factor. Of the last 300 merged PRs, 296 were merged by two people, and those 300 took about two days against roughly 625 open. So merge capacity is a limit of its own, whatever state each PR is in. Conflicts and missing title evidence decide which PRs are ready; the number of people who can merge decides how many of the ready ones land per day.
That is the part a contributor scheme could help with, if its output were something the maintainers trust enough to merge on, for example a reproduction on a named title at a named head.
Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-13T23:49:46Z.
Related reading: https://www.anthropic.com/engineering/redesigning-source-control
Anthropic hit the same wall internally: merges went from about 2.5k to 30k a day once agents did most of the work. Two points match this thread. They dropped a global merge queue in favour of testing after merge, and they use per-directory approval rules. Their setup assumes trusted internal agents, though, so the trust side doesn't carry over here.
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-14T00:19:25Z.
I read it. Part of it is already how this repo works: on a pull request only the conventions, intake and eligibility jobs run, and the Linux and Windows builds run on a push to
mainor when a maintainer dispatches them for a PR. So there is no merge queue to drop.The per-directory rules are the part that would be new. There is no
CODEOWNERSfile, and as I counted above two people do nearly all the merging. Letting a contributor with a record in one library approve PRs undercore/libs/prx/<lib>would add merge capacity exactly where it is short.What the article leans on and we lack is the automatic bisect and revert after a bad merge. The check that matters here is a title run, which CI cannot do. It also says nothing about files that every change appends to, so the conflict problem stays ours to solve.
Imported from boykopovar/AnyPS5. Originally posted by KauaSantos702 on 2026-10-14T00:39:59Z.
I can take part in the "run another open PR and post the result" idea for GPU-facing PRs.
Hardware: NVIDIA GeForce RTX 5070 (Blackwell), driver 32.0.16.1714, Windows 11, Intel Core i3-10100. Toolchain: WinLibs GCC 15.2.0 r7, Release.
Baseline: at
maind1670009fthe full suite passes, 1103 tests (1094 passed, 9 skipped):agc_driver_stencil_ref_exportis skipped because the device lacksVK_EXT_shader_stencil_export.guest_video_out_high_frame_rateis skipped because my display has no 120 Hz mode.long_pathsis skipped becauseLongPathsEnabledis 0. (I enabled after the test)For AGC, shader recompiler or VideoOut PRs, I can run
ctestat the PR head on this card and post the head commit, the hardware and the result. I can also run open-source homebrew titles on it. If a PR needs a run on a Blackwell card, mention me.Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-14T00:46:53Z.
@KauaSantos702 you can point your agent at open PRs and ask it to test the ones with no run posted on your hardware. The filter that helps most is PRs labelled
agcorshaderwhose Tested section names only one vendor.If your i3-10100's integrated GPU can run the suite, those results may be worth more than the 5070's. Could you run the full suite on it at
mainfirst and post the pass, fail and skip counts? If most GPU tests run there, a PR result from both cards, with any difference between them called out, is the most useful thing you could post.To put numbers on which hardware is short, I counted the GPU vendors named in the 700 newest open and the 700 newest merged PRs: in the body (Tested section and the "GPUs tested" line) and in comments and reviews by other people, bots skipped.
For PRs labelled
agcorshader, hardware vendors named in body or comments:On the open PRs the comment runs come from 43 people naming NVIDIA, 21 AMD, 9 Intel and 4 Apple. Intel is the thinnest: 32 of 700 open PRs have any Intel result. The counts come from matching device names in the text, CPU names excluded, so treat them as approximate.
Imported from boykopovar/AnyPS5. Originally posted by tibzejoker on 2026-10-14T07:35:11Z.
Taking up fma-rc's point on Intel results. My machine has an Intel UHD Graphics 770 (the i9-13900K's iGPU, driver 32.0.101.6129) next to an RTX 4090, both on Windows 11.
ANYPS5_GPU=Intelpicks the iGPU forctest.Baseline at
maind1670009f-era on the UHD 770: the full suite passes, 1111 tests, 0 failed, 35 skipped. The skips are features this GPU lacks: f64, 64-bit and float atomics, mesh shaders, fp16 interpolation and dot, shader clock, plus the display-dependent VideoOut tests.Last night I posted UHD 770 runs on #5466, #5457, #5474, #5522 and #5117, and all of them passed. From now on, for open
agc/shaderPRs with no Intel result, I'll post the PR's own tests and the GPU suite on both cards, and call out any difference between them. GTA V runs on the 4090 are available too, for PRs that touch what it uses.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by savvaniss on 2026-10-16T20:58:35Z.
Baseline on two more GPUs. Windows 11 Pro 26300, i7-14700K, WinLibs GCC 15.2.0 r7, Release, every execution test built (
ANYPS5_AGC_EXECUTION_TESTSempty),ctest --parallel 4 --timeout 120.1002:7550), driver 32.0.31041.10048086:a780), driver 32.0.101.7088main406fd9ea9, withoutagc_driver_gpu_indirect_arguments_misaligned_writer_ahead, which does not build on Windows (#6716):Failures:
select_testsneeds symlink privilege (WinError 1314) on a machine without Developer Mode.guest_shader_linktimed out at 120 s in the parallel run and passes alone in 0.02 s (#6791, #6641).agc_driver_quad_pixel_mask(#6255) andagc_driver_layered_volume_vertex_no_gpl(#4768, #6436).agc_driver_bindless_images,image_sint8,image_table,image_table_cache_boundsandimage_table_reuse; the driver's regular limits are 200 per stage (#6647). Alsoagc_driver_sample_multisample_target(sample 1 of pixel (0, 0) does not hold the stored color); I found no issue or PR for it.maina7f108030with #6452, #6647, #6255 and #6436 merged: the RX 9070 XT passes 1338 of 1339 from an emptyVkCache, the UHD 770 1337 of 1339.select_testsfails on both, andsample_multisample_targeton the UHD 770. Each PR has its own result.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by keravyn-ops on 2026-10-17T10:40:34Z.
Baseline on an RDNA 3 APU, for the "run another open PR" pool. Lenovo Legion Go, AMD Ryzen Z1 Extreme with Radeon 780M (
1002:15bf, RDNA 3, 64-lane default subgroup, 16 GiB shared), AMD driver 25.10.20.01 (32.0.21020.1007), Windows 11 Home 10.0.26100, WinLibs GCC 15.2.0 r7, Release, every execution test built (ANYPS5_AGC_EXECUTION_TESTSempty),ctest --parallel 4 --timeout 120.main673f7406c: 1377 tests — 1357 passed, 3 failed, 17 skipped (4.5 min).select_testsWinError 1314atsymlink_to(Developer Mode off); passes with #6961agc_driver_quad_pixel_maskimplicit-LOD sample with quad pixel mask 2: pixel (0, 0) channel 2 is 2, expected 0— the AMD failure #6255 fixesagc_driver_layered_volume_vertex_no_gplslice 1 texel (0, 0) channel 0 is 64, expected 255; passes 2/2 with%LOCALAPPDATA%\AMD\VkCacheemptied — #4768Skipped:
agc_host_import_sparse,agc_driver_sparse_dma_buf_import(udmabuf is Linux only);agc_driver_ngg_vertex_wave_reduction(needs 32-lane subgroups);agc_driver_oversized_dispatch(4294967295 workgroup limit); 11video_out_flip_*tests andguest_video_out_wqhd_detection_no_vulkan(no display/Vulkan surface under ctest);long_paths(LongPathsEnabledis not 1).Runs I've posted from this device so far: #6094, #6505, #5958, #6666, #6678, #6730, #6751, #6760, #6850, #6881, #6905, #6911, #6918, #6921, #6926, #6941, #6943, #6944, #6958, #6960, #6963, #6966, #6970, #6972, #6982, #7044, #7050.
AI-assisted: yes (runs made on the device above).
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-17T11:55:41Z.
@KauaSantos702 @tibzejoker @savvaniss @keravyn-ops my comment above was easy to misread, mostly because I asked for a baseline at
mainfirst. That baseline was only meant as your own check that a GPU runs the suite at all before you test PRs on it. Please don't post more baselines here.What helps is running an open PR's tests on hardware its Tested section does not cover and posting the result as a comment on that PR: the PR's head commit, the device and driver, the tests run, and any difference from
mainon the same machine. The baselines already in this thread can stay.