
Testing Microservice Changes from Git Worktrees End to End Without the Terminal Tab Explosion
TLDR: made a visual cli-tool called Recomposable to tackle this issue. If you use Claude Code with git worktrees, you probably have multiple branches of the same repository checked out simultaneously. Claude works in one worktree, you review in another. This works well for single-service projects, but it breaks down when you run microservices. The problem: you need to verify that the changes Claude made to one service still work with the rest of your stack. This means rebuilding that one service from the worktree's code while keeping everything else on main , and Docker Compose has no concept of worktrees, it only knows about files on disk, so you're on your own. I have solved this for myself with the cli-tool Recomposable, which I will discuss further down the page. What you have to do today Say Claude Code is working on your auth-service in a worktree, and you want to test its changes against the rest of your stack. Here's the manual workflow: Step 1: Find the worktree path. Claude C
Continue reading on Dev.to
Opens in a new tab


