yarpc-go icon indicating copy to clipboard operation
yarpc-go copied to clipboard

Preserve tracing headers during FromHTTPHeaders conversion

Open kexiongliu123 opened this issue 7 months ago • 1 comments
trafficstars

RELEASE NOTES: This change updates headerMapper.FromHTTPHeaders to preserve tracing headers such as uber-trace-id and uberctx-* even when they are not prefixed with Rpc-Header-. These headers are critical for baggage and trace context propagation in services using the new tracing interceptor. Additionally, unit tests in header_test.go are updated to assert correct preservation and round-trip conversion of both application and tracing headers. This ensures that services like Cinnamon can properly extract context even when the outbound tracing interceptor is disabled.

kexiongliu123 avatar Apr 15 '25 19:04 kexiongliu123

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

:white_check_mark: kexiongliu123
:x: kl943
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Apr 15 '25 19:04 CLAassistant