Skip to content

Conversation

@jmaeagle99
Copy link
Contributor

What was changed

  • Added support for binary metadata headers for gRPC calls in the C bridge
  • Unified the data format used for ASCII headers and binary headers to use GrpcMetadataRef across the C bridge.
  • Added a test to validate that ascii and binary headers are properly passed to the RPC handler.

Why?

Tonic will return errors if binary headers are passed in as ASCII headers. Add support for passing binary headers and ensure they are combined together appropriately for gRPC requests.

Checklist

  1. Closes [Feature Request] Ensure gRPC binary metadata headers are supported in C bridge #991

  2. How was this tested: Add tests to verify header passing

  3. Any docs updates needed? Not sure

@jmaeagle99 jmaeagle99 requested a review from a team as a code owner December 10, 2025 00:08
Copy link
Member

@cretz cretz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great to me, but may want @Sushisource's approval before merging. Also, could develop the .NET SDK aspect with your branch as the submodule to confirm this does what is needed before merging.

Copy link
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good to me!

@jmaeagle99
Copy link
Contributor Author

Looks great to me, but may want @Sushisource's approval before merging. Also, could develop the .NET SDK aspect with your branch as the submodule to confirm this does what is needed before merging.

Absolutely, working on that now and will confirm before merging.

@jmaeagle99
Copy link
Contributor Author

Looks great to me, but may want @Sushisource's approval before merging. Also, could develop the .NET SDK aspect with your branch as the submodule to confirm this does what is needed before merging.

Absolutely, working on that now and will confirm before merging.

I will wait for temporalio/sdk-dotnet#570 to be completed as there would be duplicated effort to adjust to sdk-core and library changes.

@jmaeagle99 jmaeagle99 enabled auto-merge (squash) December 12, 2025 21:36
@jmaeagle99 jmaeagle99 merged commit 43d582b into temporalio:master Dec 12, 2025
19 checks passed
@jmaeagle99 jmaeagle99 deleted the bin-headers branch December 12, 2025 21:40
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.

[Feature Request] Ensure gRPC binary metadata headers are supported in C bridge

3 participants