Skip to content

chore: cherry-pick coder desktop + corporate vpn fixes for 2.24 #19177

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

Merged
merged 7 commits into from
Aug 6, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Aug 5, 2025

This backports the coder/coder fixes for coder/coder-desktop-windows#147 and coder/coder-desktop-macos#201 to v2.24, and fixes a bug where Coder Desktop logs were duplicated on Windows.

  1. ci: conditionally disable spotlight indexing #19124 (c64b3c0d8327edbfad4cc7bc373bdb873cd7e26b)
    • Required for CI to pass.
  2. ci: bump xcode version to 16.1.0 #19125 (9f2dc72d9a3d9feecf28bc30cd1234394a0e5c37)
    • Required for CI to pass.
  3. ci: set valid xcode version in release script #19143 (914daac2dcf700817d4ae248a6e8014f64654fe7)
    • Required for CI to pass.
  4. chore: add support for tailscale soft isolation in VPN #19023 (618121cba39833db7c1ca4653d7ce7745d5aff57)
  5. chore: remove soft isolation configurability #19069 (ba0b124a1daaddde590f5839afebe803330981be)
  6. fix: avoid duplicating logs on Coder Connect Windows #19052 (19171e27c9624c435f97d4ae5e3b61c649bc7063)
    • Avoid duplicating logs on Coder Desktop Windows
  7. chore: add vpn-daemon run command for macos #19080 (18b037d0086cd6eca11e6180b36a302badaa5a5f)
    • Updates coder/tailscale reference, lets Coder Desktop macOS use the slim binary to run Coder Connect.

I've tested my latest build of Coder Desktop against a Coder server running this branch, just as a sanity check.

johnstcn and others added 7 commits August 5, 2025 09:11
Work around for following issue:
```
Run sudo mdutil -a -i off
  sudo mdutil -a -i off
  sudo mdutil -X /
  sudo launchctl bootout system /System/Library/LaunchDaemons/com.apple.metadata.mds.plist
  shell: /bin/bash -e {0}
4 files/directories removed
Boot-out failed: 5: Input/output error
```

This can happen if spotlight has already been disabled.
16.0.0 was yanked from the macOS runners, so this will likely need cherry picking into the upcoming release branch.

We've already checked everything builds fine on #19125.

In a few releases we'll stop building the dylib and also therefore remove xcode as a dependency on coder/coder altogether.
Undoes a lot of the changes in 5319d47

Keeps the `netns.SetCoderSoftIsolation()` call, but always sets it to
`true` when using a TUN device.
The sinks are already added to the logger above, so they're just getting duplicated
Continues to address coder/coder-desktop-macos#201

Identical to the windows command, except we don't write to stdio. We're retaining the system we have for logging on macOS, where we push logs over the tunnel and use the OS logger. 

I've tested that a build with this command works end-to-end with my new version of Coder Desktop macOS.

Also brings in the soft net isolation changes from `main` of coder/tailscale.

This comment was marked as outdated.

@ethanndickson ethanndickson changed the title Cherry-pick Coder Desktop + Corporate VPN fixes for 2.24 chore: cherry-pick coder desktop + corporate vpn fixes for 2.24 Aug 5, 2025
@ethanndickson ethanndickson merged commit bc502b5 into release/2.24 Aug 6, 2025
64 of 66 checks passed
@ethanndickson ethanndickson deleted the ethan/2.24-coder-desktop-cherrypicks branch August 6, 2025 03:11
@github-actions github-actions bot locked and limited conversation to collaborators Aug 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants