Skip to content

fix(localnet): scrub adopted volumes on remove - #254

Closed
zheli wants to merge 1 commit into
mainfrom
fix/remove-scrub-adopted-volumes
Closed

fix(localnet): scrub adopted volumes on remove#254
zheli wants to merge 1 commit into
mainfrom
fix/remove-scrub-adopted-volumes

Conversation

@zheli

@zheli zheli commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Fixes M1-CLN-001: clean --force / localnet remove left re-adopted external volumes (e.g. canton-e2e-test-default_postgres) on the persistent self-hosted runner.
  • Adds docker.RemoveProjectVolumes to delete volumes matching ^<project>_ after compose down --volumes.
  • Mirrors the prefix scrub already used in the E2E workflow pre-clean step.

Test plan

  • go test ./internal/docker/... ./internal/localnet/...
  • make lint
  • Scheduled E2E workflow passes M1-CLN-001 on the self-hosted runner

Re-adopted external volumes survive compose down --volumes on persistent
runners. After teardown, delete volumes matching ^<project>_ so clean/remove
reclaims postgres and domain-upgrade-dump leftovers (M1-CLN-001).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant