Files
ITWorx Pulse release export bd774932d5
Public source validation / validate (push) Failing after 3m8s
Publish ITWorx Pulse source
2026-09-03 02:09:19 +02:00

66 lines
1.5 KiB
JSON

{
"schemaVersion": 1,
"id": "container-restart-loop",
"name": "Container restart loop",
"description": "A container repeatedly restarts while returning to running state.",
"initialState": {
"container": {
"id": "fixture-plex",
"name": "Plex",
"status": "running",
"restartCount": 0
}
},
"timeline": [
{
"atSeconds": 10,
"action": "emit-event",
"payload": {
"eventType": "container.restart",
"entity": "fixture-plex",
"exitCode": 137
}
},
{
"atSeconds": 120,
"action": "emit-event",
"payload": {
"eventType": "container.restart",
"entity": "fixture-plex",
"exitCode": 137
}
},
{
"atSeconds": 240,
"action": "emit-event",
"payload": {
"eventType": "container.restart",
"entity": "fixture-plex",
"exitCode": 137
}
},
{
"atSeconds": 360,
"action": "set-entity-status",
"payload": {
"entity": "fixture-plex",
"status": "operational"
}
}
],
"expectedOutcomes": [
{
"bySeconds": 300,
"assertion": "Container is degraded due to instability even when current runtime state is running."
},
{
"bySeconds": 330,
"assertion": "Restart-loop alert is firing and grouped under the application."
},
{
"bySeconds": 1500,
"assertion": "Alert resolves only after the configured stable recovery window."
}
]
}