Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HealthNotifier: prevent and drop all warnings in the Stopped state #575

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

agottardo
Copy link
Collaborator

Updates tailscale/tailscale#12960

When the client is Stopped after running, a false positive DERP warning was getting presented. This was not happening on Apple platforms because we never leave the client in a Stopped state, the extension instantly terminates. Since that's not the case on Android, this PR ensures that:

  • we do not present any warnings when the client is Stopped (nothing should be broken when nothing is running)
  • if we enter the Stopped state, any pre-existing warnings generated while the client was running are dropped

Updates tailscale/tailscale#12960

When the client is Stopped after running, a false positive DERP warnings was getting presented. This was not happening on Apple platforms because we never leave the client in a Stopped state, the extension instantly terminates. Since that's not the case on Android, this PR ensures that:

- we do not present any warnings when the client is Stopped (nothing should be broken when nothing is running)
- if we enter the Stopped state, any pre-existing warnings generated while the client was running are dropped

Signed-off-by: Andrea Gottardo <[email protected]>
@agottardo agottardo force-pushed the angott/drop-health-stopped branch from b3204d5 to 1d7c7f6 Compare November 26, 2024 20:10
@agottardo agottardo merged commit fda3820 into main Nov 26, 2024
4 checks passed
@agottardo agottardo deleted the angott/drop-health-stopped branch November 26, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants