Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

app-server: fix outgoing sender test setup (#20258)

sayan-oaib15074d0a42e
diff --git a/codex-rs/app-server/src/command_exec.rs b/codex-rs/app-server/src/command_exec.rs
index 22ac92686e..699556dd5b 100644
--- a/codex-rs/app-server/src/command_exec.rs
+++ b/codex-rs/app-server/src/command_exec.rs
@@ -890,7 +890,10 @@ mod tests {
manager
.start(StartCommandExecParams {
- outgoing: Arc::new(OutgoingMessageSender::new(tx)),
+ outgoing: Arc::new(OutgoingMessageSender::new(
+ tx,
+ codex_analytics::AnalyticsEventsClient::disabled(),
+ )),
request_id: request_id.clone(),
process_id: Some("proc-101".to_string()),
exec_request: ExecRequest::new(