Cloud Connector status: Parse host and port from service URL
What does this MR do and why?
This change ensures that we do not hard-code the service port in Cloud Connector health checks. This allows developers to point their instance to an HTTP service locally.
Previously, the health check would try to dial a local HTTP server on port 443 instead, which would always fail
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Run the AI gateway on port 5000 (for example)
- Set
CLOUD_CONNECTOR_BASE_URL=http://localhost:5000
- Go to
/admin/code_suggestions
andRun health check
- The host probe for Cloud Connector should not fail anymore (the code completion check might still fail for other reasons)
Related to #474993 (closed)