Grading and blast radius
ServerGym refuses to pass fragile shortcuts. Every lab runs a multi-part rubric separating symptom relief from root-cause durability and zero side effects.
Four check categories
Every scenario defines scored checks grouped into four categories, and all checks must pass for a session to be marked Passed:
| Category | What it verifies |
|---|---|
functional | The broken website, API, mail service, or cluster actually works again after reload or restart. |
durability | The root cause is resolved in config, schedules, or system limits so the outage will not return immediately. |
blast_radius | Neighbouring websites, customer data, TLS files, permissions, and unrelated services remain untouched. |
security | Exposed secrets, weak permissions, open relays, or canary leaks are properly closed without breaking legitimate traffic. |
In addition, Helpdesk calls labs score your plain-English root-cause summary sent back to the customer, and AI change review labs score your accuracy in approving safe steps while blocking dangerous proposals.
Why restart-only band-aids fail
Several scenarios specifically test whether you fixed the underlying trigger rather than clearing symptoms temporarily:
- WordPress PHP-FPM exhaustion — restarting PHP-FPM without stopping the runaway background job and right-sizing the worker pool fails durability immediately.
- Exim mail queue floods — purging queued messages without removing the compromised mailer script lets outbound spam refill the spool.
- PostgreSQL WAL bloat — restarting the database does not release a stale replication slot; the slot must be cleared and connection pooling configured properly.
- Systemd OOM kills — restarting a crashed worker without raising its memory ceiling, adjusting concurrency, and reloading systemd triggers another OOM kill.
- Redis memory storms — flushing the entire instance wipes active customer checkout sessions, whereas restarting Redis leaves the memory limit and eviction policy unchanged.
Blast-radius and AI safety guards
Checks inspect neighbouring tenant directories, certificate chains, database authentication settings, firewall rules, and Kubernetes RBAC policies. Shortcuts such as applying chmod 777 to web roots, deleting active database binlogs directly from disk, granting cluster-admin bindings, or approving terraform destroy fail the safety checks so the lab cannot pass.
Replays and audit exports
- Asciinema replay — watch the step-by-step command timeline at
/sessions/:id/replayor download the standard v2 asciicast file viaGET /api/sessions/:id/cast. - Tamper-evident audit JSON — download the structured verification report and SHA-256 digest via Export audit JSON on the replay page (
GET /api/sessions/:id/audit-report).