Files
tailscale/control/controlclient
Nick Khyl 00a8cd1ef2 control/controlclient,health: report login errors as impacting connectivity
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]>
2026-11-30 18:09:32 -08:00
..