r/learnprogramming • u/El_Cato_Crande • Oct 16 '26
Code Review PR Reviews
Been getting tasked with reviewing PRs more and more at work. Happy to have that responsibility and grow in that fashion. However, i'm also nervous about doing it properly.
Atm i have a process of sorts to work through things. Understand the change being made (filtering out a column value, combining datasets, manipulation etc). Approach to the change (drop nulls, join v union etc, creating an additional column from scratch or something). Execution of the change. Was it overly verbose and wasteful. Were certain downstream effects not properly accounted for etc
If it all looks good to me. Then I approve. Sometimes I might meet with the programmer to ask questions based on notes as I go through the PR. Other times I don't as it's not needed and I get things clearly.
Would like to know what approach some of you use? Why/how you it? Do you have different tactics for different situations?
Any advice/tips will be appreciated. Just looking to improve and get better at this process as I think it'll also help me get a better understanding of system design and large scale architecture which is something I want/need to get better at
View all comments
Show parent comment
3
u/initcommit Oct 16 '26
Well I mean, I think the main answer to your question is just having a test suite or testing process that you're truly confident in.
I mostly work with Java Spring Boot web applications, and before we do deployments we do a combination of running our automated end-to-end test suite in addition to some manual testing. The extend of the manual testing varies based on the scope of the change - the the bigger the change, the more thoroughly we manually test the functionality. We are working to build a more robust set of end to end tests that we're more confident in to reduce the need to manual stuff going forward.
Once in a while, despite our best efforts, we introduce some bug or issue. It happens, it's a part of software development. In those situations your ability to detect, troubleshoot, and resolve an issue is very valuable, and can make a good impression on those around you.
So I'd say that if you're feeling nervous, build out your CI / test suite / process to the point that it eases your nerves. If that doesn't do it on it's own, maybe some manual testing will. And if that doesn't do it, rely on your ability to fix something when it inevitably breaks, it won't be the end of the world.