GitHub Rebuilds the Copilot App's Diff Surface to Open Million-Line Pull Requests Without Jank GitHub principal design engineer Alberto Gimeno published an engineering account of rebuilding the diff surface in the GitHub Copilot app so it opens a pull request with 2,200 files, more than a million changed lines and over 400 inline review comments without jank. The rebuild splits the document into deterministic code rows, whose geometry is computed up front, and dynamic blocks keyed by file, line and side, measured in a single idle-gated pass scoped to roughly 2,400 pixels around the viewport; an early design using one ResizeObserver per block writing heights back into layout was replaced with an observer that flags rather than writes. The work follows GitHub's April 2026 post that cut unified-view diff lines from roughly eight React components and ten DOM elements each to about half, and GitHub's stacked pull requests, which entered public preview on 30 July 2026 as a response to AI-generated large pull requests. GitHub engineering has published a detailed account https://github.blog/engineering/user-experience/rendering-huge-pull-requests-in-the-github-copilot-app/ of how it rebuilt the diff surface in the GitHub Copilot app to open a pull request with 2,200 files, over a million changed lines and more than 400 inline review comments without turning the review into a waiting exercise. The post, by Principal Design Engineer Alberto Gimeno, lands at a moment when AI coding agents are producing far more pull requests than reviewers can digest, and the bottleneck has moved from writing code to reading it. At the heart of the rebuild is a decision to stop pretending a pull request is a single uniform list. Code rows have a known height at a known font size, so their geometry can be computed up front and never rebuilt. Comments do not. A markdown body wraps differently at different widths,