DEV Community

The "LGTM" Epidemic: Why Your Code Reviews Are Just Rubber Stamps

Oleksandr on November 21, 2026

Imagine this. It’s Tuesday morning. You’re sipping your coffee, feeling good. Then, the Slack notification hits: a P1 incident. Production is down....
Collapse
 
iictp profile image
IICTP •

The PR-size table is the part that hit hardest — 500+ lines getting under two minutes of review is something I have seen play out exactly as you describe, and the "survival mode" line explains why. Banning bare LGTM in favor of a sentence about what was actually checked feels like the smallest change with the biggest return. Have you seen teams pair the 200-line rule with a size check in CI, or does it work better as a human norm?

Collapse
 
alexcodebytes profile image
Oleksandr •

I think the strongest approach is to combine both: CI as a guardrail, human judgment as the actual review standard. A size check can flag PRs over 200 lines and require them to be split or explicitly justified, but I wouldn't let a CI rule become another box people learn to tick.

The important part is changing the default expectation: smaller changes are easier to understand, challenge and review properly. CI can enforce the friction; the team has to enforce the thinking. Otherwise, people will just find ways to make a 500-line PR look like five smaller ones. 😁

Collapse
 
iictp profile image
IICTP •

That's the combination I'd bet on too — CI as the guardrail that flags anything over 200 lines and asks for a split or a justification, and human judgment as the actual standard. The warning about the tick-box is the important part: a size check that just adds friction without changing the default expectation will get gamed, and a 500-line PR sliced into five smaller ones is the same review problem wearing a different shape. CI can enforce the friction, but the team still has to enforce the thinking.

Thread Thread
 
alexcodebytes profile image
Oleksandr •

I think the distinction between enforcing a limit and enforcing a habit is important here. CI can make oversized PRs harder to submit, but it can't make them easier to understand. And splitting one 500-line change into five smaller PRs doesn't magically make the review process better if nobody can see how the pieces fit together.

Maybe the real goal shouldn't be a strict line limit, but making the author explain why a change needs to be that large and making it easy for reviewers to understand its scope. The metric should encourage better decisions, not become another number everyone learns to work around.

Thread Thread
 
iictp profile image
IICTP •

That's a useful distinction — a limit that blocks the submit is easy to get around by splitting, but the habit of explaining why a change needs its size is harder to fake. I like the idea of making the author explain the why rather than just policing the line count. Have you seen a team make that explanation step stick in practice, or does it tend to become another box to tick?

Collapse
 
yonijd profile image
jonatan draganczuk •

Hi Oleksandr, great article!

I don't have experience yet working in a team repo, but I totally get the discomfort you describe.

While reading, one idea came to mind: what if GitHub had real "review traffic"?

Not what the reviewer says they checked, but what they actually went through. A log / click trail showing which sections, folders or files they opened, and a summary of how much was really audited, broken down by topic: 10% here, 60% there, 0% in error handling, etc.

That way "LGTM" would stop being a statement of faith and would come with evidence. Not to surveil, but to guide: everyone would know what was actually left unreviewed.

Collapse
 
alexcodebytes profile image
Oleksandr •

Hi Oleksandr, great article!

I don't have experience yet working in a team repo, but I totally get the discomfort you describe.

While reading, one idea came to mind: what if GitHub had real "review traffic"?

Not what the reviewer says they checked, but what they actually went through. A log / click trail showing which sections, folders or files they opened, and a summary of how much was really audited, broken down by topic: 10% here, 60% there, 0% in error handling, etc.

That way "LGTM" would stop being a statement of faith and would come with evidence. Not to surveil, but to guide: everyone would know what was actually left unreviewed.

Collapse
 
yonijd profile image
jonatan draganczuk •

buen comentario
😅

Thread Thread
 
alexcodebytes profile image
Oleksandr •

Well, I was trying to write something interesting, but apparently the engagement levels have been so low that I had to start manufacturing conversations myself. Unfortunately, my comment vocabulary hasn't evolved enough to support that strategy, so I decided to save time and just reuse yours.

In retrospect, copying your comment back to you was probably the most efficient way to make sure at least one comment got a response. Consider it an experimental form of community engagement. 😂

Thread Thread
 
alexcodebytes profile image
Oleksandr •

By the way, genuinely curious: what do you think an active, lively discussion should actually look like on DEV? I'm always open to improving how I engage with people here. 😄

Thread Thread
 
yonijd profile image
jonatan draganczuk •

en dev. lo dudo mucho. para tener una discucion asi. debería ser espontánea como este comentario. sin filtros sin ia de traducción de por medio. comentarios espontáneos muestran los huecos de interpretación que otros podrían intentar corregir. pero cometarios corregidos por ia antes de postear solo aportan más de lo mismo. no hay nada que corregir o discutir pues ya está corregido por una ia. hasta la experiencia propia que compartí fue moldeada por la ia... tratamos cada comentario como si fuera un artículo a publicar en dev. y no como lo que son. simples comentarios.

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

green checkmark, passing tests, and a null still lands in the cache. the 200-line rule reads like the fix that actually holds.

Collapse
 
alexcodebytes profile image
Oleksandr •

Exactly. A green checkmark only tells you the tests passed, not that the result is correct. A null silently entering the cache is the kind of bug that exposes the gap between "technically passing" and actually safe.

The 200-line rule is interesting because it turns a vague warning into a concrete engineering constraint. I'd rather have a small, enforceable rule preventing bad state from getting in than another layer of tests trying to catch the damage afterward. 😁

Collapse
 
robertpaschal profile image
Odinaka Robert Nnamani •

A small rule that blocks bad state beats another layer of tests chasing it after.

Thread Thread
 
alexcodebytes profile image
Oleksandr •

Preventing an invalid state is usually much cheaper than detecting and repairing it later. Tests are still essential, but a well-designed constraint makes the wrong thing impossible in the first place. That's a much stronger guarantee than another green checkmark.

Thread Thread
 
robertpaschal profile image
Odinaka Robert Nnamani •

The constraint is the stronger guarantee. It takes the bad state off the table instead of catching it after the fact.