[codex-analytics] add protocol-native turn timestamps

This commit is contained in:
rhan-oai
2026-04-04 16:02:19 -07:00
parent 4fd5c35c4f
commit 7c482f2179
43 changed files with 730 additions and 20 deletions
@@ -6593,6 +6593,9 @@ impl CodexMessageProcessor {
items: vec![],
error: None,
status: TurnStatus::InProgress,
created_at: None,
completed_at: None,
duration_ms: None,
};
let response = TurnStartResponse { turn };
@@ -6929,6 +6932,9 @@ impl CodexMessageProcessor {
items,
error: None,
status: TurnStatus::InProgress,
created_at: None,
completed_at: None,
duration_ms: None,
}
}
@@ -9578,6 +9584,7 @@ mod tests {
state.track_current_turn_event(&EventMsg::TurnStarted(
codex_protocol::protocol::TurnStartedEvent {
turn_id: "turn-1".to_string(),
created_at: None,
model_context_window: None,
collaboration_mode_kind: Default::default(),
},