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 break when their worktree is removed #903
Since #900 the test containers are shared across checkouts. But they bind-mount the seed files (tests/fixtures/sql/) from whichever checkout first created them. If that checkout is a worktree and gets removed, docker start fails because the mount source no longer exists, and just db-up with it. Today the fix is just db-reset from a checkout that still exists; the integration-tests skill says so.
Fix
Stop depending on the checkout path. Either copy the seeds into a named volume, or build a small image FROM mysql:8.0 / FROM mariadb:11 that COPYs tests/fixtures/sql/ into /docker-entrypoint-initdb.d/. Then db-seed / db-reset keep working from any checkout. Check that the SELinux :z relabelling note in the justfile still applies, or drop it.
Activity