feat(justfile): add dev-clean / dev-clean-all teardown recipes #41

Merged
David merged 1 commit from feat/dev-clean-recipes into main 2026-06-13 19:49:21 +02:00
Owner

Adds the canonical dev-clean / dev-clean-all teardown recipes, per GOV-7 (governance template templates/justfile/cleanup.just).

  • dev-clean stops both dev stacks (the Traefik-routed compose.dev.yml stack and the localhost compose.yml stack, each down --remove-orphans, dropping their default networks), removes this repo's named volumes (rus-cargo-target-$USER, rus-data-$USER), and deletes local build/runtime artifacts (target/, data/).
  • dev-clean-all adds removal of the images this repo builds (rus:standalone-check, rus:saas-check, rus:local) and runs docker buildx prune --force.
  • Aligned existing recipes: replaced the prior dev-clean, dev-local-clean, and dev-clean-all recipes, folding both compose-stack teardowns and the named-volume removal into the canonical pair so there is one set of clean recipes.

Both guard every removal with an existence check and stay scoped to this repo (no host-global prune). Verified just --list parses and groups both under [cleanup].

Part of the GOV-7 rollout; tracked there rather than via a per-repo issue.

🤖 Generated with Claude Code

Adds the canonical `dev-clean` / `dev-clean-all` teardown recipes, per GOV-7 (governance template `templates/justfile/cleanup.just`). - `dev-clean` stops both dev stacks (the Traefik-routed `compose.dev.yml` stack and the localhost `compose.yml` stack, each `down --remove-orphans`, dropping their default networks), removes this repo's named volumes (`rus-cargo-target-$USER`, `rus-data-$USER`), and deletes local build/runtime artifacts (`target/`, `data/`). - `dev-clean-all` adds removal of the images this repo builds (`rus:standalone-check`, `rus:saas-check`, `rus:local`) and runs `docker buildx prune --force`. - Aligned existing recipes: replaced the prior `dev-clean`, `dev-local-clean`, and `dev-clean-all` recipes, folding both compose-stack teardowns and the named-volume removal into the canonical pair so there is one set of clean recipes. Both guard every removal with an existence check and stay scoped to this repo (no host-global prune). Verified `just --list` parses and groups both under `[cleanup]`. Part of the GOV-7 rollout; tracked there rather than via a per-repo issue. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
feat(justfile): add dev-clean / dev-clean-all teardown recipes
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 58s
Create release / Create release from merged PR (pull_request) Has been skipped
aa15290774
Adds the canonical [cleanup]-group dev-clean / dev-clean-all recipes for THIS repo, replacing the prior divergent dev-clean, dev-local-clean, and dev-clean-all recipes by folding their teardown into one canonical pair: dev-clean stops both dev stacks (the Traefik-routed compose.dev.yml stack via the compose variable and the localhost compose.yml stack via plain docker compose, each `down --remove-orphans` dropping its default network), removes this repo's named volumes (rus-cargo-target-$USER and rus-data-$USER, guarded by a docker volume ls membership check), and deletes local build/runtime artifacts (target/ and data/, each guarded by path exists); dev-clean-all additionally removes the images this repo builds (rus:standalone-check, rus:saas-check, rus:local, each guarded by docker image inspect) and runs docker buildx prune --force. Both recipes stay scoped to this repo with no host-global prune.

#GOV-7
David merged commit eadc242d80 into main 2026-06-13 19:49:21 +02:00
David deleted branch feat/dev-clean-recipes 2026-06-13 19:49:21 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
a8n-tools/rus!41
No description provided.