{
  "id": 9393414,
  "title": "Rendering huge pull requests in the GitHub Copilot app",
  "url": "https://urgent.news/2026/09/23/rendering-huge-pull-requests-in-the-github-copilot-app",
  "topic": "ai",
  "section": "AI",
  "published": "2026-09-23T18:29:49.000Z",
  "source": {
    "name": "GitHub Blog",
    "slug": "github-blog",
    "url": "https://github.blog/engineering/user-experience/rendering-huge-pull-requests-in-the-github-copilot-app/"
  },
  "original_language": "en",
  "account": "The article discusses the challenges of rendering giant pull requests, such as those with 2,200 files and over a million changed lines, in the GitHub Copilot app. Virtualizing large diffs works well for code-only changes, but comments complicate matters. Comment heights depend on factors like markdown formatting, expandable sections, reply boxes, and image loading status, all of which are determined at render time. This requires a different architecture and two distinct geometries: one for deterministic code height and another for dynamic block heights that can change during rendering. To address these issues, the article outlines a three-step process: measuring, instrumenting, and iterating on performance improvements. The key takeaways are the need for a new approach to handle comments and the implementation of a two-geometry system to maintain performance while rendering large pull requests.",
  "summary": "How we rebuilt the diff surface in the GitHub Copilot app to open a million-line pull request with hundreds of inline review comments. The post Rendering huge pull requests in the GitHub Copilot app appeared first on The GitHub Blog .",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}