-11
Stop Using Pull Requests (a4al6a.substack.com)
submitted 2 days ago* (last edited 2 days ago) by codeinabox@programming.dev to c/programming@programming.dev

TL;DR

  • Pull requests were designed for open source contributions from untrusted strangers. Applying them to trusted teams is a category error.
  • Peer-reviewed research shows code review’s primary value is knowledge transfer, not bug detection. Less than 15% of review comments relate to actual bugs.
  • Async PR workflows mean your code spends 86-99% of its lead time waiting. One organisation spent 130,000 hours in a single year waiting on PRs that received zero comments.
  • DORA research across 36,000+ professionals shows trunk-based development correlates with dramatically higher software delivery performance, and faster code reviews alone improve performance by 50%.
  • The alternative is T*D: Test-Driven Development (build quality in), Trunk-Based Development (integrate continuously), and Team-focused Development (review during creation, not after).
  • The transition is gradual: optimise PRs first, adopt Ship/Show/Ask, then move to pairing and trunk-based development as trust and automation mature.-
you are viewing a single comment's thread
view the rest of the comments
[-] natecox@programming.dev 1 points 14 hours ago

The problem with automated tests is that they only test for the narrow slice of things you actually think to test for. They don't cover the gamut of things you didn't think to test for.

They also only test how you write them to test for, which means if you make a bad assumption somewhere along the way your tests can't help you find it.

Peer reviews cover two very important things:

  1. Knowledge sharing and de-siloing
  2. Logic and assumption checking

A fresh set of eyes and a different perspective is just so important to writing robust, quality code.

[-] Senal@programming.dev 1 points 12 hours ago

The problem with automated tests is that they only test for the narrow slice of things you actually think to test for. They don’t cover the gamut of things you didn’t think to test for.

They also only test how you write them to test for, which means if you make a bad assumption somewhere along the way your tests can’t help you find it.

Indeed, which is why it's an ever evolving suite of tests, as and when you come across problems and things that were missed, you add automated tests for them.

It's not magic, you only get out what you put in, but it is automated, which means that if you do a reasonable job you have a lot less to worry about from that particular issue in the future and now you have a much quicker way of checking for it.

Peer reviews cover two very important things:

  1. Knowledge sharing and de-siloing
  2. Logic and assumption checking

A fresh set of eyes and a different perspective is just so important to writing robust, quality code.

Also agreed, and automated testing is a way to partially formalise that knowledge into something that can be checked quickly and deterministically (if you are doing it right).

As i said before it's not magic and it's not a replacement, it's more of an augmentation to relieve some of the cognitive burden.

As with any other approach, it also has it's downsides, there are ways to go about it that can be actively detrimental.

In my experience a well done (and maintained) automated suite is a boon to ongoing development.

this post was submitted on 22 May 2026
-11 points (39.2% liked)

Programming

27035 readers
370 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS