DEV Community

Discussion on: What are Code Reviews for?

Collapse
 
t4rzsan profile image
Jakob Christensen

Good write-up.

How often do you request code reviews? Is it for each commit or for each pull request to your main branch? Or something entirely different?

Thanks.

Collapse
 
notherdev profile image
Adam Bar

Our rule of thumb is that it is more or less correlated with feature branches. One feature = one review, so it might contain (and most often contains) multiple commits. However, for small features, we tend to rebase and squash it into a single commit to master after the review.