Skip to content

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

test: add missing test files for core modules

Steven Enamakel3b7314d7e836
diff --git a/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs b/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs
index afd72bfb83..e9fd6a4b62 100644
--- a/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs
+++ b/crates/openhuman-core/src/agent/orchestration/running_subagents_tests.rs
@@ -8,7 +8,6 @@ use crate::agent::queued_turn::QueuedTurn;
use crate::agent::tinyagents::host::steering::shared_steering_registry;
use std::path::PathBuf;
use std::sync::Arc;
-use std::sync::MutexGuard;
use std::time::Duration;
use tinyagents_graph::orchestration::OrchestrationTaskStatus;
use tinyagents_harness::ids::TaskId;
diff --git a/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs b/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs
index 7d44552cfc..0b984da882 100644
--- a/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs
+++ b/crates/openhuman-core/src/cron/scheduler_gate/gate_tests.rs
@@ -4,7 +4,6 @@
//! both hold a permit at the same time and confuse each other's
//! `available_permits` reads.
use super::*;
-use std::sync::Mutex;
use std::time::Instant;
use tokio::time::{timeout, Duration as TokioDuration};
diff --git a/crates/openhuman-core/src/desktop/provider_surfaces/ops_tests.rs b/crates/openhuman-core/src/desktop/provider_surfaces/ops_tests.rs
index c98b562abc..107c2009da 100644
--- a/crates/openhuman-core/src/desktop/provider_surfaces/ops_tests.rs
+++ b/crates/openhuman-core/src/desktop/provider_surfaces/ops_tests.rs
@@ -1,5 +1,4 @@
use super::*;
-use std::sync::Mutex;
/// Serializes tests that mutate the process-global RESPOND_QUEUE so cargo's
/// default parallel test runner cannot interleave clear/insert/assert cycles.
diff --git a/crates/openhuman-core/src/memory/sync/composio/bus_tests.rs b/crates/openhuman-core/src/memory/sync/composio/bus_tests.rs
index f41c99d8bd..d2b37e5407 100644
--- a/crates/openhuman-core/src/memory/sync/composio/bus_tests.rs
+++ b/crates/openhuman-core/src/memory/sync/composio/bus_tests.rs
@@ -7,7 +7,6 @@ use crate::memory::sync::composio::bus::connection_created_subscriber::WaitError
use crate::memory::sync::composio::bus::trigger_subscriber::triage_disabled;
use crate::memory::sync::composio::bus::trigger_subscriber::TRIAGE_DISABLED_ENV;
use serde_json::json;
-use std::sync::Mutex;
use tinybus::EventHandler;
/// #4957 regression, in the half that is still this host's.