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
just clean-test-containers only removes containers matching name=workspace-devcontainer, which are the ones the devcontainer fixtures create. The image-test fixture test_container (tests/conftest.py:246) names its containers test-devcontainer-<epoch>. When a test_image.py run is killed before fixture teardown, those containers are left behind and the recipe never matches them.
Steps to Reproduce
Start just test-image (or uv run pytest tests/test_image.py) and kill it before teardown.
podman ps -a shows an exited test-devcontainer-<epoch> container.
just clean-test-containers prints [*] No lingering test containers found.
Expected Behavior
The recipe removes leftover containers from every test fixture, test-devcontainer-* included.
Actual Behavior
Four exited (137) test-devcontainer-* containers, 5 weeks to 2 months old, survived the recipe and had to be removed by hand with podman rm.
Environment
Local, rootless podman.
Possible Solution
Also collect podman ps -a --filter "name=^test-devcontainer-" in the clean-test-containers recipe (justfile).
Activity
test: expect clean-test-containers to remove test-devcontainer leftovers
fix(just): remove test-devcontainer leftovers in clean-test-containers
fix(just): remove test-devcontainer leftovers in clean-test-containers (
c-vigo commentedon Oct 5, 2026
Fixed by #1818 (merged to
devas 6ee5d27); reachesmainwith the next release train.