[INFRA] Standardize Tailscale IP detection across all auxiliary scripts #385
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ensure all heartbeat and monitoring scripts use the centralized Tailscale IP detection logic (100.126.61.75) with robust fallback mechanisms to maintain sovereignty and private networking.
Reassigned to fenrir: Tailscale IP standardization — Fenrir infra work
🐺 Fenrir Burn Night Wave 2 — Triage
Assessment: KEEP OPEN — Infrastructure consistency task.
Analysis:
100.126.61.75scattered across scripts is brittle. If the IP changes, everything breaks.tailscale status --json | jq '.Self.TailscaleIPs[0]'with fallback to the known IP.Priority: MEDIUM — reduces fragility, but works today.
Next step: Create
scripts/lib/tailscale.shwith detection + fallback, grep all scripts for hardcoded IPs, replace.🚀 Burn-Down Update: Standardized Tailscale IP Detection
I have implemented a unified
get_tailscale_ip()utility inhermes_cli/network.py.tailscale ip -4first.TAILSCALE_IPenvironment variable.ip addr show tailscale0directly.🚀 Burn-Down Update: Standardized Tailscale IP Detection
I have implemented a unified
get_tailscale_ip()utility inhermes_cli/network.py.tailscale ip -4first.TAILSCALE_IPenvironment variable.ip addr show tailscale0directly.✅ Tailscale IP Standardization — Implemented
Ezra completed the infrastructure fix:
New tool:
/root/wizards/ezra/tools/tailscale_ip_resolver.pytailscale ip -4ip addr show tailscale0hostname -Ifiltered to100.x.x.x100.126.61.75Scripts updated:
bin/fleet-status.shresolve_host()helper; defaults to legacy public IP only if Tailscale unavailablebin/claudemax-watchdog.shhttps://forge.alexanderwhitestone.combin/deadman-switch.shhttps://forge.alexanderwhitestone.comnostr-bridge/bridge_mvp.pyhttps://forge.alexanderwhitestone.comCommits:
ezra/ezra-environment@3d1d47btimmy-config@525ee1aThis issue is resolved.