Skip to content

Improve healthcheck command to inform about connectivity statuses for both proxy and server#599

Merged
sfc-gh-ksmogor merged 6 commits intomainfrom
improve-healthcheck-command-to-inform-about-connectivity-statuses-for-both-proxy-and-server
Oct 3, 2025
Merged

Improve healthcheck command to inform about connectivity statuses for both proxy and server#599
sfc-gh-ksmogor merged 6 commits intomainfrom
improve-healthcheck-command-to-inform-about-connectivity-statuses-for-both-proxy-and-server

Conversation

@sfc-gh-ksmogor
Copy link
Copy Markdown
Collaborator

To improve troubleshooting I decorated connectivity errors between proxy and target. It is a little bit messy, but shows more explicitly that error is related to latter connection stage.
It cannot be done better (at least I think so) because of error handling design. We want service creators to handle errors and at the same time services cannot distinghuish between proxy and non-proxy connectivity (by design).
To improve this solution custom error structure should be sent between nodes on the protocol layer and service will still only receive well formatted string (golang err) to handle.

@sfc-gh-ksmogor sfc-gh-ksmogor merged commit 8f67d19 into main Oct 3, 2025
6 checks passed
@sfc-gh-ksmogor sfc-gh-ksmogor deleted the improve-healthcheck-command-to-inform-about-connectivity-statuses-for-both-proxy-and-server branch October 3, 2025 14:01
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