Skip to the page

Techno-managerial · Scenario

A junior's pull request is weak

The interviewer asks

A junior developer raises a PR for a new form. It works, but it has copy-pasted blocks, no tests, a 400-line component, and state in five places. The release is in two days. How do you handle the review?

Then

Follow-ups the interviewer asks next

  1. Do you approve it for the release or not?
  2. How do you write the review comments?
  3. Which issues must be fixed now, and which can wait?
  4. The junior gets defensive: "It works, why change it?" What do you do?
  5. This keeps happening with the same person. What then?
  6. Would you rewrite it yourself to save time?
  7. How do you prevent PRs like this?
  8. Tell me about a review you gave that changed how someone worked.

The answer

What a strong answer covers

  • Separates blocking issues (bugs, security, missing tests for critical logic, accessibility) from improvements in style or design.
  • For the release: blockers fixed now (perhaps an hour of pairing), the rest logged as follow-up tickets with an owner and a date.
  • Comments: specific and kind, explain why, suggest a direction, praise what's good, and ask questions instead of giving orders. Big feedback goes in a call, not 40 comments.
  • Defensive reaction: explains the cost (bugs, hard to change later), shows an example, and points to agreed team standards. It's about the code, not the person.
  • Repeated pattern: a 1:1, a growth plan, pairing, smaller PRs, and examples of good PRs.
  • Doesn't rewrite it alone (the junior learns nothing, and the lead becomes a bottleneck), except in a real emergency.
  • Prevents it: a PR template or checklist, lint and tests in CI, a short design chat before coding, smaller PRs.

The red pen

Common traps

Avoid:approving it unread to meet the date; harsh public comments; rewriting it quietly.

Practise this out loud

Say your answer out loud to an AI interviewer that follows up, and get a score for it.

Practise by voice

Practise questions like this out loud

Sign up and start with a 15-minute interview with the full report, and an English conversation. No card needed.

Start your free interview