mchen-oai
ccec84b148
Add turn start timestamp to turn metadata ( #19473 )
...
## Why
- Without change: MCP tool calls receive
`_meta["x-codex-turn-metadata"]` with `session_id` and `turn_id`.
- Issue: MCP servers may want the turn start timestamp to measure
internal latency relative to turn start.
## What Changed
- With change: turn metadata now includes `turn_started_at_unix_ms`,
which is propagated to MCP tool calls in
`_meta["x-codex-turn-metadata"]`.
## Verification
- `codex-rs/core/src/mcp_tool_call_tests.rs`
- `codex-rs/core/src/turn_metadata_tests.rs`
- `codex-rs/core/src/turn_timing_tests.rs`
- `codex-rs/core/tests/responses_headers.rs`
- `codex-rs/core/tests/suite/search_tool.rs`
History
..
2026-04-18 11:01:12 -07:00
2026-04-21 17:48:33 -07:00
2026-03-27 19:00:44 -07:00
2026-04-26 20:59:58 -07:00
2026-04-12 18:36:03 -07:00
2026-04-24 17:16:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-03 15:03:21 -07:00
2026-04-27 21:32:10 -07:00
2026-04-27 11:00:27 -07:00
2026-04-23 11:54:17 -07:00
2026-04-26 20:59:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-27 19:09:02 +00:00
2026-04-27 18:48:57 -07:00
2026-04-26 17:18:09 -07:00
2026-04-26 15:10:53 -07:00
2026-04-23 11:54:17 -07:00
2026-04-26 13:29:54 -07:00
2026-04-24 13:51:37 -07:00
2026-04-12 18:36:03 -07:00
2026-04-23 07:33:57 +00:00
2026-04-26 20:59:58 -07:00
2026-04-26 17:18:09 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2025-12-23 19:29:32 -08:00
2026-04-23 11:54:17 -07:00
2026-04-28 13:03:28 +02:00
2026-04-22 13:34:33 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-24 18:49:34 -04:00
2026-04-26 20:59:58 -07:00
2026-04-22 13:34:33 -07:00
2026-04-26 13:29:54 -07:00
2026-04-26 15:10:53 -07:00
2026-04-20 10:27:01 -07:00
2026-04-24 04:28:25 +00:00
2026-04-28 01:14:44 +00:00
2026-04-26 20:59:58 -07:00
2026-04-26 17:18:09 -07:00
2026-04-21 17:48:33 -07:00
2026-04-26 17:18:09 -07:00
2026-04-24 17:16:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-21 17:48:33 -07:00
2026-04-26 20:59:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-23 11:54:17 -07:00
2026-04-24 17:16:58 -07:00
2026-04-26 20:59:58 -07:00
2026-04-22 13:34:33 -07:00
2026-04-26 17:18:09 -07:00
2026-04-24 17:49:29 -07:00
2026-04-09 18:44:26 +01:00
2026-04-23 11:54:17 -07:00
2026-04-28 16:36:59 +00:00
2026-04-20 10:27:01 -07:00
2026-04-20 10:27:01 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-24 04:28:25 +00:00
2026-04-23 11:54:17 -07:00
2026-04-21 17:48:33 -07:00
2026-04-21 17:48:33 -07:00
2026-04-23 18:54:45 +02:00
2026-04-23 11:54:17 -07:00
2026-04-23 11:54:17 -07:00
2026-04-20 10:27:01 -07:00
2026-04-26 20:59:58 -07:00
2026-04-23 11:54:17 -07:00
2026-03-11 12:33:09 -07:00
2026-04-27 18:48:57 -07:00
2026-04-26 20:59:58 -07:00
2026-04-01 23:06:24 -07:00
2026-04-21 17:48:33 -07:00
2026-04-26 15:06:42 -07:00
2026-04-24 17:49:29 -07:00
2026-04-20 10:27:01 -07:00
2026-04-23 11:54:17 -07:00
2026-04-21 17:48:33 -07:00