Sameen Karim (@sameenkarim) header
Sameen Karim (@sameenkarim) profile picture

Product @github leading Stacked PRs 🥞 Previously @rockerbox, @eventable Proud @UCBerkeley dropout

New York, NY
Joined February 2012
Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)Photo by Sameen Karim (@sameenkarim)
Sameen Karim retweeted
Time to merge and commit to the drive #GTA6
50
140
10
2,235
90,726
Sameen Karim retweeted
At GitHub Universe in October, I talked about multi-model solutions like Copilot Fusion will start dominating benchmarks going forward. But the pace of progress has been faster - ~10% better quality at half cost just few weeks later.
4
7
3
44
3,896
Sameen Karim retweeted
Through internal testing, GitHub’s new Git storage architecture supported 5,000 concurrent agents working on a repo, sending 7,200 pushes per second, all while serving read traffic with consistently low latency.
118
118
75
1,148
107,595
PRs are changing and so should the UI and how we interact 👀 Try out the preview and let us know what you think!
Confession: I’ve scrolled past dozens of comments on a PR just to find out why I couldn’t merge it. More times than I’d like to admit. Agents have made this a lot worse. They push commits and leave review comments of their own, and all of it lands in the timeline. PR timelines have gotten dramatically noisier, and the few things you actually need to know get buried. My team is rethinking the foundations of the PR experience around that problem, and today the first piece went into public preview. The new Overview page puts merge readiness and your next step right at the top. A summary catches you up on review activity, and you can filter the conversation down to unresolved threads. It’s opt-in and rolling out through the weekend. This is a much-needed start, and there’s a lot more coming as we modernize PRs for the way software gets built now. If you try it, we’d love to hear what still sends you back to the classic view. github.blog/changelog/2026-1…
8
2
1
117
21,334
Let’s goooo
1
6
421
What an incredible time at #GitHubUniverse! We announced the GA release of Stacked PRs, which included auto-merge support, VS @code integration, and a new stack view in the UI 🥞 Recording of the session and demo 👇 youtu.be/6bv4VZUM2kg?si=bAsM…
1
16
808
We’re serving up Stacked PRs pancakes at #GitHubUniverse 🥞
1
26
1,277
Sameen Karim retweeted
Agents don’t just help build features. They can help try to break them, too. In our latest GitHub Podcast episode, Sameen Karim takes us behind the scenes on building stacked PRs. Listen to it wherever you get your podcasts or at youtu.be/sbHoDdAalMI?si=purN…
33
13
102
30,278
One of the key design decisions we made with stacked PRs was reusing the existing PR model. It definitely came with some drawbacks, but it’s what made it possible to ship the feature without needing to rewrite all of the core plumbing (and we still had to update a lot!) More on how we built stacks on the latest episode of the @github podcast: youtu.be/sbHoDdAalMI
1
2
411
Sameen Karim retweeted
stacked prs @github behind the scenes. the merge box is way more complex than you think, we touched code that hadn't been updated in a decade, and we set a swarm of agents loose trying to break it 🤯 full episode: youtu.be/sbHoDdAalMI
1
6
17
2,553
To solve this, we now record the merge-base SHA of the entire stack alongside each review. This is the common ancestor of the reviewed head and the stack's base branch, giving us a reference point for checking the whole stack up to that PR
1
6
640
We simulate merging the previously approved head with the new stack merge-base, then compare that result's git tree with the rebased head's tree. If they match and the review's recorded merge-base is still valid, we promote the approval to new head commit
1
4
536
Approvals are now retained for Stacked PRs after stack rebases ✅ Whether you use the "Rebase stack" button or partially merge a stack, as long as the diff doesn't change, PR approvals will be kept even if you have "dismiss stale approvals" turned on
17
29
10
414
44,306
The challenge was telling the difference between replaying the same reviewed changes on a new base vs. actual changes that have been introduced that need another review. In a stack, that means accounting for the PRs below, too
1
4
835
PR approvals are tied to commit IDs and since a rebase/force-push rewrites those, it would previously always result in reviews being dismissed. We do have a system for "promoting" approvals but historically it only worked with merge commits
1
4
1,157
Sameen Karim retweeted
stacked PRs be like
1
2
124
So much exciting work happening in git systems right now! Moving to blob-storage and decoupling compute while simultaneously unwinding mountains of tech debt and unnecessary dependencies. 35x higher write throughput ⚡️
Git activity more than doubled between September 2025 and August 2026, reaching 473.3B events per month. We’re rebuilding our Git infrastructure while GitHub keeps running, creating a foundation for agent-scale software development.
1
9
581
gh stack CLI now supports git worktrees 🥞 You can manage stacks where each branch is in a separate worktree, while still taking advantages of things like cascading stack rebases github.com/github/gh-stack/r…
23
44
6
331
40,756