-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Unclear how to run cells if in serverless untrusted workspace and trying to connect to remote server #151156
Comments
Need to have better control over what message is displayed when viewing a notebook using vscode.dev. Users can use pyodide, or connect to remote jupyter servers, in addition to codespaces. |
@greazer to clarify, the main pain point I have here is that the command to specify a Jupyter server shouldn't be hidden in an untrusted workspace if that is the entrypoint that users are looking for. In the same vein, the debug view is not hidden in an untrusted workspace, but if you attempt to launch + debug in restricted mode you get this dialog |
Not sure how this experience is expected to work - why can't I connect to the remote in an untrusted workspace, then when I try to run a cell, I will be prompted to trust the workspace, like usual? Besides that, currently there are no kernels contributed in web, whether or not the workspace is trusted, and the "Select kernel" button is hidden. Why do we hide it, is that something we hardcoded for web? @rebornix In the future, I think I will also see the "Github" or other option for lazy kernel appear. If there is something in that list, then the normal behavior for the run button will kick in - you click it and trigger vscode core's run command which asks you to trust the workspace, then pick a kernel. But if lazy kernels aren't available, we probably want to still push them towards codespaces with "continue on" |
That is how it works now |
Testing microsoft/vscode-jupyter#10183
In restricted mode, I don't see the command to specify a Jupyter server, and if I click the run button I get this message (which maybe RemoteHub shouldn't contribute anymore? cc @roblourens)
Wondering if we want to show the command in the palette in restricted mode, but request workspace trust when it's invoked. Not sure if this has been discussed before so please forgive me if I'm rehashing an existing discussion.
The text was updated successfully, but these errors were encountered: