Skip to content

armgit / codex

Public Imported from GitHub
0

Lightweight coding agent that runs in your terminal

Rust

Remove the TUI test dependency on `codex-cli` (#38746)

Charlie Marsha7edf37cb46b
diff --git a/codex-rs/Cargo.lock b/codex-rs/Cargo.lock
index 28071ca8b9..8f4ac8ffea 100644
--- a/codex-rs/Cargo.lock
+++ b/codex-rs/Cargo.lock
@@ -4350,7 +4350,6 @@ dependencies = [
"codex-app-server-client",
"codex-app-server-protocol",
"codex-arg0",
- "codex-cli",
"codex-cloud-config",
"codex-config",
"codex-connectors",
diff --git a/codex-rs/Cargo.toml b/codex-rs/Cargo.toml
index 507d3c9d31..d796f62e05 100644
--- a/codex-rs/Cargo.toml
+++ b/codex-rs/Cargo.toml
@@ -167,7 +167,6 @@ codex-arg0 = { path = "arg0" }
codex-async-utils = { path = "async-utils" }
codex-backend-client = { path = "backend-client" }
codex-chatgpt = { path = "chatgpt" }
-codex-cli = { path = "cli" }
codex-client = { path = "codex-client" }
codex-collaboration-mode-templates = { path = "collaboration-mode-templates" }
codex-cloud-config = { path = "cloud-config" }
diff --git a/codex-rs/tui/Cargo.toml b/codex-rs/tui/Cargo.toml
index ca037f7b95..2152c79151 100644
--- a/codex-rs/tui/Cargo.toml
+++ b/codex-rs/tui/Cargo.toml
@@ -149,7 +149,6 @@ arboard = { workspace = true }
[dev-dependencies]
app_test_support = { workspace = true }
-codex-cli = { workspace = true }
codex-mcp = { workspace = true }
core_test_support = { workspace = true }
codex-utils-cargo-bin = { workspace = true }
diff --git a/codex-rs/tui/tests/all.rs b/codex-rs/tui/tests/all.rs
index 83b528c912..0c24c24103 100644
--- a/codex-rs/tui/tests/all.rs
+++ b/codex-rs/tui/tests/all.rs
@@ -4,7 +4,4 @@
// The submodules live in `tests/suite/`.
mod test_backend;
-#[allow(unused_imports)]
-use codex_cli as _; // Keep dev-dep for cargo-shear; tests spawn the codex binary.
-
mod suite;