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 Enamakel4fd9070b655d
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs
index c5b4d465be..2dc93e5a96 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_session_definition_tests.rs
@@ -36,7 +36,6 @@ fn bare() -> crate::agent::SessionHostBuilder {
crate::agent::SessionHostBuilder::new()
.chat_model(model)
.tools(Vec::new())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
}
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
index b72a1ce3c5..113de49d0a 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_exposure_tests.rs
@@ -122,7 +122,6 @@ fn build_with(
.chat_model(model)
.tools(tools)
.visible_tool_names(visible)
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.build()
.expect("session build")
diff --git a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs
index caa8f55989..5814ba3f2f 100644
--- a/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/builder/builder_tests_tool_spec_views_tests.rs
@@ -158,7 +158,6 @@ fn spec_views_stay_consistent_for_a_tool_less_agent() {
let agent = crate::agent::SessionHostBuilder::new()
.chat_model(model)
.tools(Vec::new())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.build()
.expect("a tool-less agent is a legal build");
diff --git a/crates/openhuman-core/src/agent/session_host/orphaned_head_resume_tests.rs b/crates/openhuman-core/src/agent/session_host/orphaned_head_resume_tests.rs
index 2ab00a5e80..4c860502f1 100644
--- a/crates/openhuman-core/src/agent/session_host/orphaned_head_resume_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/orphaned_head_resume_tests.rs
@@ -50,7 +50,6 @@ async fn resumed_orphaned_tool_head_is_repaired_before_the_request() {
.tools(Vec::new())
.workspace_dir(root.path().join("workspace"))
.action_dir(root.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::NativeDialect))
.build()
.expect("session build")
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs
index 6d5c80825f..5e7d886634 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_adapter_tests.rs
@@ -520,7 +520,6 @@ async fn cold_resumed_thread_can_send_again() {
.tools(Vec::new())
.workspace_dir(root.path().join("workspace"))
.action_dir(root.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.build()
.expect("session build")
@@ -568,7 +567,6 @@ async fn production_turn_path_wires_an_artifact_store_at_the_read_path_root() {
.chat_model(model)
.tools(Vec::new())
.action_dir(action_dir.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.workspace_descriptor(Some(
tinytools::WorkspaceDescriptor::new(turn_root.path().to_path_buf())
@@ -613,7 +611,6 @@ async fn artifact_store_falls_back_to_action_dir_without_a_descriptor() {
.chat_model(model)
.tools(Vec::new())
.action_dir(action_dir.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.build()
.expect("session build");
diff --git a/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs b/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
index 9f03b880c8..49740df912 100644
--- a/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/runtime_session_tests.rs
@@ -288,7 +288,6 @@ async fn a_resumed_orchestrator_keeps_the_integration_actions_it_was_sent() {
.chat_model(model)
.tools(Vec::new())
.action_dir(action_dir.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.agent_definition_name("orchestrator")
.build()
@@ -359,7 +358,6 @@ async fn session_locator_is_memoized_across_calls() {
.chat_model(model)
.tools(Vec::new())
.action_dir(action_dir.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.agent_definition_name("orchestrator")
.build()
diff --git a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
index a2c1911370..723a9e9411 100644
--- a/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
+++ b/crates/openhuman-core/src/agent/session_host/transcript_compat_tests.rs
@@ -181,8 +181,7 @@ pub(super) fn build_host(
.chat_model(chat_model)
.tools(tools())
.workspace_dir(root.join("workspace"))
- .action_dir(root.to_path_buf())
- .memory(crate::memory::test_support::noop_memory());
+ .action_dir(root.to_path_buf());
let builder = if native {
builder.tool_dispatcher(Box::new(tinytools_agent::dialect::NativeDialect))
} else {
diff --git a/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs b/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs
index 21e99c6036..9cbfdd5251 100644
--- a/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs
+++ b/crates/openhuman-core/src/agent/subagent_host/ops_tests.rs
@@ -264,7 +264,6 @@ fn make_parent(
model_name: "test-model".into(),
temperature: 0.5,
workspace_dir: std::env::temp_dir(),
- memory: noop_memory(),
agent_config: crate::config::AgentConfig::default(),
workflows: Arc::new(vec![]),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs b/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs
index fc06e1d359..2e439e6db7 100644
--- a/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/host/run_context_tests.rs
@@ -237,7 +237,6 @@ fn stale_parent_snapshot() -> ParentExecutionContext {
temperature: 0.0,
workspace_dir: std::path::PathBuf::from("/tmp/openhuman-attach-parent"),
workspace_descriptor: None,
- memory: crate::memory::test_support::noop_memory(),
agent_config: crate::config::AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
diff --git a/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs b/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs
index abc18a179a..0e68ad21fd 100644
--- a/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/turn_runner_tests.rs
@@ -70,7 +70,6 @@ fn hosted_base() -> Arc<crate::agent::tinyagents::host::OpenHumanHostBase> {
crate::agent::harness::definition::AgentDefinitionRegistry::builtins_only(),
),
security_policy: Arc::new(crate::security::policy::SecurityPolicy::default()),
- memory: crate::memory::test_support::noop_memory(),
post_turn_hooks: Vec::new(),
session_definition: None,
})
@@ -569,7 +568,6 @@ async fn session_screens_the_new_input_but_not_a_replayed_tool_results_row() {
.tools(Vec::new())
.workspace_dir(root.path().join("workspace"))
.action_dir(root.path().to_path_buf())
- .memory(crate::memory::test_support::noop_memory())
.tool_dispatcher(Box::new(tinytools_agent::dialect::XmlDialect))
.build()
.expect("session build")
diff --git a/crates/openhuman-core/src/agent/tools/todo_tests.rs b/crates/openhuman-core/src/agent/tools/todo_tests.rs
index cc739a6ef6..a600bf4fa8 100644
--- a/crates/openhuman-core/src/agent/tools/todo_tests.rs
+++ b/crates/openhuman-core/src/agent/tools/todo_tests.rs
@@ -138,7 +138,6 @@ fn every_agent_binds_to_its_own_thread() {
temperature: 0.0,
workspace_dir: std::path::PathBuf::from("/tmp/openhuman-todo-parent"),
workspace_descriptor: None,
- memory: crate::memory::test_support::noop_memory(),
agent_config: crate::config::AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),
@@ -197,7 +196,6 @@ async fn a_legacy_session_keyed_list_is_migrated_forward_once() {
temperature: 0.0,
workspace_dir: workspace_dir.clone(),
workspace_descriptor: None,
- memory: crate::memory::test_support::noop_memory(),
agent_config: crate::config::AgentConfig::default(),
workflows: Arc::new(Vec::new()),
memory_context: Arc::new(None),