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 Enamakelefab9c0b5aff
diff --git a/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime_tests.rs b/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime_tests.rs
index 70afdfe52a..de6b6d52ea 100644
--- a/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/agent_teams/runtime_tests.rs
@@ -8,7 +8,6 @@
//! real entry point; its `Started` path (which spawns a loop building a real
//! `Agent` from config) is covered by the JSON-RPC e2e over the live core stack.
-use crate::memory::test_support::NoopMemory;
use std::collections::HashSet;
use std::sync::Arc;
@@ -70,7 +69,6 @@ fn mock_parent(model: Arc<dyn ChatModel<()>>) -> ParentExecutionContext {
model_name: "test-model".to_string(),
temperature: 0.0,
workspace_dir: std::env::temp_dir(),
- memory: Arc::new(NoopMemory),
agent_config: AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/orchestration/ops_tests.rs b/crates/openhuman-core/src/agent/orchestration/ops_tests.rs
index 436f21377f..4fe15e2d0c 100644
--- a/crates/openhuman-core/src/agent/orchestration/ops_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/ops_tests.rs
@@ -3,7 +3,6 @@ use crate::agent::harness::definition::AgentDefinitionRegistry;
use crate::agent::harness::fork_context::{with_parent_context, ParentExecutionContext};
use crate::agent::prompts::ToolCallFormat;
use crate::config::AgentConfig;
-use crate::memory::test_support::NoopMemory;
use async_trait::async_trait;
use parking_lot::Mutex;
use std::future::Future;
@@ -36,7 +35,6 @@ fn parent_context(model: Arc<dyn ChatModel<()>>) -> ParentExecutionContext {
model_name: "test-model".to_string(),
temperature: 0.2,
workspace_dir: std::env::temp_dir(),
- memory: Arc::new(NoopMemory),
agent_config: AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/close_subagent_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/close_subagent_tests.rs
index 0461fb8912..0b0bfb503e 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/close_subagent_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/close_subagent_tests.rs
@@ -2,7 +2,6 @@ use super::*;
use crate::agent::harness::fork_context::ParentExecutionContext;
use crate::agent::prompts::ToolCallFormat;
use crate::config::AgentConfig;
-use crate::memory::test_support::NoopMemory;
use std::collections::HashSet;
use std::path::Path;
use std::sync::Arc;
@@ -117,7 +116,6 @@ fn parent_context(workspace_dir: &Path) -> ParentExecutionContext {
model_name: "test-model".into(),
temperature: 0.0,
workspace_dir: workspace_dir.to_path_buf(),
- memory: Arc::new(NoopMemory),
agent_config: AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs
index 7632778a05..5e47ca87b6 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_async_subagent_tests.rs
@@ -3,7 +3,6 @@ use crate::agent::harness::definition::AgentDefinitionRegistry;
use crate::agent::harness::fork_context::{with_parent_context, ParentExecutionContext};
use crate::agent::prompts::ToolCallFormat;
use crate::config::AgentConfig;
-use crate::memory::test_support::NoopMemory;
use std::collections::HashSet;
use std::path::Path;
use std::sync::Arc;
@@ -472,7 +471,6 @@ fn parent_context(workspace_dir: &Path) -> ParentExecutionContext {
model_name: "test-model".into(),
temperature: 0.0,
workspace_dir: workspace_dir.to_path_buf(),
- memory: Arc::new(NoopMemory),
agent_config: AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
index 8a0c7291c7..64b539a3f4 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/spawn_parallel_agents_tests.rs
@@ -12,7 +12,6 @@ use crate::agent::prompts::ToolCallFormat;
use crate::agent::tinyagents::host::OpenHumanRunContext;
use crate::agent::OpenHumanSessionHost;
use crate::config::AgentConfig;
-use crate::memory::test_support::NoopMemory;
use crate::memory::Memory;
use async_trait::async_trait;
use parking_lot::Mutex;
@@ -71,7 +70,6 @@ fn parent_context(max_parallel_tools: usize) -> ParentExecutionContext {
model_name: "test-model".into(),
temperature: 0.2,
workspace_dir: std::env::temp_dir(),
- memory: Arc::new(NoopMemory),
agent_config,
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
index c553d888bb..d70e7deac2 100644
--- a/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/tools/tools_e2e_tests.rs
@@ -3,7 +3,6 @@ use crate::agent::harness::definition::AgentDefinitionRegistry;
use crate::agent::harness::{with_parent_context, ParentExecutionContext};
use crate::agent::prompts::{ConnectedIntegration, ToolCallFormat};
use crate::threads::store as conversations;
-use crate::memory::test_support::NoopMemory;
use async_trait::async_trait;
use parking_lot::Mutex;
use serde_json::json;
@@ -427,7 +426,6 @@ fn parent_context(
model_name: "test-model".into(),
temperature: 0.2,
workspace_dir: workspace_dir.to_path_buf(),
- memory: Arc::new(NoopMemory),
agent_config: Default::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs b/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs
index 594636e060..7d1987e3d2 100644
--- a/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/use_skill_dispatch_tests.rs
@@ -18,7 +18,6 @@ use crate::agent::harness::definition::AgentDefinitionRegistry;
use crate::agent::harness::ParentExecutionContext;
use crate::agent::prompts::ToolCallFormat;
use crate::agent::tinyagents::tools::CanonicalSharedToolAdapter;
-use crate::memory::test_support::NoopMemory;
use async_trait::async_trait;
use serde_json::json;
use std::path::Path;
@@ -98,7 +97,6 @@ fn parent_execution_context(workspace_dir: &Path) -> ParentExecutionContext {
model_name: "test-model".into(),
temperature: 0.2,
workspace_dir: workspace_dir.to_path_buf(),
- memory: Arc::new(NoopMemory),
agent_config: Default::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),