(no title)
tomasreimers | 6 months ago
When we started graphite.dev years ago that was a workflow most developers had never heard of unless they had previously been at FB / Google.
Fun to see how fast code review can change over 3-4yrs :)
tomasreimers | 6 months ago
When we started graphite.dev years ago that was a workflow most developers had never heard of unless they had previously been at FB / Google.
Fun to see how fast code review can change over 3-4yrs :)
benreesman|6 months ago
And I very much appreciate both the ambition and results that come from making it interop with PRs, its a nightmare problem and its pretty damned amazing it works at all, let alone most of the time.
I would strongly lobby for a prescriptive mode where Graphite initializes a repository with hardcore settings that would allow it to make more assumptions about the underlying repo (merge commits, you know the list better than I do).
I think that's what could let it be bulletproof.
tomasreimers|6 months ago
m11a|6 months ago
So I’m really hoping something like Graphite becomes open-source, or integrated into GitHub.
akshayshah|6 months ago
https://abhinav.github.io/git-spice/
sywhang|6 months ago
mytailorisrich|6 months ago
Frequent, small changes are really a good practice.
Then we have things like trunk-based development and continuous integration.
vlovich123|6 months ago
That’s the only models I can think of and it’s weird to advocate to have a variable time asynchronous process in the middle of your code or review loops. Seems like you’re just handicapping your velocity for no reason.
Stacked PRs are precisely about factoring out small changes into individually reviewable commits that can be reviewed and landed independently, decoupling reviewer and developer while retaining good properties like small commits that the reviewer is going to do a better job on, larger single purpose commits that the reviewer knows to spend more time on without getting overwhelmed dealing with unrelated noise, and the ability to see relationships between smaller commits and the bigger picture. Meanwhile the developer gets to land unobtrusive cleanups that serve a broader goal faster to avoid merge conflicts while getting feedback quicker on work while working towards a larger goal.
The only time stacked commits aren’t as useful is for junior devs who cants organize themselves well enough to understand how to do this well (it’s an art you have to intentionally practice at) and don’t generally have a good handle on the broader scope of what they’re working towards.
johnmaguire|6 months ago
foota|6 months ago
kyrra|6 months ago
thinkindie|6 months ago
What can be a very nice experiment to try something new can easily become a security headache to deal with.
vlovich123|6 months ago
globular-toast|6 months ago
gen220|6 months ago
I'd recommend giving it a try to see what it's like. The `gt`/onboarding tour is pretty edifying and brief.
It's likely that you'll find that `gt` is "enabling" workflows that you've already found efficient solutions for, because it's essentially an opinionated and productive subset of git+github. But it comes with some guardrails and bells and whistles that makes it both (1) easier for devs who are new to trunk-based dev to grok and (2) easier for seasoned devs to do essentially the same work they were already doing with fewer clicks and less `git`-fu.
vinnymac|6 months ago
paulddraper|6 months ago
Best AI code review, hands down. (And I’ve tried a few.)
jacobegold|6 months ago