Feature Request: Better tooling for large PRs #5054
Replies: 4 comments 3 replies
-
|
It feels to me that the developper should split the work in commits and this is what I logged in #5303 |
Beta Was this translation helpful? Give feedback.
-
|
In my experience the file overview can get a bit hard to navigate. For various reasons you can end up in a state where many files listed alphabetically might not be the ideal way to review those files, even with proper git commit discipline. (Example from Python code base would be I greatly appreciate the new tools that allow you to un/check files you've reviewed and a jump-to-file option, going further and allowing grouping would be even more great! 🤩 |
Beta Was this translation helpful? Give feedback.
-
|
I would agree this is not normal and in most cases PRs should be small. But in some cases like large refactoring (~3k file changes) it's very much needed. Moving, renaming files and paths can add up quick. You may get away with reviewing all files and marking them as viewed and eventually GitHub will load things with maybe a few refreshes. What is harder, if not impossible, is trying to filter files on such large PRs, particularly for codeower files (~50 files of 3k). You would think this would be easier on GitHub to load less but it actually struggles more and often results in a failure to load altogether. This is true even when setting the url query params directly, not the via the UI, to trigger file filtering. This is good example https://github.com/elastic/kibana/pull/202830/files |
Beta Was this translation helpful? Give feedback.
-
|
One common use case our organization struggles with are pull requests that contain a large number of image diffs from our frontend snapshot testing library. This is especially common if we refactor a core component, or update to support a new version of iOS and have to regenerate all of our tests. These PRs are so large, viewing them on Github tends to just beachball and the tool becomes unusable. I've always been surprised why this happens. It seems like the webpage is trying to load every single image / diff in the changeset. Anyways, I'm looking for a workaround for this. Does the pull request plugin in VS Code offer a way to review these large changesets? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
A frequent issue my teams and I run into is dealing with large PR reviews. The solution is usually to break it down into several smaller PRs, but that seems like a workaround for GitHub's PR review system not having adequate tooling for large changesets.
The closest solution I can think of would be giving authors the ability to group changes/files together, so you could easily delineate logically separate parts of a PR as belonging together. With this system, you could have a reviewer sign off on a subset of the PR, without feeling obligated to review absolutely everything.
Beta Was this translation helpful? Give feedback.
All reactions