The 40,000-line PR problem rings true. One thing that helped on a small team I was on: cap review size at the point of authoring rather than at review time - if a change touches more than ~400 lines, split it into a chain of stacked PRs each of which can stand on its own. It feels slower up front but reviewers actually leave meaningful comments instead of skimming.