Post-Commit Reviews != Post-Deployment Reviews

Cindy Sridharan · article · 2020-07-14 source ↗ Reader 🖥️

Human-in-the-LoopPull Requests & Async Code ReviewTrunk-Based & Continuous Delivery
Mandatory pre-commit code review trades developer velocity for a quality guarantee that is weaker than assumed, because review's real value is mostly knowledge transfer rather than defect detection and automated post-commit testing already catches most of what unit tests miss -- so teams should default to post-commit review (reviewing after merge to trunk, but still before or shortly after deploy), which is a distinct and more flexible choice than the commonly conflated 'post-deployment review,' and which preserves the four-eyes control while restoring developer and reviewer focus, provided the team has the trust and automation investment to make reverts safe.

practical · argumentative — Argues for a specific practice choice (prefer post-commit review over mandatory pre-commit gating), built on a mix of cited studies, the author's own experience, and worked examples (Quora, Uber, AWS).

Structure

PartRole
Opening frame: surprise that AWS's otherwise highly automated CI/CD pipeline still mandates pre-commit reviewhook / motivating observation
Code review and developer velocity: citing a 2016 Microsoft study on what review actually delivers, and the latency cost of mandatory pre-commit gatingevidence undermining the default assumption that pre-commit review is costless
Definitional move: post-commit reviews != post-deployment reviews, with the two concrete variants (post-commit/pre-deploy vs. post-commit/post-deploy)conceptual clarification -- the article's core original contribution
Benefits of post-commit review: developer/reviewer focus, forcing-function toward better development culture, and compatibility with stronger automated pre-review testingevidence for the practice
Challenges of post-commit review: requires high trust, careful onboarding, and heavy investment in automated revert/monorepo tooling (Uber SubmitQueue example)qualification -- names the real cost of the practice
Conclusion: both post-commit flavors can improve iteration speed, but require time and investment to get rightconclusion

Key terms

Propositions

Arguments

Teams should default to post-commit review rather than mandatory pre-commit gating when they can make reverts safe. strength: medium
Explicit premises:
Implicit premises:
Inferences:

Narratives

Questions addressed

Gaps

Related documents