diff --git a/.github/workflows/reliability.yml b/.github/workflows/reliability.yml index ebde008dc..dca4f2029 100644 --- a/.github/workflows/reliability.yml +++ b/.github/workflows/reliability.yml @@ -233,12 +233,13 @@ jobs: # Criterion 3 of the gap: the dependency dies MID-RUN, with real callers on # it, and what the callers saw is recorded. - - name: Chaos — kill core-api under load, record the behaviour + - name: Chaos — kill redis dependency under load, record the behaviour env: COMPOSE_FILE: ${{ github.workspace }}/product/infra/docker-compose.evolith.yml BASE_URL: http://127.0.0.1:3001 EVOLITH_API_KEY: ci-load-key OUT_DIR: ${{ runner.temp }} + TARGET: redis PLATEAU_VUS: '5' PLATEAU_DURATION: 60s run: bash product/infra/load/chaos/kill-under-load.sh | tee "$RUNNER_TEMP/chaos-kill-under-load.log" diff --git a/product/infra/load/README.md b/product/infra/load/README.md index 32a53df0e..9d1cf3cf8 100644 --- a/product/infra/load/README.md +++ b/product/infra/load/README.md @@ -120,6 +120,7 @@ so CI can gate on it. For machine-readable output: ```bash cd product/infra/load/chaos +TARGET=redis ./kill-under-load.sh ./kill-core-api.sh OUTAGE_SECONDS=20 ./kill-redis.sh TARGET=core-api DELAY_MS=300 DURATION=90s ./network-latency.sh diff --git a/product/infra/load/chaos/README.md b/product/infra/load/chaos/README.md index e673c92ba..92af1a291 100644 --- a/product/infra/load/chaos/README.md +++ b/product/infra/load/chaos/README.md @@ -53,6 +53,7 @@ via env vars (`COMPOSE_FILE`, `CORE_HEALTH_URL`, `BROKER_SERVICE`, …). cd product/infra/load/chaos ./kill-core-api.sh +TARGET=redis ./kill-under-load.sh OUTAGE_SECONDS=20 ./kill-redis.sh BROKER_SERVICE=redis ./kill-broker.sh TARGET=core-api DELAY_MS=300 JITTER_MS=100 DURATION=90s ./network-latency.sh