microsoft / vscode-jupyter

VS Code Jupyter extension
https://marketplace.visualstudio.com/items?itemName=ms-toolsai.jupyter
MIT License
1.28k stars 286 forks source link

store remote jupyter server list per host #14949

Open TTTPOB opened 9 months ago

TTTPOB commented 9 months ago

Reason for Request:

As a user working across 3 different High-Performance Computing (HPC) platforms provided by my school, I encounter a workflow issue with the VSCode Remote SSH extension and Jupyter server management. My typical workflow is as follows:

  1. Connect to the HPC management node using VSCode's Remote SSH extension.
  2. Submit a job that invokes a Jupyter server on a computation node, granting me access to GPU resources.
  3. Open a Jupyter notebook and connect to the Jupyter server I just launched on the computation node to begin my work.

However, I've observed that the list of Jupyter remote servers seems to be stored locally across all environments. For instance, the remote server from HPC1 appears on HPC2 and also on my local laptop's VSCode. This is problematic and confusing because Jupyter servers are not accessible outside their host HPC environment.

Suggested Feature:

To resolve this confusion and enhance user experience, I propose adding an option to manage where Jupyter remote server entries are stored:

This feature would significantly streamline workflows for users like me who operate across multiple HPC environments, reducing confusion and improving efficiency by ensuring that Jupyter server lists are relevant to their specific environment and accessible status.

DonJayamanne commented 5 months ago

This would probably need to be a setting, as this woudl break existing users.