Skip to content

add ExponentialBackoff when waiting for the server to be ready & refactored RemoteIDEServer - #375

Open
adietish wants to merge 2 commits into
redhat-developer:mainfrom
adietish:wait-exp-backoff
Open

add ExponentialBackoff when waiting for the server to be ready & refactored RemoteIDEServer#375
adietish wants to merge 2 commits into
redhat-developer:mainfrom
adietish:wait-exp-backoff

Conversation

@adietish

@adietish adietish commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai

coderabbitai Bot commented Sep 4, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Team

Run ID: 7873206d-3a88-4eb5-9f71-ffa10a9b761d


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

@codecov-commenter

codecov-commenter commented Sep 4, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 84.84848% with 10 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.73%. Comparing base (71098f6) to head (e1f97fc).
⚠️ Report is 434 commits behind head on main.

Files with missing lines Patch % Lines
...evtools/gateway/server/RemoteIDEServerReadiness.kt 82.35% 5 Missing and 4 partials ⚠️
.../redhat/devtools/gateway/server/RemoteIDEServer.kt 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##            main     #375       +/-   ##
==========================================
+ Coverage   0.00%   38.73%   +38.73%     
==========================================
  Files          4      123      +119     
  Lines         26     5324     +5298     
  Branches       0     1023     +1023     
==========================================
+ Hits           0     2062     +2062     
- Misses        26     2982     +2956     
- Partials       0      280      +280     

☔ 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 and others added 2 commits September 7, 2026 11:53
…992)

Introduce a reusable backoff helper that doubles delays from 500ms up to
a 5s cap, with reset support for retry loops.

Co-authored-by: Cursor <cursoragent@cursor.com>
…(CRW-12992)

Move wait/refresh/backoff logic into RemoteIDEServerReadiness so polling
behavior is testable in isolation while RemoteIDEServer keeps K8s concerns.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants