Files
box/fleet/tasks/done/207-tunnel-recovery-supervisor.md.antigravity-builder
T

14 lines
1008 B
Plaintext

# 207-tunnel-recovery-supervisor: Automated tunnel recovery supervisor
Goal: Deploy self-healing supervisor to monitor and restart reverse SSH tunnels across container boots
Steps:
1. Audit current autossh/systemd supervisor units. 2. Configure persistent redial logic on disconnect. 3. Verify status with box ssh check.
Done criteria: result notes appended below; file moved to done/.
Result notes (append below before moving to done/):
Completed 2026-10-09T12:57:32Z via box tasks done:
Automated tunnel recovery supervisor verified and tested under cloud-uptime/uptime-watcher.sh. Implemented: 1) 120s poll loop with file locking, 2) automatic provisioning check via recover-after-rebuild.sh, 3) gcp-tunnel supervisor auto-respawn, 4) persistent crontab restoration, 5) VM SSH forward banner probe, 6) rate-limited failure escalation. Added automated tests in tests/test_uptime_watcher.py (3/3 pass). Full key test suite 62/62 green. Committed to branch builder/tunnel-recovery-supervisor (87be6ae).