Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/reliability.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions product/infra/load/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions product/infra/load/chaos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading