Skip to content

fix(gorouter): hash_balance as string (partial revert of #535) - #586

Merged
hoffmaen merged 1 commit into
developfrom
fix-gorouter-hash-balance-as-string-new
Sep 14, 2026
Merged

hoffmaen merged 1 commit into
developfrom
fix-gorouter-hash-balance-as-string-new

Conversation

@b1tamara

@b1tamara b1tamara commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR

Backward Compatibility

Breaking Change?

No, fixes (unintended?) breaking change.

See #585

@b1tamara
b1tamara requested a review from a team as a code owner September 14, 2026 10:28
hoffmaen
hoffmaen previously approved these changes Sep 14, 2026
Since v0.386.0, gorouter fails to unmarshal `router.register` NATS messages for any route configured with hash-based load balancing (`loadbalancing: hash`) that includes a `hash_balance` factor.
The message is rejected as a validation error and dropped, so the endpoint is never registered.
The route becomes unreachable (404 / stale until TTL expiry) even though the app and the registration message are healthy.

This restores the old parsing.

Co-authored-by: Alexander Nicke <alexander.nicke@sap.com>
@b1tamara
b1tamara force-pushed the fix-gorouter-hash-balance-as-string-new branch from 5fb52d1 to 3bbe816 Compare September 14, 2026 12:04
@hoffmaen
hoffmaen merged commit 66456d8 into develop Sep 14, 2026
1 check passed
@hoffmaen
hoffmaen deleted the fix-gorouter-hash-balance-as-string-new branch September 14, 2026 12:29
@github-project-automation github-project-automation Bot moved this from Pending Merge | Prioritized to Done in Application Runtime Platform Working Group Sep 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants