# make test-failover ACTION_SCRIPT=scripts/stop-one.cmd; then restore-replicas and repeat for the other replica ## run 1, before mtusi-lab4-api-1 e4717834ab4f | Up 15 seconds (healthy) mtusi-lab4-api-2 aeca84df3cdc | Up 14 seconds (healthy) Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 82, "failed_attempts": 0, "first_recovery_seconds": 4.716} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. exit=0 ## run 1, after hook mtusi-lab4-api-1 e4717834ab4f | Exited (0) 11 seconds ago mtusi-lab4-api-2 aeca84df3cdc | Up 36 seconds (healthy) ## run 2, before mtusi-lab4-api-1 e4717834ab4f | Up 7 seconds (healthy) mtusi-lab4-api-2 aeca84df3cdc | Up 55 seconds (healthy) Executing explicit failover hook; hook output suppressed to avoid leaking secrets. {"observed_instances_before": 2, "successful_writes": 83, "failed_attempts": 0, "first_recovery_seconds": 5.739} PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence. exit=0 ## run 2, after hook mtusi-lab4-api-1 e4717834ab4f | Up 30 seconds (healthy) mtusi-lab4-api-2 aeca84df3cdc | Exited (0) 10 seconds ago ## restored mtusi-lab4-api-1 e4717834ab4f | Up 48 seconds (healthy) mtusi-lab4-api-2 aeca84df3cdc | Up 8 seconds (healthy)