lab4: evidence и отчёт после второго ревью (бюджет памяти, худший случай, таймауты S3), шаблон PR

This commit is contained in:
2026-10-23 17:27:37 +03:00
parent 9caa0313be
commit 66c44aa0f3
17 changed files with 1315 additions and 1192 deletions
+9 -17
View File
@@ -1,21 +1,13 @@
# commit 9caa031
# failover round 1
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://localhost:8080"
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 140, "failed_attempts": 0, "first_recovery_seconds": 3.331}
{"observed_instances_before": 2, "successful_writes": 133, "failed_attempts": 0, "first_recovery_seconds": 3.184}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
api mtusi-lab4-api-1 Up 26 seconds (healthy)
Container mtusi-lab4-api-1 Running
mtusi-lab4-api-1 Exited (0) 12 seconds ago
mtusi-lab4-api-2 Up 31 seconds (healthy)
# failover round 2
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 134, "failed_attempts": 0, "first_recovery_seconds": 3.359}
{"observed_instances_before": 2, "successful_writes": 141, "failed_attempts": 0, "first_recovery_seconds": 3.249}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab4-api-1 Up 50 seconds (healthy)
mtusi-lab4-api-2 Exited (0) 12 seconds ago
# failover round 3
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 134, "failed_attempts": 0, "first_recovery_seconds": 3.328}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab4-api-1 Up About a minute (healthy)
mtusi-lab4-api-2 Exited (0) 12 seconds ago
mtusi-lab4-api-1 Up About a minute (healthy)
mtusi-lab4-api-2 Up 5 seconds (healthy)
mtusi-lab4-api-1 Exited (0) 12 seconds ago
mtusi-lab4-api-2 Up 53 seconds (healthy)
mtusi-lab4-api-1 Up 5 seconds (healthy)
mtusi-lab4-api-2 Up 58 seconds (healthy)