Repository navigation
Proposal: AI-assisted research to help close stale/resolved issues in the backlog #83117
Replies: 4 comments 2 replies
|
Thanks @theaminulai for posting this, and for building on a lot of thinking @youknowriad, myself and others have done over the years about triage before AI, and now with a human in the loop. As you can see there is work and conversations already going on, so I would first encourage you to look at those and then everyone can be part of the same solution together. One point I'd flag whatever path is taken: the human ideally isn't the last step in the loop. When review happens only at the end, you get an assessment that looks right, passes a quick check, and quietly erodes trust as the misses compound. I know the pull towards clearing fast. I want that too and I actually want more tooling in our systems but done in a way that stays, doesn't get added ignored as a report or trust is broken. It's about balance, and @youknowriad's numbers show we can get there collaborating with these tools. This is not an argument against AI. It is a good assist for triage, and a real collaborator. The opportunity is to move human insight upstream, into what the agent knows before it starts and into pairing while it works, rather than only into checking what it produced. Worth naming that surfacing is one skill. Catching and reviewing AI output is a different one, and most of us are still refining it. A loop designed as if only the first skill matters puts all the weight on the one we have least practice with. This gets sharper when triage moves past bugs into enhancements and requests. A bug either reproduces or it does not. An enhancement carries context about direction, prior decisions, and what the project has already declined. Matching against things previously closed as "won't do" is a simple start, but it is not the common case. That is where the collaboration and the feedback loop need to be dialled up throughout, not just at the end. |
|
Thanks both. Good to know this is already running informally, not starting from zero. @youknowriad makes sense to just keep supporting what's already working rather than propose a parallel track. @karmatosed fair correction: feeding context in upstream and pairing during the investigation makes more sense than only gatekeeping the result. Agreed on bugs vs. enhancements , too reproduce/doesn't-reproduce is tractable, "conflicts with a prior won't-do" isn't. Where should I look to see what's already running, and is there anything concrete I can help with? |
|
I'm sure that @youknowriad has been closing a huge number of issues recently, so I figured you were probably using AI in some way. I also often use AI for triaging. Basically, I just provide a list of open issues and ask the AI to test them locally and let me know which ones are no longer reproducible. Based on the results, I carefully verify them myself and only close the ones where the AI's findings were accurate. However, this naturally affects the usage limits of my personal AI subscription, so I might not be able to recommend this exact approach to all contributors. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Proposal: AI-assisted research to help close stale/resolved issues in the backlog
The problem
As of today,
WordPress/gutenberghas 4,445 open issues. Thestale-issue-gardening.ymlworkflow already closes issues that sit in[Status] Needs More InfoorNeeds Testingwith no follow-up, and the triage docs lay out a clear manual process. But inactivity is a weak signal for relevance: plenty of old reports are already fixed, duplicates, or "working as intended," yet nobody has gone back to confirm that, so they sit open indefinitely and make it harder to spot the regressions that actually matter right now. Closing them requires real investigation — reading the thread, checking whether a linked PR shipped, and trying the repro againsttrunk— which doesn't scale to thousands of issues with a volunteer triage team.Next.js hit the same problem (backlog peaked at 3,109, later 2,244) and wrote up how they closed 1,462 issues in about three weeks using an agent-assisted triage pipeline: "How we closed 1,500 GitHub issues" (Vercel, Sept 2026). I think a scaled-down version of that approach fits well within Gutenberg's existing triage workflow, without requiring new infra spend or bypassing the triage team's role.
What Next.js did (summary)
closability) investigates one issue at a time in a sandbox with the repo checked out: reads the thread, searches related issues/PRs/commits/releases, and tries to reproduce the bug on the reported version, latest stable, and canary.Proposed pilot for Gutenberg
closability) that takes a batch of old, low-activity open issues, checks whether the described bug still reproduces against currenttrunk, and searches merged PRs/CHANGELOG entries for an existing fix. It only ever posts a comment with its evidence and a suggested reason (fixed / duplicate / can't reproduce / needs more info) — it does not close issues or touch labels, since that requires triage-team permissions per the existing policy.triage.md. This adds a research assistant to the existing workflow rather than replacing any part of it.Needs Testingor no activity in 12+ months and zero comments — rather than the whole backlog, so false positives are cheap to catch.Open questions for the core team
#core-editor-sponsored GitHub Action + API key vs. something run by individual triage-team volunteers)? Next.js's version runs on Vercel's own agent infra; Gutenberg doesn't need anything that heavy for a comment-only assistant.CC: @youknowriad @Mamaduka @t-hamano
References
closabilityon).stale-issue-gardening.ymlworkflow (existing inactivity-based automation this proposal builds on).All reactions