Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(pkgbuild): dont start coder connect after upgrade#150

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
ethanndickson merged 1 commit intomainfromethan/dont-start-vpn-after-upgrade
May 8, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedMay 7, 2025
edited
Loading

As part of my work on#121 and trying to reproduce the behaviour in a VM, I discovered the issue consistently occurs if the VPN is running when the app is launched (as the network extension is replaced on upgrade).

The existing pkgbuild scripts don't account for the VPN running with the app closed.
In this scenario thepreinstall script creates a marker file saying the VPN should be started in thepostinstall. A marker file saying the app is running is not created.
Then, in thepostinstall the VPN is started, but not the app. When the user does launch the app, the network extension is upgraded whilst the VPN is running, and the linked issue occurs.

It's not possible to write a bash script that waits for not only the app to launch, but for the network extension replacement request to be sent and handled.
However, we already do this in Swift code. IfStart Coder Connect on launch is toggled on, the VPN won't be started until it is absolutely safe to do so.
image

Therefore, we'll remove the portion of the pkgbuild scripts responsible for turning the VPN on after upgrade. If users want this behaviour, they can just toggle it on in settings.

matifali reacted with thumbs up emoji
@ethanndicksonGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed byGraphite. Learn more aboutstacking.

@ethanndicksonethanndickson changed the titlefix(pkgbuild): dont start connect after upgradefix(pkgbuild): dont start coder connect after upgradeMay 7, 2025
@ethanndicksonethanndickson marked this pull request as ready for reviewMay 7, 2025 02:33
@ethanndicksonGraphite App
Copy link
MemberAuthor

ethanndickson commentedMay 8, 2025
edited
Loading

Merge activity

  • May 7, 11:31 PM EDT: A user started a stack merge that includes this pull request viaGraphite.
  • May 7, 11:31 PM EDT:@ethanndickson merged this pull request withGraphite.

@ethanndicksonethanndickson merged commit31bdfa5 intomainMay 8, 2025
4 checks passed
@ethanndicksonethanndickson deleted the ethan/dont-start-vpn-after-upgrade branchMay 8, 2025 03:31
@ethanndicksonethanndickson self-assigned thisMay 23, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ibetitsmikeibetitsmikeibetitsmike approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@ethanndickson@ibetitsmike

[8]ページ先頭

©2009-2025 Movatter.jp