How Does Modal Treat Code Reviews?
Erik Bernhardsson · Vibhu Sapra
Erik Bernhardsson treats code review at Modal as optional. Required reviews often let people escape accountability for merging changes into production, so the real investment is continuous integration and continuous deployment.
Modal still does code reviews. When he writes code, he occasionally asks the authors whether a change lines up with how they think about the system, and he hopes he is not changing the architecture in a fundamental way. Reviews stay optional on purpose. A documentation edit or a basic change should not wait for a human, especially in the era of AI. An infrastructure company needs one more nine of uptime than the average startup. The systems need rate limits everywhere, decoupled pieces, no single point of failure, and extremely good test coverage. Coding agents are now quite good at writing tests. A few years ago he saw test writing as one of the major gaps, because a solid test means stepping back from the change and playing devil's advocate.
Why AI Compute Comes in Rectangles — Erik Bernhardsson, Modal CEO ·
From the transcript
So that to me is like, you know, a recent phenomenon. But I actually don't know if it's like necessarily cost by Gen AI. But I think Gen AI has like greatly accelerated it because it made it even lower. The cost of like writing code is even easier. So if you have like non-technical people like committing code, like how do you review that? Like how do you guys do code reviews? We do code reviews, but we think of it as optional.
I mean, for most, my view is like code reviews in large part is like people, in many cases, trying to just escape the accountability of merging things into production. And if you have that culture, then to me, that's a sign that you need to invest way more in CD and CI and things like that, or CI in particular, but also CD, continuous integration, continuous deployment.