fix(justfile): add ensure-env dependency to dev-clean #238

Merged
David merged 1 commit from fix/PMS-307-dev-clean-ensure-env into main 2026-06-14 20:45:03 +02:00
Owner

dev-clean was the only Compose-invoking teardown recipe without the ensure-env dependency. With .env absent (e.g. after a prior dev-clean removed it), Compose aborts interpolating the required ${VAR:?} variables in compose.dev.yml before the down subcommand runs, so volume/target/image cleanup never executes and teardown is non-idempotent.

Adding ensure-env recreates .env from the persistent .env.dev template before down, matching the sibling recipes down / dev-down / dev-sso-down. dev-clean-all inherits the fix transitively.

#PMS-307

dev-clean was the only Compose-invoking teardown recipe without the ensure-env dependency. With .env absent (e.g. after a prior dev-clean removed it), Compose aborts interpolating the required ${VAR:?} variables in compose.dev.yml before the down subcommand runs, so volume/target/image cleanup never executes and teardown is non-idempotent. Adding ensure-env recreates .env from the persistent .env.dev template before down, matching the sibling recipes down / dev-down / dev-sso-down. dev-clean-all inherits the fix transitively. #PMS-307
fix(justfile): add ensure-env dependency to dev-clean
All checks were successful
E2E / Playwright against staging (pull_request) Successful in 49s
Check / fmt + clippy + compile + unit/doc tests (pull_request) Successful in 1m15s
Integration / integration tests (pull_request) Successful in 4m29s
Create release / Create release from merged PR (pull_request) Has been skipped
7438c7f19d
dev-clean was the only Compose-invoking teardown recipe without the ensure-env dependency. With .env absent (e.g. after a prior dev-clean removed it), Compose aborts interpolating the required ${VAR:?} variables in compose.dev.yml before the down subcommand runs, so volume/target/image cleanup never executes and teardown is non-idempotent.

Adding ensure-env recreates .env from the persistent .env.dev template before down, matching the sibling recipes down / dev-down / dev-sso-down. dev-clean-all inherits the fix transitively.

#PMS-307
David merged commit 8a8253fda3 into main 2026-06-14 20:45:03 +02:00
David deleted branch fix/PMS-307-dev-clean-ensure-env 2026-06-14 20:45:03 +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
psa-systems/mokosh-server!238
No description provided.