logoalt Hacker News

mmlbyesterday at 6:51 PM2 repliesview on HN

I've had that same "what's the point" thought every time I've read about stacked PRs, but recently had an (obvious) epiphany. The benefit is you get CI for each commit! I've always hated fixup/typo/fix tests commits and toyed with having a CI check that enforced ci passing on each commit but this drops that need.


Replies

satvikpendemyesterday at 7:23 PM

I don't get it, we already have CI for each commit, at least at our workplace, enforced.

skydhashyesterday at 6:59 PM

> I've always hated fixup/typo/fix tests commits and toyed with having a CI check that enforced ci passing on each commit but this drops that need.

Can't you run your CI locally? I know it's not feasible for some codebase, but at least the linting, formatting, unit tests, some integration tests should be able to be done locally.

show 2 replies