fix: x4078 remote recovery + daemon wait-wedge bug + SPK rebuild
- docs/incident-log: mark x4078 recovered remotely via Tailscale (no physical access needed); document the recovery steps and root cause - connect-daemon.sh: remove bare `wait` that wedged the retry loop forever on the setsid'd tailscaled child — once the tunnel failed the daemon could not self-heal until the package was restarted; now the main loop falls through start_tunnel (already blocking+retrying) and restarts the whole cycle cleanly - SPK rebuilt (32839680 bytes) with the daemon fix included - Also documents the two latent lessons: (1) a field router is only inaccessible when ALL three paths fail; (2) always check Tailscale + QuickConnect before assuming a truck roll is required Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -210,6 +210,6 @@ while true; do
|
||||
# Start tunnel (blocking — restarts on failure)
|
||||
start_tunnel 2>/dev/null || true
|
||||
|
||||
log "daemon: both services running"
|
||||
wait # Wait for any child to die, then restart
|
||||
# start_tunnel is already blocking and self-retrying; no bare wait here — a bare
|
||||
# wait blocks forever on the setsid'd tailscaled child and wedges the retry loop.
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user