# Public checks repeated on the final commit fc50362 after the fixes (2026-10-25T12:34:34Z)
$ make test
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
$ make test-persistence ACTION_SCRIPT=scripts/restart.cmd
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
2 API replica(s) UP in HAProxy after 0.7 s: ['0e899ebdfc56', '92fdfb319248']
$ make test-failover ACTION_SCRIPT=scripts/stop-one.cmd
{"observed_instances_before": 2, "successful_writes": 131, "failed_attempts": 0, "first_recovery_seconds": 5.837}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab4-api-2         X-Instance-Id=0e899ebdfc56  exited   health=unhealthy pid=0 started=2026-10-25T12:35:22.631 ip=-
2 API replica(s) UP in HAProxy after 0.6 s: ['0e899ebdfc56', '92fdfb319248']
$ make test-failover ACTION_SCRIPT=scripts/stop-one.cmd
{"observed_instances_before": 2, "successful_writes": 133, "failed_attempts": 0, "first_recovery_seconds": 5.922}
PASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.
mtusi-lab4-api-1         X-Instance-Id=92fdfb319248  exited   health=unhealthy pid=0 started=2026-10-25T12:35:22.981 ip=-
2 API replica(s) UP in HAProxy after 0.6 s: ['0e899ebdfc56', '92fdfb319248']
