Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix: VSCode desktop connection #7120

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 23 commits into from
Apr 14, 2023
Merged

fix: VSCode desktop connection #7120

merged 23 commits into from
Apr 14, 2023

Conversation

matifali
Copy link
Member

@matifali matifali commented Apr 13, 2023

This PR fixes an issue with VS Code Desktop connection when the URI becomes invalid if the dir in coder_agent resource is not an absolute path or does not start with ~.

Fixes coder/vscode-coder#80

Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

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

Nice find! We should probably add a unit test for this change though.

See here:

func TestAgent_Startup(t *testing.T) {

We should probably also document this in docs/template/open-in-coder.md.

@matifali matifali requested a review from johnstcn April 14, 2023 03:55
@matifali matifali requested a review from mafredri April 14, 2023 08:17
@matifali matifali requested a review from mafredri April 14, 2023 09:07
Copy link
Member

@mafredri mafredri left a comment

Choose a reason for hiding this comment

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

LGTM, nice work!

Co-authored-by: Mathias Fredriksson <[email protected]>
@matifali matifali merged commit bb43713 into coder:main Apr 14, 2023
@matifali matifali deleted the vscode-path branch April 14, 2023 14:32
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2023
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.

bug: folder URI parameter with relative path fails to open silently
4 participants