You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: watch tunnel progress at runtime and fail fast on mid-session breakage
Setup-time progress checks aren't enough. Today's failure mode: a tunnel
came up cleanly, ran for ~9 minutes, then the iroh DNS controller
re-reconciled and flipped IrohDNSPublished from True back to False
because a deleted Connector's DNS claim was never cleaned up server-side.
The data plane went dark while the CLI kept reporting healthy — Ready
was still True, the heartbeat was still renewing the lease, and there
was no client-side signal that anything had changed.
Poll progress every 10s alongside the existing login-state watch.
When terminal_failure() trips (currently IrohDNSPublished=False with
reason DeferredToOwner), print the same message the setup path emits and
break out of the run loop cleanly so the operator gets disable+cleanup
instead of a silent zombie. Tunnel-deleted-from-under-us also breaks
out; transient poll errors only warn and retry.
Factor the failure message into format_terminal_failure() so setup-time
and runtime emit identical wording — the user shouldn't have to learn
two error shapes for the same diagnosis.
0 commit comments