Sameen Karim

509 posts

Sameen Karim banner
Sameen Karim

Sameen Karim

@sameenkarim

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

New York, NY Katılım February 2012
533 Takip Edilen943 Takipçiler

2026 Yıllık Özeti

@sameenkarim hesabının Twitter yılını gör

Sameen Karim
Sameen Karim@sameenkarim·
@ewhauser We just released an update to the `gh-stack` skill that cuts the size, improves accuracy, and results in less tool calls
Sameen Karim tweet media
English
0
0
0
18
Sameen Karim
Sameen Karim@sameenkarim·
The launch of Stacked PRs is one of the biggest releases in @github history, touching almost every service we run I wanted to share some details about how we built it and everything that went into it Strap in folks, this is gonna be a long one 🧵
English
55
111
1.5K
385.6K
Sameen Karim retweetledi
Rohan Bansal
Rohan Bansal@polyphilz·
github kinda cooked with stacks, 14-pr stack merged in <1 min no need to wait for ci after every progressive merge like some kind of animal
Rohan Bansal tweet media
English
1
1
30
2.1K
Sameen Karim
Sameen Karim@sameenkarim·
Great working with @MatthewMathes11 and the @trunkio team to bring support for @github Stacked PRs to their merge queue!
Trunk@trunkio

Congrats to the @github team on launching stacked pull requests 🥞 We are happy to support them natively on day one. Now you can enqueue any PR in a stack, and the queue tests and merges the whole stack in one atomic operation. Stacked PRs are compatible with all Trunk Merge Queue features, so you still get batching, merge graphs, priority, and failure isolation.

English
0
0
12
1.7K
Sameen Karim
Sameen Karim@sameenkarim·
@horusgoul @MaxLevene @github @cassidoo We're rolling out access to stacks gradually for repos that use merge queue - looks like there was a quirk and it got flipped on/off. Fixed that and stacks should now be enabled for the OpenPhone/web repo ✅
English
1
0
3
36
Max
Max@MaxLevene·
are @github stacked PRs buggy and not working for anyone else? totally out of sync with approvers. wont let me merge anything.
English
2
0
1
128
Sameen Karim
Sameen Karim@sameenkarim·
Since we kicked off the project at the beginning of the year, we incrementally rolled out access in waves as we built out the feature. Availability and reliability was the number one consideration so we did a _very_ gradual ramp up in both functionality and number of users. Marketing was a big bang but the rest was anything but 😅
Sameen Karim tweet media
English
0
0
4
101
Robin Huang
Robin Huang@robinjhuang·
Stacked PRs are a great addition to GitHub. But it shows the difference between startups and big tech. Graphite shipped stacked PRs in 2023. Instead of shipping it in increments, GitHub did a big bang release so that it works with all their features out of the box.
Sameen Karim@sameenkarim

The launch of Stacked PRs is one of the biggest releases in @github history, touching almost every service we run I wanted to share some details about how we built it and everything that went into it Strap in folks, this is gonna be a long one 🧵

English
1
0
3
400
Sameen Karim retweetledi
GitHub
GitHub@github·
Large changes are hard to review. Smaller pull requests make them easier to ship. Stacked PRs are now on GitHub. docs.github.com/en/pull-reques…
English
47
71
988
108.8K
Sameen Karim retweetledi
Andrea
Andrea@acolombiadev·
Blaming agents for giant PRs is like blaming calculators for bad math. Past ~400 lines, reviewers stop reviewing and start skimming. That's been true forever. The fix isn't smaller diffs, it's better shape. One review decision per layer. That's what stacked PRs are for: mainbranch.dev/articles/stack…
Gergely Orosz@GergelyOrosz

Look, better late than never to ship stacked PRs. But this feature was extremely useful 2015-2025 at most companies using it. Since ~Nov 2025 when AI models became more capable and write more and more of the code, stacked diffs have so much less relevance. GH feels years behind

English
3
4
29
2.4K
Sameen Karim
Sameen Karim@sameenkarim·
@jacobgold Thank you! We owe a lot to you and the Graphite team for paving the way and popularizing stacks 🫡 Huge respect to what you all have built and excited to see what you are cooking up next
English
0
0
2
39
Jacob Gold
Jacob Gold@jacobgold·
@sameenkarim really enjoyed reading this thread! you guys crushed it. implementing this from the outside was certainly easier in some ways and likely much harder in others. stoked to read all the deep dives
English
1
0
3
90
Sameen Karim
Sameen Karim@sameenkarim·
@sharoonthomas @github Yup, the plan is to support a stack contained in a single fork. So contributors can open a stack from their fork, targeting the base repo #issuecomment-4268914593" target="_blank" rel="nofollow noopener">github.com/github/gh-stac…
English
0
0
1
573
Sharoon Thomas
Sharoon Thomas@sharoonthomas·
@sameenkarim @github Thank you for shipping this capability. Are there plans to support stacked PRs with pull requests from forks?
English
1
0
1
988
Sameen Karim
Sameen Karim@sameenkarim·
We looked at a bunch of stacking tools (phabricator, gerrit, graphite, sapling, git town, ghstack, etc.) and asked folks what they liked best about them. The Graphite team built an incredible product and defined a strong model for stacks We have more to improve with the gh stack CLI, this is only the start
English
0
0
4
158
Scott Chacon
Scott Chacon@chacon·
It's interesting - the @github stacked PRs CLI extension is _very_ Graphite inspired. Like you go up and down the stack checking out PRs, then if you amend something, you need to manually rebase the upstack. I forget how awkward this is, because @gitbutler does all of this automatically.
English
6
7
80
12K
Sameen Karim
Sameen Karim@sameenkarim·
@mlg27_ Nothing quite like that first ship. Congrats! 👏
English
1
0
2
1.1K
Sameen Karim
Sameen Karim@sameenkarim·
@CalvinGrunewald @depoll Yes would love to chat, will DM! I think it's definitely use-case dependent and not all tasks are well-suited for stacks. I've seen agents without guidance take a simple task and break it up into unnecessary layers. imo stacks also really shines in monorepo environments
English
1
0
1
21
Calvin Grunewald
Calvin Grunewald@CalvinGrunewald·
@depoll @sameenkarim Would love to dig in with you guys. We are close with Vlad as well. DMs are open or you can send me an email.
English
1
0
0
25
David Poll
David Poll@depoll·
Exciting day! 🥞 Stacked PRs are in public preview on GitHub, built by my team with many partner teams helping across surfaces: github.blog/changelog/2026…
English
14
18
135
116.7K
Sameen Karim
Sameen Karim@sameenkarim·
@chacon Ah yup agents are always using jq to parse from the json. It was actually intended as a debugging tool (`gh stack` stores all its local state in a json file) and then I saw my agents using it 🥲 Will need to think about how we should format stack data in markdown. Thanks!
English
0
0
0
35
Scott Chacon
Scott Chacon@chacon·
@sameenkarim This is super interesting. We did a lot of testing and eval loops around this and found that agents actually don’t like json. They prefer markdowny type output. If they get json, they then write perl scripts or jq to parse out the values they want.
English
2
0
2
42
Sameen Karim
Sameen Karim@sameenkarim·
That was a very long thread 😮‍💨 Thank you for making it this far if you're still reading. Behind all the sizzle, I wanted to show what goes into such a big release like this. Thank you to everyone who asked for this for years. It shipped because you kept pushing. Lots more to come! Happy stacking 🥞 github.blog/changelog/2026…
English
2
1
51
5.3K