microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
321 stars 91 forks source link

[Error UX Improvements]: "The Compute Instance is not in a running state" #2388

Open tbombach opened 3 weeks ago

tbombach commented 3 weeks ago

Let's improve the error message experience when users encounter this error. The ideal experience is actionable and specific to minimize friction for users. For example, a user could press a button in the error dialog to fix the issue. Or they could have a link that takes them directly to documentation for a complex issue. If they need to navigate to the Studio, we could provide a link to direct them to the right UI/tab as much as possible.

Context: We queried the compute instance properties endpoint and the RunStatus is not Running (pre-req for connecting). The user may have auto shutdown policies or manually shut off the compute

Screenshots/doc: https://microsoft-my.sharepoint-df.com/:w:/p/tbombach/EQr8lflQzDJKpspWiDV3N6MBKSlgeItWDYrj_o5v-oITcA?e=u3Q27x

Steps:

yaoleo34 commented 1 week ago

Looks good so far! A couple questions and comments: