Make trace IDs parseable from hex and span contexts JSON-friendly
Make trace IDs parseable from hex and span contexts JSON-friendly: a task in MiMo-V2.6-RL-oss: Agentic RL Environments (MiMo RL release). Our tracing core can already render a TraceID to its 32-character hex string (via SpanContext.TraceIDString()), but there's no way to go the other direction…
The task
Our tracing core can already render a TraceID to its 32-character hex string (via SpanContext.TraceIDString()), but there's no way to go the other direction, and dumping a SpanContext to JSON produces something unreadable. Please add two things to the tracing core. 1. Construct…
Part of XiaomiMiMo/MiMo-V2.6-RL-oss.