I'm a Data Engineer at Instacart. Every day, I get a lot of emails relating to PRs that are up for review or have been reviewed and are being merged. I'd estimate ~30, but prob as high as 50 some days.
The emails can come from my anyone on my team (~10 other people) or department (probably ~30 other people).
My strategy for dealing with these until now has been to only look at and review code that comes from 4 other individuals. These 4 people are the ones who I work most closely with. I asked my manager about doing code reviews for anyone else and he said to just stick to the core 4 other people I work with (including him), which makes sense given that I have plenty of work to do and those 4 other people produce a fair number of code reviews to do.
My question is, is there any value in me receiving emails for all those other people in my department who's code I don't care about (at least for now)? Should I try and either unsubscribe from or auto-archive their emails so I don't have to delete/archive those emails every time I access my inbox?
Just wondering what people's strategies are for this.
Thanks!
You definitely don't need to read all those code review emails for people whose code you aren't reviewing. I recommend customizing your notifications so it only comes from those 4 people.
At Meta, I made all the code review notification emails go into a folder (i.e. skips the core inbox), which I never read. I would just go to Phabricator directly (Meta uses Phabricator instead of GitHub) to see what I needed to review. The tool would bubble all the code reviews I was marked as a reviewer on to the top, and I would just go through that queue as aggressively as I could (I love reviewing code to unblock folks).
thanks Rahul! any recommendations for when to schedule time to review PRs?
Default is to have code reviews at beginning and end of day to preserve your focus.
My question is, is there any value in me receiving emails for all those other people in my department who's code I don't care about (at least for now)? Should I try and either unsubscribe from or auto-archive their emails so I don't have to delete/archive those emails every time I access my inbox?
They'll ping you if they really want you to look at their review. I don't think there will be much value if you look at every incoming PR. But, if there is some core code that other people are touching, it might be worth it to add yourself or your team as a blocker for those changes.
thanks Charlie! Ya, we have CODEOWNERS set by code location, so you already need someone from every group related to files you touch in a PR