@github: A pull request with 2,200 files, 1M+ changed lines, and 400+ inline comments. Impossible to review? Not if you have the…

X AI KOLs Timeline Tools

Summary

GitHub Copilot app now features an improved pull request view designed to handle extremely large code reviews with thousands of files and millions of changes efficiently.

A pull request with 2,200 files, 1M+ changed lines, and 400+ inline comments. Impossible to review? Not if you have the GitHub Copilot app. ✨ The rebuilt pull request view keeps even this extreme diff fast and smooth. 🧵
Original Article
View Cached Full Text

Cached at: 09/23/26, 10:15 PM

A pull request with 2,200 files, 1M+ changed lines, and 400+ inline comments.

Impossible to review? Not if you have the GitHub Copilot app. ✨

The rebuilt pull request view keeps even this extreme diff fast and smooth. 🧵

Code is the easy part: virtualize the rows, keep the DOM small, and use known line heights.

Comments are harder. Their height changes with markdown, replies, expandable sections, images, and async content.

The solution was two independent geometries:

• Deterministic code height, known up front • Dynamic comment blocks, measured lazily and corrected near the viewport

That keeps comment reflows from rebuilding the code layout.

The team also built a measurement loop that ran unattended against a huge pull request, using production instrumentation to detect blank gaps, jank, leaked observers, and scroll corrections.

Check out the deep dive on making million-line pull requests with hundreds of comments feel like ordinary reviews. 👇

➡️ Coming soon: Let’s Learn GitHub Copilot SDK

Starting September 24, we’ll host beginner-friendly livestreams on how to build agentic applications with the GitHub Copilot SDK, without implementing the agent loop yourself. Includes sessions specifically for .NET and Java development.

Sign up for English, Chinese, Portuguese, Spanish, Japanese, or Korean. https://gh.io/letslearn

Similar Articles