Stack Diffs and Stacked PRs

Stacked diffs and tooling at Meta with Tomas Reimers

Topic 3 of 9

Published Apr 2, 2025 · Clip 18:28–30:48 (12:20)

Thomas explains stack diffs (stacked PRs) as a solution to engineers being blocked on code review: instead of waiting for a feature branch to merge, developers keep branching on top and reviewing in small increments. He discusses how Git rebasing and GitHub's lack of stacking support make this hard without tooling, and speculates why only companies like Meta and Google built such tools. He also contrasts this with open source and Linux development, where partial work from untrusted contributors shouldn't merge, explaining why stacking makes no sense in that context.