This document defines how to soak-test Aegis to check long-term stability under continuous load.
Status: short soaks run in CI; the long ones below haven’t been run.
scripts/soak.shimplements most of this protocol (steady load through the proxy, deploys, rollbacks, restarts, limit changes, daemon restarts; RSS, fds, threads, zombies, database and log size). It runs for 5 minutes on every push tomainand for 60 minutes nightly; seebenchmarks.mdfor how it judges a run and how to read its report. The 24 h / 72 h / 168 h runs need a dedicated host. Not covered yet: failing builds and unhealthy releases mixed into the load,kill -9of the app, daemon idle CPU, and gRPCGetStatuslatency.
| Duration | Goal | Acceptance Criteria |
|---|---|---|
| 24 Hours | Short-term stability | No daemon crashes, daemon RSS growth < 5% |
| 72 Hours | Medium-term reliability | No zombie processes, event propagation latency < 10 ms |
| 168 Hours (7 Days) | Release readiness | No scheduler drift, database and WAL size bounded, health checks accurate |
Record these continuously during the run:
< 1%.ps).GetStatus and HTTP /healthz latency.examples/node-app) with health checks.kill -9 of an app process and occasional daemon restarts.