Stacked PRs

Thousand-line PRs get rubber-stamped — let the agent split them into stacked PRs.

Slide 58 — How large Should a PR be?

  • 80 lines draw five comments; 1,000 lines draw “LGTM” (→ LGTM fatigue).
  • The agent splits 3,000 lines into a cascade of PRs; a fix on one is restacked onto the next.
    • He credited GitHub with inventing stacked PRs, hedging — stacked diffs come from Google and Meta’s Phabricator (open-sourced ≈2016), brought to GitHub by Graphite.
  • Goal: the whole review fits one 45-minute focus slot.
    • 🚧 He called 45 minutes “the average attention span of an adult” — no solid research behind it; treat it as a team heuristic. An attendee countered with 20 minutes of active focus.
  • Park curiosities in a second agent terminal so you don’t lose focus. ⚓ Marc Nuri, Fabric8 — on Friday he tells Claude “I have flaky tests, see you Monday”, accepts AI PRs, and reviews them with a swarm of agents.
  • If you got a three-week-sized PR, the Tres amigos meeting failed to slice the feature.

See also: Adversarial review · Reviewable output · Tres amigos · Home Source: Responsibly Dimming the Lights in the Software Factory @ Devoxx Belgium, Day 1 (6 Oct 2026) — section PR size (1:59:25)