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

Fix HTTP tracing baggage propagation

Open kexiongliu123 opened this issue 7 months ago • 1 comments

This PR fixes a bug where tracing baggage was lost in Cinnamon when the YARPC tracing interceptor is enabled for HTTP. The root cause was that Cinnamon’s outbound middleware created a new span without inheriting baggage from the parent span. This broke end-to-end propagation, which was only caught by the Cinnamon integration test — currently the only E2E test covering baggage propagation with real HTTP transports. The fix manually copies baggage to the Cinnamon span.

RELEASE NOTES:

kexiongliu123 avatar Apr 07 '25 21:04 kexiongliu123

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Apr 07 '25 21:04 CLAassistant