arrow_back Back to forum
Engineering 3 weeks ago

agents opened over 40% of github PRs last month

by Carlos Mendes

Nadella said this week that AI agents opened more than 40% of pull requests on GitHub in September, up from 17% in March. It's from their Octoverse numbers. I believe it. At the agency about half the PRs I review now started with an agent, and most are fine. Small, tidy, tests pass. The problem is the other ones, which touch eight files to fix a button colour, and I'm the one who has to read all eight. Nobody doubled the reviewers though. So either review gets shallower, or teams start bouncing big agent PRs on sight, or the agents get good at splitting work into small chunks. I'd bet on the first one happening before anything else, which is a bit grim. Anyone actually changed how they review because of this?

favorite 7 comment 4

Comments

Olivia Chen 3 weeks ago

Carlos, I'd push back a bit on blaming the agents for the big diffs. The same Octoverse data has agent PRs touching more than one file 87% of the time, but ordinary ones do it 79% of the time. That's not a huge gap. We were already bad at small PRs, the agents just made more of them. What helped us was making the agent write its plan before the code: which files it expects to touch and why. If the diff wanders outside that list it gets bounced automatically and no human looks at it. Review on agent PRs got noticeably faster, mostly because you read a plan first instead of reverse-engineering one from the diff. Bouncing big PRs on sight works too, but then you're teaching the agent to hide the same scope across five small ones.

gwen lloyd 3 weeks ago

careers adviser here, not a dev. every year a few students ask if computing is still worth taking and i say yes. reading this im not sure if the job ends up being writing code or reading it

Carlos Mendes 3 weeks ago

Olivia, fair. I was blaming the agents for a habit we already had, 87 against 79 isn't the gap I assumed. I tried your plan-first idea on two projects this week. The agent writes which files it expects to touch, and the diff is checked against that before anyone reviews it. First impression is the plan is worth more than the check. Reading four lines of intent before the diff made review faster even when the diff was fine. One snag: the agent got good at writing broad plans. "update components as needed" technically covers everything. We now reject plans that don't name files. gwen, from where I sit it's more reading than writing already, and reading well is underrated. Students who can explain someone else's code will be fine.

Kerry Doyle 3 weeks ago

8 months into my first dev job and gwen this is basically my week. most of the PRs i review started with an agent, my senior just makes me explain why each change is there before approving. tell the students to learn to read code, it's most of it

Log in to join the discussion.