A teammate sent a 3,000-line PR and nobody can review it properly.
IntermediateScenarioRemotes, Collaboration and Pull Requests
Answer
Situation read → Review quality drops sharply above a few hundred lines.
What I'd do →
- Ask the author to split it along natural seams: refactor, schema, feature, tests.
- Land mechanical changes (renames, moves, formatting) first as separate PRs.
- Use feature flags to merge incomplete work safely behind a switch.
- Set up a PR size label or a soft limit in CI to nudge future PRs.
Why → Small PRs get faster, deeper review and are easier to revert.
Interview tip → Offer to pair with the author on the split, which keeps the tone constructive.
More on Remotes, Collaboration and Pull Requests
You are new to a team. How do you collaborate daily without stepping on others' toes?BeginnerYou are migrating a repo from Bitbucket to GitHub and must keep every branch and tag.IntermediateYou want to contribute a fix to an open-source project you do not have write access to.BeginnerA reviewer asks for changes. How do you update the PR cleanly?BeginnerYour team wants stacked PRs so that large work arrives in small reviewable steps. How do you set it up?AdvancedWhy do you use `--force-with-lease`, and when does it still hurt?Intermediate