Ask HN: Is it actually possible to run multiple coding sessions in parallel?
11–20 of 26 posts
Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#12Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#13I expected this to become less necessary over time as models got faster, but the opposite has happened. It feels like Claude has actually gotten slower (but in fairness does more per prompt), meaning worktrees are even more essential now.
Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#14Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#15Generally its feature a, feature b and a refactoring branch of some kind.
My workflow is:
1. Add ticket in gitlab describing bug or feature in as much detail as possible along with acceptance criteria like expected unit tests or browser based tests.
2. In a work tree create a branch based on the id of that ticket in gitlab.
3. Start Claude, tell it to use a skill to pull that ticket, research and make a plan.
4. Review the plan, ask questions, refine.
5. Approve plan and let cluade cook.
6. Have Claude run a set of linters/tests/code quality checks and ground until done.
7. Start a new Claude instance, ask it to review changes made. Provide feedback to first Claude instance for changes.
8. Commit and push, creating a draft mr/pr in gitlab.
9. Review the actual code changes myself using gitlab. Comment on things not right.
10. Get Claude to use another skill to pull comments and work to resolve them. Also feed back any CI failures.
11. Manually close comments and push again. Repeat until done and ready for co-worker review.
I can only keep 3 threads like this going at once. Sometimes it’s only 1 or 2, depending on complexity. Smaller is better. Try to stay atomic and avoid feature creep in each mr.
Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#16Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#17Superpowers + worktrees works really well for me. Superpowers works well at building comprehensive plans for implementing large features or refactors, and asks the questions up front, and then worktrees provide a safe place to actually perform that work. It's not perfect; I've had some issues with Claude Code forgetting where it did things ("oh... it's not working because I'm not in the right directory"). I think it…
I haven’t tried that, does it introduce some kind of “black magic” that makes the agent hard to observe?
Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#18I do use worktrees occasionally (especially during times where I'll have a very sticky problem that I make the LLM run in a loop on until it satisfies acceptance criteria, and want to isolate the potential fallout of Claudes Gone Wild), and I run Claude and Codex side by side, but I rarely have them work on truly-different tasks simultaneously. The main reason is because if there's a significant bug or large optimiza…
Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#19Depends on whether you can keep things separated logically. I have 3 git worktrees open, each working on a different area. Generally its feature a, feature b and a refactoring branch of some kind. My workflow is: 1. Add ticket in gitlab describing bug or feature in as much detail as possible along with acceptance criteria like expected unit tests or browser based tests. 2. In a work tree create a branch based on the…
Re: Ask HN: Is it actually possible to run multiple coding sessions in parallel?
#20I do use worktrees occasionally (especially during times where I'll have a very sticky problem that I make the LLM run in a loop on until it satisfies acceptance criteria, and want to isolate the potential fallout of Claudes Gone Wild), and I run Claude and Codex side by side, but I rarely have them work on truly-different tasks simultaneously. The main reason is because if there's a significant bug or large optimiza…
Using different models to supervise each other sounds reasonable. I’m curious what plans are you subscribed to for Claude and GPT?