PRmageddon #1663
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 ivall/xcl. Originally posted by ddm-j on 2026-11-24T19:09:22Z.
I have been watching, and contributing to a few of these projects. I keep an offline integration branch and do my own curated merging and testing, occasionally posting my findings.
Most of these projects are suffering from a PRmageddon. In my view, maybe too many cooks in the kitchen, possible not enough control on PR submission authority? I'd hate to see the project inundated in PRs to the point where maintainers can hardly keep a handle on it.
Just my thoughts. Not sure what the solution is.
EDIT: Here is what the PR open/close rate has looked like from the inception of the project (looks very similar to a lot of other AI swarm style projects)
EDIT 2: @ivall
Imported from ivall/xcl. Originally posted by throny on 2026-11-24T19:11:00Z.
We're trying something for this in #1607: a table, kept current by a script, of open PRs that duplicate each other or conflict, and of batches of ready PRs merged and tested together. Every finding needs two independent checks before it counts. It also counts how many independent test reports each open PR has on its current head.
To be clear, no maintainer or collaborator has approved or adopted this so far. It's an offer of help, and it may not be what they want.
Your offline integration branch is close to what a
batchcheck in #1607 is. If you post your merges and test results there in that format, they'd count as checks for others to confirm.AI use: Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by ddm-j on 2026-11-24T19:14:31Z.
I saw this thread. I think it's a good start.
Imported from ivall/xcl. Originally posted by belIadonna on 2026-11-24T19:33:18Z.
Please @ivall and Contributors, consider this, we are close to 1k PRs with duplicate things and slop fixes.
Imported from ivall/xcl. Originally posted by viktoschi on 2026-11-24T19:50:26Z.
maybe this helps?
https://github.com/storytold/autocraft
Imported from ivall/xcl. Originally posted by ddm-j on 2026-11-24T20:05:51Z.
@viktoschi that looks very promising. Seems like it would replace some of the "comment/text" based management seen in #1607.
Imported from ivall/xcl. Originally posted by throny on 2026-11-24T20:09:40Z.
But maintainer needs to set that up, otherwise it probably would just add noise.
Imported from ivall/xcl. Originally posted by viktoschi on 2026-11-24T20:11:09Z.
yep one maintainer should setup this
Imported from ivall/xcl. Originally posted by hiddenblur on 2026-11-24T20:12:22Z.
we really need something like this so this can be a concentrated effort, it feels like we're spinning our wheels right now
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T20:27:57Z.
Sorry guys, there's a huge number of PRs and it's almost impossible for us to handle them all. I'll take a look at #1607.
Imported from ivall/xcl. Originally posted by hiddenblur on 2026-11-24T20:42:55Z.
we are about to hit 1k PRs, please do not let this end up like the other projects. we need to organize this as best we can so all of our agents are working together, and not repeatedly testing and duplicating PRs.
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T20:53:24Z.
The problem is I don't have any experience with big opensource projects. What would be the recommended setup of this repo?
Imported from ivall/xcl. Originally posted by hiddenblur on 2026-11-24T20:55:44Z.
honestly, ask someone who is tenured and experienced with this, or ask claude and give it the context it needs and it will tell you. look into things like Claude Ship, look at how other projects were run, etc. dont take advice from random people.
Imported from ivall/xcl. Originally posted by viktoschi on 2026-11-24T20:56:06Z.
https://github.com/storytold/autocraft
take a look at this
Imported from ivall/xcl. Originally posted by vogelbirb on 2026-11-24T21:04:03Z.
Could this mirror help some way https://gf.openbay.app/greyfinch/xcl/issues?
I've got it synced hourly but I can adjust the interval.
Imported from ivall/xcl. Originally posted by throny on 2026-11-24T21:24:31Z.
@ivall you asked for a recommended setup. Here is one that I (throny) have reviewed and back: it's how I'd handle this with GitHub's own settings, without third-party tools. It's aimed at keeping work on the goal (the retail title past world loading) and shrinking the backlog in steps you can undo. Take what fits. The GitHub features named are from GitHub's docs and changelog (links at the end).
This week
accepted,goal:world-load,off-goal,duplicate,needs-issue.scripts/pr_check.py) that a PR has to link an issue labelledaccepted, or it may be closed and reopened later. Ghostty: "Pull requests should be associated with a previously accepted issue." [6] On #1269 this fits the claims there: one claim, one accepted issue, one PR, which removes duplicates at the source.Delegate
Shrink the backlog in categories, not PR by PR
duplicate,off-goal, stale with conflicts), have a second person spot-check each label, then close each label in one go with a template comment that says why, links the goal issue and says the PR can be reopened.gh pr list --label X --json numberandgh pr close <n> --comment …do this. Close rather than archive: archiving makes a PR read-only and hides it from the public. [7]goal:world-loadoraccepted. The rest wait, or are closed with the reopen note.If the flood continues
What I'd avoid
If you'd rather use an external tool (each needs something from you; none can run the GPU tests):
pull_request_target; on ~1 000 PRs it adds a comment to each.needs-issue), since inactivity is not quality.main, but only through CI, which has no GPU here.#1607 can carry the labelling work (duplicate groups, batches, the ready list) if that helps; we're happy to adapt it to whatever you set up.
Sources: [1] https://github.blog/changelog/2026-06-17-limit-open-pull-requests-for-users-without-write-access/ [2] https://docs.github.com/en/communities/moderating-comments-and-conversations/limiting-interactions-in-your-repository [3] https://github.blog/changelog/2026-10-28-pull-request-limits-exempt-contributors-by-age-or-history [4] https://docs.github.com/en/organizations/managing-user-access-to-your-organizations-repositories/managing-repository-roles/repository-roles-for-an-organization [5] https://github.blog/changelog/2026-02-13-new-repository-settings-for-configuring-pull-request-access/ [6] another project's repository [7] https://github.blog/changelog/2026-10-08-triage-role-users-or-higher-can-now-archive-pull-requests
AI use: Claude Code (Claude Opus 5.5) researched and wrote this; the GitHub features were checked against the linked pages, and I reviewed it.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-24T21:10:22Z.
In case it helps with the PR flood: I made a board at https://greemsc.github.io/xcl-campaigns/. It is read-only and rebuilt every few minutes from public GitHub data. It shows:
It is unofficial and only shows data, so it doesn't replace any maintainer decision.
What would be useful to add? For example: duplicates found by similar descriptions, test reports per PR, a "what can I take next" list, or ideas from AutoCraft. Tell me here or in an issue on https://github.com/GreemSC/xcl-campaigns.
AI use: Claude Code (Claude Opus 5.5).
Imported from ivall/xcl. Originally posted by maozdemir on 2026-11-24T21:10:52Z.
burning tokens, "slop fixes" that are adding more and more code that changes nothing but fictional bug fixes... that's the issue in 2026. agents are focusing on the things that don't matter, viewing them as rather important bugs. is it possible that they're being steered towards a way that's moving away from the goal, running the infamous title on our PC's? because some of these PRs I've looked at with my human eyes, aren't really related to what the issue currently is...
Imported from ivall/xcl. Originally posted by hiddenblur on 2026-11-24T21:13:56Z.
honestly, it could be that the AIs are purposely steering us away from a solution so that we waste tokens. but that's also the nature of AI, it NEEDS purposeful direction and guidance otherwise it will just keep fixing more and more granular bugs ad nauseum.
this is we we need organization, once we have a purposeful push, i think with all of our efforts we'll explode in movements and get somewhere FAST. VIctory is already loading into the game, rendering models, textures, everything albeit buggy at 4 fps. we cant even get past the first cutscene.
Imported from ivall/xcl. Originally posted by vogelbirb on 2026-11-24T21:14:42Z.
Maybe someone could get an agent to go through every PR and close the ones that are very clearly pushing us away from the goal and making unnecessary fixes? That might or might not get rid of the bulk
Imported from ivall/xcl. Originally posted by maozdemir on 2026-11-24T21:18:42Z.
not really saying that ai is purposefully steering away from the goal, what im saying is that the ai is finding "granular" bugs along the way and trying to fix them, meanwhile the game is not even launching. whats the point of trying to patch a wound that never really happened? its more like buying a Lamborghini for a baby that hasn't been born yet.
Imported from ivall/xcl. Originally posted by maozdemir on 2026-11-24T21:20:47Z.
/goal Get the game into the setup menu. Ignore everything else. Make no mistakes. 🤠
overly simplified but the concept is there... maybe a combo of those unreviewed PRs are the key but we'll never know cuz even while testing and merging them the new ones arrive.
Imported from ivall/xcl. Originally posted by hiddenblur on 2026-11-24T21:27:57Z.
^ that is a good start.
Imported from ivall/xcl. Originally posted by ivall on 2026-11-24T21:36:18Z.
@throny thank you, this is what I was asking for. Done from your list:
goal:world-loadandoff-goalare new, and a script is putting them on now.goal:world-load: 47 issues picked by title, and the PRs that name one of them as what they fix or are part of (about 100).off-goal: PRs that change only tests, scripts, CI or docs and name none of those issues (about 170). They were not read one by one, so some will be wrong.duplicategoes on D39's #1583, the only group in #1607 where asuggestis confirmed and both PRs are still open.Not taken for now: the cap on open PRs, and the rule that a PR links an accepted issue (so no
accepted/needs-issuelabels either). There is a group here that works on this and makes progress, and both would limit it too. Of the external tools onlyactions/staleis on (added after this reply): a PR with no activity for 3 days is labelledstaleand closed 4 days later; issues, and PRs labelledgoal:world-loadorkeep-open, are left alone.Nothing has been closed. What would help most: check the
off-goalandduplicatelabels, take off the wrong ones, and report in #1607 what can be closed. As you wrote, these two labels need a second person before anything is closed because of them.AI use: Claude Code (Claude Opus 5.5) wrote this and set the labels on the maintainer's behalf.
Imported from ivall/xcl. Originally posted by GreemSC on 2026-11-24T21:44:38Z.
@ivall thanks for #1833. @vogelbirb here is the agent pass you asked for, in the form #1833 asks for: a second look at the labels, not closing.
What the board is. https://greemsc.github.io/xcl-campaigns/ is read-only. It is rebuilt every few minutes from public GitHub data and needs no permission on this repo. It groups duplicate PRs and issues, files every comment of the campaign threads (#1269: who holds which task, every reported number) and shows how far the game gets per GPU and OS from first-hand reports. Every row links to its source.
New: PR triage https://greemsc.github.io/xcl-campaigns/triage.html (data: api/triage.json)
goal:world-loadandoff-goalwere set by a script, so the board compares each label with the PR itself and lists the ones worth a second look. First the ones that contradict the label's own rule. None of the 173off-goallabels does: none is on a PR that changes runtime code or says it fixes a goal issue. 14 PRs say "Part of #N", "Fixes #N" or "Addresses #N" for a goal issue but have nogoal:world-load(e.g. #1450, #1663). Then the ones where an AI reading of the PR disagrees with its label: 210 withoutgoal:world-loadthat seem to change what stops runs today (the script looks at the issues a PR names, the AI at what it changes, so expect noise there), and 15 with it that seem to change no runtime code. All 1 021 open PRs are read; on a hand check of 30, the AI got "touches the goal or not" right 27 times. The board changes no label. People check, fix the label, and report what can be closed in #1607.PR checksgreen, no conflict, not a duplicate, and at least two test reports from other people on the current head, withgoal:world-loadfirst. Most PRs here already have their tests, so the bottleneck is review.Why agents should read the board before GitHub. api/v2 answers each question an agent asks with one small JSON file:
files/<path>.jsonlists the open PRs that touch the same file, andprs/<n>.jsonsays whether one of them, or a merged PR, already makes the same change.If you want agents to use it, one line in AGENTS.md pointing at
api/v2/index.jsonwould do. I can also transfer the repo (GreemSC/xcl-campaigns) to xcl-dev: it would stay read-only, with nothing to grant.AI use: Claude Code (Claude Opus 5.5) built the board and wrote this; I checked it before posting.
Imported from ivall/xcl. Originally posted by CalvyPZ on 2026-11-25T01:23:17Z.
Happy to help with Triage if possible, have been doing lots in #1607 with @throny
upstream-sync referenced this issue2026-11-25 04:08:41 +00:00
Imported from ivall/xcl. Originally posted by throny on 2026-11-25T03:30:55Z.
@ivall on @CalvyPZ's offer above: I'd support giving them the Triage role. In #1607 they have proposed 34 groups and posted 72 checks, among them two batch runs on their own NVIDIA card. They also gave a second check to all 173
off-goallabels. Since every label change or duplicate closure needs two people to agree, a second triager with the role would let confirmed findings be acted on without waiting for one person. Your call, of course.AI use: Claude Code (Claude Opus 5.5); the user asked for this.
upstream-sync referenced this issue2026-11-25 17:06:01 +00:00
Imported from ivall/xcl. Originally posted by NWProgramming00 on 2026-11-25T18:16:53Z.
Some numbers for the "cap on open PRs" question in #1833, in case they help decide it. They come from
gh pr list(open; the last 1,000 merged; the last 1,000 closed), taken 2026-11-25 18:16 UTC. The 24 h flow counts are approximate.Flow, last 24 h: about 706 PRs opened, 173 merged, 110 closed without merging. Over the last 48 h raylitebull merged 154, ivall 92, theaustinayers 46 and Mavixot 5. Merging is not the slow part. The queue still grows by a few hundred a day, because new PRs arrive faster than anyone can read them.
Open now: 1,297 PRs (142 drafts), from 323 accounts.
The largest are 77, 44, 36, 30 and 29 open PRs on one account.
Already in triage: #1607's top post counts 964 ready PRs (not draft, description check green). 327 of them are "most likely ready to merge": 2+ independent test reports on the current head, no conflict, and not a duplicate. So reports are not the shortage either; reading diffs is.
What a cap would do, with no rule beyond it: at 10 open non-draft PRs per account, the 23 accounts above 10 would close or draft about 270 PRs. Everyone else is unaffected, and each of those accounts keeps its 10 best.
A cap is easy to check automatically:
staleworkflow treating PRs past the cap first.I can write either one if you want it. This is only data, not a request; the call is yours.
AI use: Claude Code (Claude Opus 5.5) collected the numbers and wrote this comment.