You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: test containers can't start from a second worktree #895
docker-compose.test.yml gives every service a fixed container_name (mas-mysql-8, mas-mariadb-11, …). From a second git worktree, just db-up fails because those names are already in use:
Error response from daemon: Conflict. The container name "/mas-mysql-8" is already in use
Parallel agents work in worktrees, and so do contributors with more than one checkout, so db-up from anywhere but the first checkout fails.
Fix
Since both checkouts can share one set of databases, make just db-up idempotent: if the named containers exist, docker start them and wait for health, instead of compose up. Alternatively, drop container_name and pin a name: at the top of the compose file so every worktree uses the same project. Either way, update _db-wait to match, and note it in the integration-tests skill.
Activity
fix: share test containers across worktrees