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

Prevents app updates from stopping the VPN. #3608

Merged
merged 3 commits into from
Nov 28, 2024

Conversation

diegoreymendez
Copy link
Contributor

@diegoreymendez diegoreymendez commented Nov 28, 2024

Task/Issue URL: https://app.asana.com/0/1207603085593419/1208865941226621/f

BSK PR: duckduckgo/BrowserServicesKit#1102
iOS PR: duckduckgo/iOS#3639

Description

Changes how the tunnel is restarted on app update so that it won't fail to start again..

Testing

The same steps provided here can be used to validate the original issue in main.

  1. You can just run the VPN app directly
  2. Connect to the VPN using the VPN app
  3. Run the VPN app again and see that it restarts correctly
  4. Repeat step 3 a bunch of times

Definition of Done:


Internal references:

Pull Request Review Checklist
Software Engineering Expectations
Technical Design Template
Pull Request Documentation

@diegoreymendez diegoreymendez self-assigned this Nov 28, 2024
@diegoreymendez diegoreymendez marked this pull request as ready for review November 28, 2024 13:15
@diegoreymendez diegoreymendez changed the title macOS VPN: App update causing tunnel to sometimes stop Prevents app updates from stopping the VPN. Nov 28, 2024
@diegoreymendez diegoreymendez requested review from samsymons and a team and removed request for samsymons and a team November 28, 2024 13:22
Copy link
Collaborator

@samsymons samsymons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works like a charm, the UX on updates is so much better now - thanks!

diegoreymendez added a commit to duckduckgo/BrowserServicesKit that referenced this pull request Nov 28, 2024
Task/Issue URL:
https://app.asana.com/0/1207603085593419/1208865941226621/f

iOS PR: duckduckgo/iOS#3639
macOS PR: duckduckgo/macos-browser#3608

What kind of version bump will this require?: Patch

## Description

Removes a duplicated step from the tunnel stop logic that was causing
some trouble in the logs.
@diegoreymendez diegoreymendez merged commit 03e2c6c into main Nov 28, 2024
20 checks passed
@diegoreymendez diegoreymendez deleted the diego/tunnel-restart-improvements branch November 28, 2024 22:24
diegoreymendez added a commit to duckduckgo/iOS that referenced this pull request Nov 28, 2024
Task/Issue URL:
https://app.asana.com/0/1207603085593419/1208865941226621/f

BSK PR: duckduckgo/BrowserServicesKit#1102
macOS PR: duckduckgo/macos-browser#3608

## Description

Removes a duplicated step from the tunnel stop logic that was causing
some trouble in the logs.
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