Skip to content
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

fix: improve ssh config logic when workspaces change #59

Merged
merged 2 commits into from
Apr 2, 2025

Conversation

fioan89
Copy link
Collaborator

@fioan89 fioan89 commented Apr 2, 2025

  • previously, ssh reconfiguration was triggered only when new workspaces were added, and
    the ssh config was generated only with the additional environments removing the configuration
    for the previous ones. This means that when a new workspace is created from the web dashboard,
    the old workspaces are no longer accessible via ssh from Toolbox

  • now, the logic ensures ssh reconfiguration happens whenever the set of environments changes
    (including additions or removals), making it more robust, and configuration happens for all
    valid workspaces.

  • resolves Can't connect to an existing and running workspace after a new one was created from the web dashboard #14

fioan89 added 2 commits April 2, 2025 22:09
- previously, ssh reconfiguration was triggered only when new workspaces were added, and
  the ssh config was generated only with the additional environments removing the configuration
  for the previous ones. This means that when a new workspace is created from the web dashboard,
  the old workspaces are no longer accessible via ssh from Toolbox
- now, the logic ensures ssh reconfiguration happens whenever the set of environments changes
  (including additions or removals), making it more robust, and configuration happens for all
  valid workspaces.

- resolves #14
@fioan89 fioan89 requested review from matifali and bcpeinhardt April 2, 2025 19:46
@fioan89 fioan89 merged commit 2ce2aa1 into main Apr 2, 2025
5 checks passed
@fioan89 fioan89 deleted the fix-cant-connect-to-workspace branch April 2, 2025 19:59
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.

Can't connect to an existing and running workspace after a new one was created from the web dashboard
2 participants