From 15fbf9d4f5fcc224c4c97e015253aeef52939ed4 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Fri, 27 Mar 2026 12:06:07 -0700 Subject: [PATCH] fix: fix Windows CI regression introduced in #15999 (#16027) #15999 introduced a Windows-only `\r\n` mismatch in review-exit template handling. This PR normalizes those template newlines and separates that fix from [#16014](https://github.com/openai/codex/pull/16014) so it can be reviewed independently. --- codex-rs/core/src/tasks/review.rs | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/codex-rs/core/src/tasks/review.rs b/codex-rs/core/src/tasks/review.rs index e992a493f..e0c603348 100644 --- a/codex-rs/core/src/tasks/review.rs +++ b/codex-rs/core/src/tasks/review.rs @@ -1,3 +1,4 @@ +use std::borrow::Cow; use std::sync::Arc; use async_trait::async_trait; @@ -32,7 +33,9 @@ use super::SessionTask; use super::SessionTaskContext; static REVIEW_EXIT_SUCCESS_TEMPLATE: LazyLock