Production-validation-related scripts currently under scripts/:
prod_test.sh: correctness and crash-recovery test orchestration (fast/stress/chaos/all)fuzz_regression.sh: bounded stateful fuzz regression runner for the three lifecycle fuzz targets
Unified layered execution for production-style integration tests:
fast: quick regression (default)stress: long-run/high-pressure cases (#[ignore])chaos: failpoint crash/fault-injection cases (#[ignore])all:fast + stress + chaos
./scripts/prod_test.sh [mode] [threads]mode:fast|stress|chaos|all, defaultfastthreads: passed tocargo test -- --test-threads=..., default8
Examples:
./scripts/prod_test.sh fast 8
./scripts/prod_test.sh all 8FEATURES: defaultfailpointsFAST_TIMEOUT/STRESS_TIMEOUT/CHAOS_TIMEOUTCHAOS_RETRY: retry count for chaos casesMACE_PROD_BUCKET_STRESS_ROUNDSMACE_PROD_BUCKET_CHURN_ROUNDSMACE_PROD_BUCKET_CHURN_WORKERSMACE_PROD_EVICTOR_STRESS_ROUNDS
- Exit code
0: full pass - Non-zero: failed items are listed in
failuresat the end
Note: in chaos mode, child-process failure logs can be expected; rely on final script exit code and
failuressummary as ground truth.
.github/workflows/ci.ymltest-prod-all:./scripts/prod_test.sh all 8