From 86bd0bc95cf4a7835368073ee8f51b0c6ff9ff5f Mon Sep 17 00:00:00 2001 From: jif-oai Date: Mon, 13 Apr 2026 13:02:07 +0100 Subject: [PATCH 1/2] nit: change consolidation model (#17633) --- codex-rs/core/src/memories/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/memories/mod.rs b/codex-rs/core/src/memories/mod.rs index 194c27c907..ecb6c05df2 100644 --- a/codex-rs/core/src/memories/mod.rs +++ b/codex-rs/core/src/memories/mod.rs @@ -65,7 +65,7 @@ mod phase_one { /// Phase 2 (aka `Consolidation`). mod phase_two { /// Default model used for phase 2. - pub(super) const MODEL: &str = "gpt-5.3-codex"; + pub(super) const MODEL: &str = "gpt-5.4"; /// Default reasoning effort used for phase 2. pub(super) const REASONING_EFFORT: super::ReasoningEffort = super::ReasoningEffort::Medium; /// Lease duration (seconds) for phase-2 consolidation job ownership. From 49ca7c9f24ede84ce50de837516070761385c1a9 Mon Sep 17 00:00:00 2001 From: jif-oai Date: Mon, 13 Apr 2026 14:52:12 +0100 Subject: [PATCH 2/2] fix: stability exec server (#17640) --- codex-rs/exec-server/tests/common/exec_server.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/codex-rs/exec-server/tests/common/exec_server.rs b/codex-rs/exec-server/tests/common/exec_server.rs index a2476b4fbb..fc11f87a05 100644 --- a/codex-rs/exec-server/tests/common/exec_server.rs +++ b/codex-rs/exec-server/tests/common/exec_server.rs @@ -11,6 +11,7 @@ use codex_app_server_protocol::RequestId; use codex_utils_cargo_bin::cargo_bin; use futures::SinkExt; use futures::StreamExt; +use tempfile::TempDir; use tokio::io::AsyncBufReadExt; use tokio::io::BufReader; use tokio::process::Child; @@ -26,6 +27,7 @@ const CONNECT_RETRY_INTERVAL: Duration = Duration::from_millis(25); const EVENT_TIMEOUT: Duration = Duration::from_secs(5); pub(crate) struct ExecServerHarness { + _codex_home: TempDir, child: Child, websocket_url: String, websocket: tokio_tungstenite::WebSocketStream< @@ -42,17 +44,20 @@ impl Drop for ExecServerHarness { pub(crate) async fn exec_server() -> anyhow::Result { let binary = cargo_bin("codex")?; + let codex_home = TempDir::new()?; let mut child = Command::new(binary); child.args(["exec-server", "--listen", "ws://127.0.0.1:0"]); child.stdin(Stdio::null()); child.stdout(Stdio::piped()); child.stderr(Stdio::inherit()); child.kill_on_drop(true); + child.env("CODEX_HOME", codex_home.path()); let mut child = child.spawn()?; let websocket_url = read_listen_url_from_stdout(&mut child).await?; let (websocket, _) = connect_websocket_when_ready(&websocket_url).await?; Ok(ExecServerHarness { + _codex_home: codex_home, child, websocket_url, websocket,