Skip to content

Conversation

@ethanndickson
Copy link
Member

@ethanndicksonethanndickson commented Aug 6, 2025

I added this block of code as a convenience, during the time we were using a workaround for the XPC issue that involved deleting and reinserting the network extension when updated. This block of code meant the user didn't need to click back into the tray menu to get the VPN configuration prompt to appear, it would just appear as soon as necessary.

However, this introduces a race. If the app loads the VPN unconfigured view before the task that checks for an existing VPN configuration finishes (this task runs as part of applicationDidFinishLaunching), the user will be displayed the prompt to reconfigure, even if a valid configuration already exists.

Since we're not using the aforementioned workaround, this convenience is no longer necessary, and can be removed as the race is more likely to be an issue.

@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ethanndicksonethanndickson marked this pull request as ready for review August 6, 2025 09:12
@ethanndicksonethanndickson changed the title fix: avoid automatically reconfiguring vpn configfix: avoid automatically reconfiguring vpnAug 6, 2025
@ethanndicksonGraphite App
Copy link
MemberAuthor

ethanndickson commented Aug 6, 2025

Merge activity

  • Aug 6, 9:14 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Aug 6, 9:14 AM UTC: @ethanndickson merged this pull request with Graphite.

@ethanndicksonethanndickson merged commit de4b0e5 into mainAug 6, 2025
4 checks passed
@ethanndicksonethanndickson deleted the ethan/avoid-automatic-reconfigure branch August 6, 2025 09:14
Sign up for freeto 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

@ethanndickson@deansheather