mirror of
https://github.com/tailscale/tailscale.git
synced 2026-12-01 14:12:32 -08:00
authRoutine reported login attempts canceled by a pause, shutdown or new login, such as when LocalBackend is restarting, to the health tracker. A cancelation is either irrelevant, or it replaces an earlier error and masks a real issue. Don't report errors once the attempt's context is done, as is already the case for status updates. login-state is then unhealthy only when logging in to the control plane fails, so mark it as impacting connectivity. Among other things, that lets it trigger captive portal detection. Updates #12991 Updates #20078 Updates #18116 Updates #13378 Updates #1634 Updates tailscale/corp#27985 Updates #12701 Updates #14126 Signed-off-by: Nick Khyl <[email protected]>