mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
32970fe10d
Prior to this commit, thread-local variables like Trace ID were not automatically propagated into the Reactor Context when making requests using Kotlin coroutine WebClient extensions like `awaitExchange`. This commit updates `CoroutineContext.toReactorContext()` to capture thread-local values via Micrometer Context Propagation when available, ensuring observations and traces are properly reused. Closes gh-36182