All jobs / Engineering manager / tech lead / Code & Development Practices
Engineering manager / tech lead interview question · 1–3 years
Pull requests on your team sit for two or three days, and the branches grow while they wait.
What do you do?
The strongest answer
Make review part of the day rather than a spare-time task: an agreed turnaround such as same day, smaller pull requests, and a visible queue so nobody has to chase
Why it works
Exactly — waiting time is the problem, and smaller changes plus a named expectation are what shorten it.
What a good answer covers
- Review is the day’s work.
- Agree a turnaround expectation.
- Keep pull requests small.
- Make the queue visible.
Answers that fall short
- Close, but not the strongest: Remind the team in the daily to review each other’s pull requests more promptly
Reminders work for about a week; the change has to be in how review time and pull-request size are treated. - Weak: Assign every review to the two seniors, since they give the most useful comments
Funnelling every review through two people builds the queue you are trying to remove. - Red flag: Approve them myself to unblock people; the changes have usually been discussed already
Rubber-stamping to clear a queue removes the only check the change was going to get.
Who gets asked this
More Code & Development Practices questions
- The test suite fails on about one run in five, and the team has learned to hit “re-run”. What is your policy?
- You inherit a team with almost no automated tests. Where do you start?
- Trunk-based development or long-lived feature branches — which do you put a team on, and why?
- The pipeline takes fifty minutes, and most of it is end-to-end tests running against a deployed environment…
- Your organisation releases once a month, in an evening, with everyone on standby. How do you get to weekly or…
- As tech lead, what is code review on your team for?
- A developer asks what the CI pipeline is actually for. What do you tell them?
- When is a story done on your team?