mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
## Why OTEL exporter headers can contain credentials. Configuration responses exposed these values in effective config, source layers, managed requirements, and write-override metadata. ## What changed Replace header values with `[redacted]` across these responses for log, trace, and metrics exporters while preserving header names. Keep the original values available to runtime exporters, and redact them in debug output. Update protocol schemas and generated client documentation to describe the redacted values. ## Testing Add coverage for effective config and source-layer redaction, managed requirements, and single and batch write-override metadata, including header names containing dots. Extend telemetry integration coverage to verify that runtime requests still carry the configured header value. GitOrigin-RevId: ad24e8b91e615bd36c03c4c0ca205ac64bbd8cbf