| ▲ | Show HN: A local merge queue for parallel Claude Code agents(github.com) | ||||||||||||||||||||||
| 19 points by funador 4 hours ago | 6 comments | |||||||||||||||||||||||
I have been pushing up to 90 commits a day on a MacBook Air via 4-5 parallel agents. As you can imagine when all the agents try to build, test and run dev servers on an 8GB machine it is the fast lane to a force quit and restart. I also did not want to pay the CI minutes on 90 pushes a day. So I designed a local merge queue to have all commits land one at a time and fully tested. Hopefully this helps other folks with more modest machines. Appreciate any feedback. | |||||||||||||||||||||||
| ▲ | barrkel 3 hours ago | parent | next [-] | ||||||||||||||||||||||
A decent idea, however it seems to me a good chunk of it is because of git limitations. Have you looked jj? I'm having a much better time with jj and a workspace per subagent than I was with git and worktrees. It's still useful to have the CI gating on updating the master branch pointer, but you largely stop working with branches once you switch to jj. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | orsorna 4 hours ago | parent | prev [-] | ||||||||||||||||||||||
I have CI set up so that I can just let that handle builds and exclusive locks for me, but there are particular limitations (network connectivity is mandatory). I did this because I wanted to avoid something like you built, which theoretically can't scale as well as a dev box (much easier to extend deploy environments versus my local machine). I can see that you are working within resource constraints though which is admirable :) | |||||||||||||||||||||||
| |||||||||||||||||||||||