Skip to content

chore: dont stop coder connect on device sleep #151

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 1 commit into from
May 8, 2025

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented May 7, 2025

Closes #88.

With coder/internal#563 resolved, there's no need to stop the VPN on sleep, as when the device wakes the tunnel will have the correct workspace & agent state.

However, if the Coder deployment doesn't include the patch in coder/coder#17598 (presumably v2.23 or later), the UI state will go out of sync when the device is slept or internet connection is lost. I think this is fine honestly, and I don't think it's worth doing a server version check to determine whether we should stop the VPN on sleep.

Copy link
Member Author

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

@ethanndickson ethanndickson changed the title chore: dont stop vpn on device sleep chore: dont stop coder connect on device sleep May 7, 2025
@ethanndickson ethanndickson marked this pull request as ready for review May 7, 2025 02:57
Copy link
Member Author

ethanndickson commented May 8, 2025

Merge activity

  • May 7, 11:35 PM EDT: A user started a stack merge that includes this pull request via Graphite.
  • May 7, 11:35 PM EDT: @ethanndickson merged this pull request with Graphite.

@ethanndickson ethanndickson merged commit f039526 into main May 8, 2025
4 checks passed
@ethanndickson ethanndickson deleted the ethan/dont-stop-vpn-on-sleep branch May 8, 2025 03:35
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.

Further improve device wake & sleep handling
2 participants