Public source validation / validate (push) Failing after 3m8s
38 lines
815 B
JSON
38 lines
815 B
JSON
{
|
|
"schemaVersion": 1,
|
|
"id": "database-restart",
|
|
"name": "Database restart recovery",
|
|
"description": "Database temporarily restarts while API/worker are active.",
|
|
"initialState": {
|
|
"database": {
|
|
"status": "healthy"
|
|
},
|
|
"alerts": {
|
|
"active": 2
|
|
}
|
|
},
|
|
"timeline": [
|
|
{
|
|
"atSeconds": 30,
|
|
"action": "restart-database",
|
|
"payload": {
|
|
"downtimeSeconds": 20
|
|
}
|
|
}
|
|
],
|
|
"expectedOutcomes": [
|
|
{
|
|
"bySeconds": 40,
|
|
"assertion": "API readiness fails while liveness remains appropriate."
|
|
},
|
|
{
|
|
"bySeconds": 90,
|
|
"assertion": "Connections recover without duplicate alert transitions or notifications."
|
|
},
|
|
{
|
|
"bySeconds": 120,
|
|
"assertion": "Persisted dashboards and alert state are intact."
|
|
}
|
|
]
|
|
}
|