Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(minikube): bind --reset-db back-compat; exact PVC name in docs

Jose Ramirezd803ac4b70c0
diff --git a/docs/deploy/minikube.md b/docs/deploy/minikube.md
index d4f2ccff9..7f05a070b 100644
--- a/docs/deploy/minikube.md
+++ b/docs/deploy/minikube.md
@@ -142,7 +142,7 @@ make minikube-setup ARGS="--reset-db" # Force a DB rebuild (already the def
make minikube-setup ARGS="--force-keys" # Regenerate all JWT signing keys
```
-`make minikube-setup` deletes the `control-postgres` volume and replays every
+`make minikube-setup` deletes the `control-postgres-data` volume and replays every
migration from an empty schema by default, so a leftover DB from an older build
cannot drift from the current schema/grant contract — that drift otherwise
surfaces at the migration gate as
diff --git a/scripts/tests/test-minikube-full-setup.sh b/scripts/tests/test-minikube-full-setup.sh
index 9798aae11..892930870 100755
--- a/scripts/tests/test-minikube-full-setup.sh
+++ b/scripts/tests/test-minikube-full-setup.sh
@@ -287,6 +287,14 @@ assert_makefile_passes_reuse_db() {
fi
}
+assert_reset_db_flag_backcompat() {
+ if grep -Eq -- '--reset-db\)[[:space:]]+RESET_DB=true' scripts/minikube/full-setup.sh; then
+ pass "--reset-db flag still forces a DB rebuild (back-compat)"
+ else
+ fail "--reset-db flag no longer sets RESET_DB=true (back-compat broken)"
+ fi
+}
+
assert_broken_profile_is_recreated
assert_healthy_profile_skips_recreate
assert_branch_profile_deploy_dir_is_used
@@ -296,5 +304,6 @@ assert_gfs_provisioning_follows_migrations_and_core_readiness
assert_full_setup_defaults_to_db_rebuild
assert_makefile_passes_reuse_db
assert_reuse_db_normalizer_precedes_flag_loop
+assert_reset_db_flag_backcompat
exit $FAIL