# 2026-11-17T15:27:35Z, commit 276dbda
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://lb:8080" 
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 137, "failed_attempts": 0, "first_recovery_seconds": 4.458}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab5-api-2 Up 5 seconds (healthy)
mtusi-lab5-api-1 Up About a minute (healthy)
python3 tests/resilience.py --mode failover --action-script "scripts/stop-one.sh" --base-url "http://lb:8080" 
Executing explicit failover hook; hook output suppressed to avoid leaking secrets.
{"observed_instances_before": 2, "successful_writes": 137, "failed_attempts": 0, "first_recovery_seconds": 4.163}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab5-api-2 Up 31 seconds (healthy)
mtusi-lab5-api-1 Up 5 seconds (healthy)

# evidence/stop-one.log (what the hook really stopped):
2026-11-17T15:27:38Z mode=stop instance=cdb3725c641e-b9c808 container=mtusi-lab5-api-2 state=exited exit=0 finished=2026-11-17T15:27:42.125871236Z
2026-11-17T15:28:04Z mode=stop instance=824c92061861-f52bc3 container=mtusi-lab5-api-1 state=exited exit=0 finished=2026-11-17T15:28:07.582211619Z
