Skip to content

Jetbrains Gateway cannot connect after 3.5h IDLE period #148

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

vrubezhny
Copy link
Collaborator

@vrubezhny vrubezhny commented Aug 1, 2025

When the DevSpaces WS isn't started or ready, this PR starts the WS and waits for its readiness before starting the Remote IDE Client:

cold-start_spedup.mp4

In some cases the Remote IDE Server cannot correctly process requests (status/stop) - usually when this happens we have no other option to recover, but the full DevSpaces Pod restart. so. with this PR, the User is asked to restart and if agreed, the DevSpaces Pod gets terminated and then restarted, which in its turn makes the Remote IDE server to correctly start:

remote-ide-not-responsive_spedup.mp4

Fixes eclipse-che/che#23485

@vrubezhny vrubezhny requested a review from azatsarynnyy as a code owner August 1, 2025 15:11
@vrubezhny vrubezhny requested review from adietish and azatsarynnyy and removed request for azatsarynnyy August 1, 2025 15:11
@codecov-commenter
Copy link

codecov-commenter commented Aug 1, 2025

Codecov Report

❌ Patch coverage is 0% with 163 lines in your changes missing coverage. Please review.
✅ Project coverage is 0.00%. Comparing base (71098f6) to head (7dd1828).
⚠️ Report is 184 commits behind head on main.

Files with missing lines Patch % Lines
...com/redhat/devtools/gateway/DevSpacesConnection.kt 0.00% 93 Missing ⚠️
...redhat/devtools/gateway/openshift/DevWorkspaces.kt 0.00% 28 Missing ⚠️
...t/devtools/gateway/server/RemoteIDEServerStatus.kt 0.00% 13 Missing ⚠️
.../redhat/devtools/gateway/server/RemoteIDEServer.kt 0.00% 12 Missing ⚠️
...at/devtools/gateway/DevSpacesConnectionProvider.kt 0.00% 9 Missing ⚠️
.../redhat/devtools/gateway/openshift/DevWorkspace.kt 0.00% 8 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##            main    #148    +/-   ##
======================================
  Coverage   0.00%   0.00%            
======================================
  Files          4      25    +21     
  Lines         26     990   +964     
  Branches       0     153   +153     
======================================
- Misses        26     990   +964     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@vrubezhny vrubezhny force-pushed the fix-cannot-connect-when-idle branch from 3247d8d to 86b4d42 Compare August 2, 2025 09:58
@vrubezhny vrubezhny force-pushed the fix-cannot-connect-when-idle branch from 86b4d42 to 7dd1828 Compare August 2, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Jetbrains Gateway cannot connect after 3.5h IDLE period
2 participants