core-agent-ide/codex-rs/otel/tests
colby-oai 2036a5f5e0
Add MCP server context to otel tool_result logs (#12267)
Summary
- capture the origin for each configured MCP server and expose it via
the connection manager
- plumb MCP server name/origin into tool logging and emit
codex.tool_result events with those fields
- add unit coverage for origin parsing and extend OTEL tests to assert
empty MCP fields for non-MCP tools
- currently not logging full urls or url paths to prevent logging
potentially sensitive data

Testing
- Not run (not requested)
2026-02-20 10:26:19 -05:00
..
harness feat: metrics capabilities (#8318) 2026-01-08 11:47:36 +00:00
suite Add MCP server context to otel tool_result logs (#12267) 2026-02-20 10:26:19 -05:00
tests.rs feat: metrics capabilities (#8318) 2026-01-08 11:47:36 +00:00