che icon indicating copy to clipboard operation
che copied to clipboard

Handle idling in VS Code correctly instead of attempting to reconnect in x seconds

Open l0rd opened this issue 3 years ago • 1 comments

Is your enhancement related to a problem? Please describe

Today if a VS Code workspace is idled the users sees a connection error with a timer that tries to reconnect every x seconds.

image

It's only after refreshing the web page that the user gets redirected to the page that informs about what happened:

image

Describe the solution you'd like

VS Code should able to detect that the workspace has been idled and should prompt the user:

your-dev-env-has-been-stopped

Note that the workspace can be stopped for multiple reason and we should show a different message each time: https://github.com/eclipse-che/che-dashboard/pull/595

Additional Context

This is a follow up of https://github.com/eclipse/che/issues/20599 and the important PRs provided by @dkwon17

l0rd avatar Aug 04 '22 12:08 l0rd

cc @ibuziuk @dkwon17 @azatsarynnyy

l0rd avatar Aug 04 '22 13:08 l0rd

Moving this issue to milestone 7.60.

l0rd avatar Jan 05 '23 13:01 l0rd

The PR is ready for review: https://github.com/che-incubator/che-code/pull/163

RomanNikitenko avatar Jan 17 '23 12:01 RomanNikitenko

sync'd to Red Hat JIRA https://issues.redhat.com/browse/CRW-3896

  • https://github.com/che-incubator/che-code/pull/163

devstudio-release avatar Feb 03 '23 00:02 devstudio-release

From https://github.com/eclipse/che/issues/22287, it seems became relevant again.

azatsarynnyy avatar Jun 28 '23 16:06 azatsarynnyy