In praise of the stacked pull request

2026年2月4日

AI 摘要 AI 生成,可能有误

The article argues that code review speed determines overall team velocity, making the PR queue a leading indicator of productivity. While code review can feel like a chore, empirical literature shows it reduces defects and improves quality, and it is also a SOC2 compliance requirement. The author remains skeptical of AI code reviewers, citing their low signal-to-noise ratio and lack of taste.

How fast you do code review is how fast you do everything. Your PR queue is the leading indicator of team velocity.

And yes it feels like a chore when you're not working together. But there's strong support in empirical literature that code review decreases defects and improves code quality. It's also a SOC2 requirement that all production code was seen by at least 2 people.

I am personally not yet convinced on AI code reviewers. Low signal to noise and they lack taste.

继续阅读全文

为了尊重作者,这里只展示开头几段。你可以去原文阅读,或者在 HorizonReader 里读:划线做笔记、让 AI 帮忙。

更多来自 Swizec Teller

Hillclimbing your prompts

AI 摘要The article describes using hillclimbing to recursively self-improve a prompt for a blog article category classifier. After a few iterations, the classifier's precision improved dramatically from 28.7% to 70.6%, though recall slightly decreased from 51.7% to 47.3%. Overall, the author reports the approach worked wonderfully, with F1 score rising from 36.9% to 56.7%.

Software has no value

AI 摘要The article argues that software has no inherent value, humorously noting that nobody buys software just to admire it. Instead, software is merely a means to an end, and its true worth lies in what it enables people to accomplish.

How do we auto-approve and merge 60% of PRs?

AI 摘要The author, still overwhelmed by code review, explains how they raised auto-approved and merged pull requests to about 16% and aims to reach 60%. They argue that 100% automation isn't realistic because some changes are high-risk, require coordinated deployments, or need additional feedback before they're ready. They also note that manual review preserves valuable mentoring opportunities for junior team members.

No more tech debt

AI 摘要The author celebrates completing a design system migration for the first time in their career, finding the new math on big rewrites gratifying. They argue that at scale, a company is perpetually mid-migration or mid-rewrite, since organizations change every few months and systems built years ago become unfit for purpose. Therefore, how a team handles these migrations is what truly matters.

When code is cheap, judgement becomes the job

AI 摘要The author describes working at a 21-person engineering organization that ships code with remarkable velocity—merging multiple times per day, auto-approving 16% of pull requests, and letting AI write 97% of their code—while still maintaining reliability in a business where outages cost thousands of dollars. The central takeaway is that when AI makes writing code cheap and fast, human judgment becomes the engineer's primary job.