forked from mtusi2026/mtusi2026lab6
feat: add bounded observability and verified SLO incident alerts
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
2026-10-29T14:28:32Z target=local-b action=stop
|
||||
2026-10-29T14:28:49Z action=restart-api-worker-postgres-valkey-s3-broker retained-container-filesystems
|
||||
2026-10-29T14:29:29Z action=stop-worker
|
||||
2026-10-29T14:29:29Z action=restart-api-worker-postgres-valkey-s3-broker retained-container-filesystems
|
||||
2026-10-29T14:43:21Z target=local-b action=stop
|
||||
2026-10-29T14:43:40Z action=restart-api-worker-postgres-valkey-s3-broker retained-container-filesystems
|
||||
2026-10-29T14:44:19Z action=stop-worker
|
||||
2026-10-29T14:44:20Z action=restart-api-worker-postgres-valkey-s3-broker retained-container-filesystems
|
||||
@@ -0,0 +1,2 @@
|
||||
worker_stopped=true upload_status=202 snapshot=queued message_created=true content_status=409
|
||||
PASS: accepted intent survived API, worker, PostgreSQL, S3 and AOF broker restart; ready=1 variants=3 original_unchanged=true
|
||||
@@ -0,0 +1,4 @@
|
||||
python3 tests/resilience.py --mode failover --action-script "/Users/marlo/go/src/gitflick.ru/vlad_marlo/gitea/mtusi2026lab6/scripts/local-action.sh" --base-url "http://127.0.0.1:49688"
|
||||
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
|
||||
{"observed_instances_before": 2, "successful_writes": 99, "failed_attempts": 0, "first_recovery_seconds": 0.287}
|
||||
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,3 @@
|
||||
python3 tests/resilience.py --mode persistence --action-script "/Users/marlo/go/src/gitflick.ru/vlad_marlo/gitea/mtusi2026lab6/scripts/local-action.sh" --base-url "http://127.0.0.1:49688"
|
||||
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
||||
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:49688"
|
||||
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||
@@ -0,0 +1,2 @@
|
||||
python3 tests/smoke.py --base-url "http://127.0.0.1:49688"
|
||||
PASS: lab6 public API scenario; infrastructure and grading evidence remain separate.
|
||||
Reference in New Issue
Block a user