Skip to content

chore: dont stop coder connect on device sleep - #151

Merged
ethanndickson merged 1 commit into
mainfrom
ethan/dont-stop-vpn-on-sleep
May 8, 2025
Merged

ethanndickson merged 1 commit into
mainfrom
ethan/dont-stop-vpn-on-sleep

Conversation

@ethanndickson

@ethanndickson ethanndickson commented May 7, 2025 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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

ethanndickson commented May 8, 2025 •

Copy link
Copy Markdown
Member Author

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.

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