5. Run Soak Test

Purpose: Execute a single soak test cycle to verify end-to-end pipeline health, or monitor ongoing soak status. Run before deploying to production or after major pipeline changes.

Prerequisites:

  • .env.local configured with database and queue credentials
  • Web app running locally or accessible at target URL

Cost / Duration: negligible | 5-30 min

Prompt

Run an end-to-end soak test to verify pipeline health.

Step 1 — Run a single soak test cycle:

```bash
bun run soak:run-once
```

Executes one complete cycle against the local environment.

Step 2 — Target a specific deployment (optional):

```bash
bun scripts/soak-run-once.ts --url https://app.eko.day
```

Step 3 — Check soak status:

```bash
bun run soak:status
```

Reports current soak test metrics.

Step 4 — Watch mode (optional, checks every 30 seconds):

```bash
bun scripts/soak-status.ts --watch
```

Step 5 — Run Phase 1 verification queries:

```bash
bun run soak:verify
```

Step 6 — Save verification results for audit trail:

```bash
bun run soak:verify --save
```

Expected: All verification queries pass with a saved artifact.

Verification

  • Soak test cycle completes without connection errors
  • Status reports healthy metrics
  • Verification queries all pass
  • No queue timeout or worker consumption issues

Back to index