-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Enable VS Code Desktop for stable VS Code Web #5599
Conversation
2f069ca
to
1ffefe5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @akosyakov!
Auth page | Output logs |
---|---|
It works. My only comment is that the window |
I think it is a minor and can be addressed later. But please file an issue. 🙏 |
1ffefe5
to
77593cc
Compare
@rl-gitpod When a user clicks gitpod/components/server/src/oauth-server/oauth-controller.ts Lines 54 to 58 in 757a159
Updated: we switched to 127.0.0.1 instead of localhost for security reasons in #4267, but did not updated the server code. ✅ |
Codecov Report
@@ Coverage Diff @@
## main #5599 +/- ##
==========================================
- Coverage 19.39% 19.04% -0.35%
==========================================
Files 2 2
Lines 165 168 +3
==========================================
Hits 32 32
- Misses 131 134 +3
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Now it tries to auth again and again if a user cancelled, we need a way to communicate it to the extension that it stops. |
f9ad70c
to
9c4bd51
Compare
@gtsiolis Could you update Gitpod extension in your local VS Code and try again both scenarios? |
Looking at this now! 👀 |
/werft run 👍 started the job as gitpod-build-ak-stable-code-desktop.13 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akosyakov Flawless! 🔮
CANCEL
on the auth page also stopped the local companion app and I was able to retry and successfully authorize. ✔️
Three (3) minor observations:
- On the first run when the local companion app starts up it takes 15-20 seconds to create the new remote connection. Next workspaces connect instantly. Expected?
- The local companion app process remains up and running even if you stop the workspace, close the remote connection, or terminate VS Code. Expected?
- I get two distinct local companion app processes for VS Code and VS Code Insiders but that's probably expected, right?
Unfortunately, yes. Since VS Code Remote Development has to provision VS Code Server into a Gitpod workspace. Depending on your internet connection it can take a while. Alternatively we could reuse already running by us server, but that is not really aligned with existing users expectations and quite a different approach, see https://gitpod.slack.com/archives/C01KGM9DVRC/p1631077187068000 (internal link)
It is expected, since it is a daemon which is reused across all VS Code sessions and Gitpod workspaces.
In future we maybe be able to do something about it, like discover running daemons via the special file, like suggested here for instance: #5602 |
/approve no-issue |
/assign @csweichel @JanKoehnlein Could you approve please to merge it? |
/approve no-issue |
LGTM label has been added. Git tree hash: ac0a77f821aac4b516e021338de7df44b6b02a61
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akosyakov, JanKoehnlein Associated issue requirement bypassed by: akosyakov, JanKoehnlein The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Description
How to test
Release Notes