Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore(tests): remove unused test files

Steven Enamakel20d5a2952485
diff --git a/tests/in_process/orchestrator_presentation_wiring.rs b/tests/in_process/orchestrator_presentation_wiring.rs
index bba69534e1..cdf0cde743 100644
--- a/tests/in_process/orchestrator_presentation_wiring.rs
+++ b/tests/in_process/orchestrator_presentation_wiring.rs
@@ -17,7 +17,7 @@ const ORCHESTRATOR_TOML: &str =
include_str!("../../crates/openhuman-core/src/agent/registry/agents/orchestrator/agent.toml");
const PRESENTATION_AGENT_TOML: &str = include_str!(
- "../crates/openhuman-core/src/agent/registry/agents/presentation_agent/agent.toml"
+ "../../crates/openhuman-core/src/agent/registry/agents/presentation_agent/agent.toml"
);
const TOOLPACK_REGISTRY: &str =
diff --git a/tests/in_process/transcript_search_e2e.rs b/tests/in_process/transcript_search_e2e.rs
index e9e2a13ffd..5a11ed04c7 100644
--- a/tests/in_process/transcript_search_e2e.rs
+++ b/tests/in_process/transcript_search_e2e.rs
@@ -7,11 +7,10 @@
//! the `thread_*` tool family; the op below still backs the RPC surface.
//! against that on-disk data under a per-test temp `OPENHUMAN_WORKSPACE`.
//!
-//! Run with: `cargo test --test transcript_search_e2e`
+//! Run with: `cargo test -p openhuman-cli --test in_process_all transcript_search_e2e`
-use crate::env_guard::EnvVarGuard;
+use crate::env_guard::{env_lock, EnvVarGuard};
use std::path::Path;
-use std::sync::OnceLock;
use serde_json::json;
use tempfile::tempdir;
@@ -21,17 +20,7 @@ use openhuman_core::memory::conversations::{
};
use openhuman_core::threads::ops::transcript_search;
-// ── Env isolation (mirrors tests/memory_roundtrip_e2e.rs) ────────────────────
-
-/// Serialises tests: `HOME` + `OPENHUMAN_WORKSPACE` are process-global.
-static ENV_LOCK: OnceLock<tokio::sync::Mutex<()>> = OnceLock::new();
-
-async fn env_lock() -> tokio::sync::MutexGuard<'static, ()> {
- ENV_LOCK
- .get_or_init(|| tokio::sync::Mutex::new(()))
- .lock()
- .await
-}
+// ── Env isolation ────────────────────
// ── Fixture helpers ──────────────────────────────────────────────────────────