From e12af2274c3fc41d422c699f66159206d5f196f2 Mon Sep 17 00:00:00 2001 From: Eric Traut Date: Sun, 26 Apr 2026 21:09:02 -0700 Subject: [PATCH] Document lifecycle log scope --- codex-rs/codex-api/src/stream_lifecycle.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/codex-rs/codex-api/src/stream_lifecycle.rs b/codex-rs/codex-api/src/stream_lifecycle.rs index 88ba86fa03..6685132ddf 100644 --- a/codex-rs/codex-api/src/stream_lifecycle.rs +++ b/codex-rs/codex-api/src/stream_lifecycle.rs @@ -135,6 +135,8 @@ impl ResponseStreamLifecycleSummary { } fn log(&self) { + // Keep lifecycle logs focused on streams that did not complete normally, + // plus the suspicious case where created/completed response IDs disagree. if self.terminal_state == ResponseStreamTerminalState::Completed && !self.ids_mismatch() { return; }