Resolve Trunk Promotion Conflict
Nucleic-Session: 20A52F7E-A10D-4B59-B650-D3FD6BC3B46B Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -706,10 +706,12 @@ final class RemoteStore: ObservableObject {
|
||||
}
|
||||
|
||||
/// Map an `NWConnection` failure to a connectivity state the pairing/onboarding UI can act on.
|
||||
/// Only meaningful while we're still establishing the link; once `.connected`, a drop is the
|
||||
/// normal `.closed` → reconnect path's job.
|
||||
/// Only meaningful while we're still establishing the link; once connected, a drop is the
|
||||
/// normal `.closed` → reconnect path's job. And only when the connect chain has nothing
|
||||
/// left to try — a failed LAN probe about to fall back to the tailnet is routine, not news.
|
||||
private func handleTransportFailure(_ error: String) {
|
||||
guard connectivity != .connected else { return }
|
||||
guard !connectivity.isLive else { return }
|
||||
guard connectPlan?.remaining.isEmpty != false else { return }
|
||||
connectivity = .failed(Self.friendlyTransportError(error))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user