Skip to content

fix: reconnect port forwarding if pod is restarted (crw-11119)#314

Draft
adietish wants to merge 2 commits into
redhat-developer:mainfrom
adietish:crw-11119
Draft

fix: reconnect port forwarding if pod is restarted (crw-11119)#314
adietish wants to merge 2 commits into
redhat-developer:mainfrom
adietish:crw-11119

Conversation

@adietish

@adietish adietish commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai

coderabbitai Bot commented Jun 4, 2026

Copy link
Copy Markdown

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: c10b0748-4ff1-41e3-9c52-90ae143fe8d0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

codecov-commenter commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 43.43122% with 366 lines in your changes missing coverage. Please review.
✅ Project coverage is 27.17%. Comparing base (71098f6) to head (2412ccf).
⚠️ Report is 358 commits behind head on main.

Files with missing lines Patch % Lines
...com/redhat/devtools/gateway/DevSpacesConnection.kt 4.57% 163 Missing and 4 partials ⚠️
...hat/devtools/gateway/openshift/DevWorkspacePods.kt 68.11% 12 Missing and 10 partials ⚠️
...com/redhat/devtools/gateway/ThinClientReconnect.kt 81.05% 9 Missing and 9 partials ⚠️
...dhat/devtools/gateway/util/ProgressCancellation.kt 48.57% 17 Missing and 1 partial ⚠️
...redhat/devtools/gateway/ForwardRecoveryProgress.kt 51.42% 13 Missing and 4 partials ⚠️
...auth/OpenShiftCredentialsAuthenticationStrategy.kt 0.00% 15 Missing ⚠️
.../redhat/devtools/gateway/PortForwardPodResolver.kt 64.86% 10 Missing and 3 partials ⚠️
...view/steps/auth/RedHatSSOAuthenticationStrategy.kt 0.00% 13 Missing ⚠️
...steps/auth/OpenShiftOAuthAuthenticationStrategy.kt 0.00% 12 Missing ⚠️
.../redhat/devtools/gateway/server/RemoteIDEServer.kt 76.31% 6 Missing and 3 partials ⚠️
... and 12 more
Additional details and impacted files
@@            Coverage Diff             @@
##            main     #314       +/-   ##
==========================================
+ Coverage   0.00%   27.17%   +27.17%     
==========================================
  Files          4      111      +107     
  Lines         26     4619     +4593     
  Branches       0      868      +868     
==========================================
+ Hits           0     1255     +1255     
- Misses        26     3188     +3162     
- Partials       0      176      +176     

☔ View full report in Codecov by Harness.
📢 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.

@adietish adietish force-pushed the crw-11119 branch 8 times, most recently from f0d35ec to 404a163 Compare June 23, 2026 20:50
adietish and others added 2 commits June 24, 2026 17:57
Signed-off-by: Andre Dietisheim <adietish@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
coroutineScope waited for launchCancelWatcher to exit; progress stayed
open until the user cancelled. Stop the watcher when auth completes.

Signed-off-by: Andre Dietisheim <adietish@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants