-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Extensions not loaded the first time a remote workspace is trusted (when Azure ML ext is installed) #128573
Comments
@sbatten @lszomoru why doesn't the Azure ML extension get activated right away here, I'm not sure what's different about it. Is it because the capabilities section isn't filled out? https://code.visualstudio.com/api/extension-guides/workspace-trust#onboarding You could see if that makes a difference @sevillal |
I was able to reproduce the issue and I will reach out to @sandy081 in order to track down the issue. |
@sandy081 and myself have looked at this and there indeed seems to be a problem when the
|
Hey @lszomoru, |
Am I correct in understanding that the issue is resolved by adding untrusted workspace support to the package.json |
@sbatten that's correct. |
@lszomoru couple of questions?
|
@sevillal Here is what you need to do in the
The current version of vscode has a bug where your |
@alexdima I tried the above changes but it fails when the main extension (ms-toolsai.vscode-ai) tries to use the api of the remote extension (ms-toolsai.vscode-ai-remote). I think the problem might be the "api": "none". So our workflow would be:
|
@sevillal Thank you for the extra info. I am really sorry, but I am afraid you have ended up taking a dependency on a vscode bug. As it is right now, the Here is what you can do to avoid having an api dependency:
An alternative would be to change the extension kind of |
@sevillal Did you have a chance to try this? |
@alexdima sorry I was off for some days. I have tried your suggestion of using commands (instead of calling the extension API directly) and that seems to work. I am curious about the following:
|
@alexdima @lszomoru I was testing how other extensions behave with Remote SSH and found the following:
The issue we have faced with users is that they don't have any sort of indication that the reload is required until they go to the extensions tab. Shouldn't VS Code show a notification that reload is required or reload after the workspace is trusted? |
This is great! Please let me know when these changes are published, such that I can fix things on our side (better enforce that an extension can be at most activated once).
In this situation, the first time a user connects to such a remote, the user will have locally the @lszomoru ⬆️ Please see above comment |
…ionKind defined in the local extension over the remote extension in case they disagree (#128573)
@lszomoru do you have any comment in regard to #128573 (comment) |
@sevillal, sorry for the delay in getting back to you on this. Trusting a workspace should enable all extensions that were disabled due to their workspace trust requirement without the need to reload the window. I will take a look at this first thing tomorrow morning and update the issue with my findings. |
@sevillal, I have tried to reproduce the behaviour that you have described with the latest |
@lszomoru I was testing in latest stable, sorry about that. I tested latest insider and seems to be working fine. Is there any tentative date for the next vscode release with this fix? Thanks! |
We are wrapping up the September endgame this week, so we expect the next Stable release to happen in the second half of next week. |
Issue Type: Bug
Expected: Python extension gets loaded and you can run the file using pyhton extension
Failure: Python extension is not loaded and its commands are not found
Findings
VS Code version: Code - Insiders 1.59.0-insider (807dfb8, 2021-07-13T09:24:20.727Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No
Remote OS version: Linux x64 4.15.0-1098-azure
System Info
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (9)
A/B Experiments
The text was updated successfully, but these errors were encountered: