Skip to content

Generate matching load-balancing rpc wrappers - #11877

Draft
dnr wants to merge 2 commits into
temporalio:mainfrom
dnr:genlbwrappers
Draft

Generate matching load-balancing rpc wrappers#11877
dnr wants to merge 2 commits into
temporalio:mainfrom
dnr:genlbwrappers

Conversation

@dnr

@dnr dnr commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

What changed?

Add logic to generate matching client load-balancing rpc and metrics wrappers in genrpcwrappers, replacing the manually-maintained versions.

The only functional change is that more of the request messages are shallow-cloned than before (the manual code used CloneProto for convenience, but generated code can shallow-clone without risking forgetting new fields).

Why?

Improve consistency and maintainability. Makes it easier to add new load-balancing rpcs.

How did you test it?

  • built
  • run locally and tested manually
  • covered by existing tests
  • added new unit test(s)
  • added new functional test(s)

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.

1 participant