From 79dce68a0b0c29b9034ba007687c116321eb2acb Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Sun, 20 Jul 2025 18:15:13 -0700 Subject: [PATCH] adding todo --- codex-rs/core/src/rollout.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/codex-rs/core/src/rollout.rs b/codex-rs/core/src/rollout.rs index 689b91e435..914663e365 100644 --- a/codex-rs/core/src/rollout.rs +++ b/codex-rs/core/src/rollout.rs @@ -300,6 +300,7 @@ async fn rollout_writer( let mut buf = serde_json::to_vec(value)?; buf.push(b'\n'); file.write_all(&buf).await?; + // TODO: decide if we want to flush here or TaskComplete is enough. file.flush().await?; Ok(()) }