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: start coder connect on launch after SE is installed#113

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/only-start-when-ready
Mar 19, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndicksonethanndickson commentedMar 19, 2025
edited
Loading

This is a fix for#108. Previously we would start the VPN immediately on launch if the config option was true. This starting of the VPN raced with any concurrent upgrades of the network extension, causing the VPN to be started with a VPN config belonging to the older network extension, and producing a consistent error message:
image

Instead, we should only start the VPN once we know that the system extension and VPN configuration are installed.

@ethanndicksonGraphite App
Copy link
MemberAuthor

ethanndickson commentedMar 19, 2025
edited
Loading

Comment on lines +82 to +85
deinit {
NotificationCenter.default.removeObserver(self)
}

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Drive-by fix: this was on the wrong class, though that wasn't causing any issues.

Comment on lines +110 to +115
try Mock(
url: url.appendingPathComponent("/api/v2/users/me"),
statusCode: 200,
data: [.get: Client.encoder.encode(User(id: UUID(), username: "username"))]
).register()

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Drive-by fix: We need to mock this route as the token is validated before the server version.

@ethanndicksonethanndickson marked this pull request as ready for reviewMarch 19, 2025 03:06
@ethanndicksonethanndickson self-assigned thisMar 19, 2025
@ethanndicksonGraphite App
Copy link
MemberAuthor

ethanndickson commentedMar 19, 2025
edited
Loading

Merge activity

  • Mar 19, 3:48 AM EDT: A user started a stack merge that includes this pull request viaGraphite.
  • Mar 19, 3:49 AM EDT: A user merged this pull request withGraphite.

@ethanndicksonethanndickson merged commit111b30c intomainMar 19, 2025
4 checks passed
@ethanndicksonethanndickson deleted the ethan/only-start-when-ready branchMarch 19, 2025 07:49
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ThomasK33ThomasK33ThomasK33 approved these changes

@deansheatherdeansheatherdeansheather approved these changes

Assignees

@ethanndicksonethanndickson

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@ethanndickson@ThomasK33@deansheather

[8]ページ先頭

©2009-2025 Movatter.jp