The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(channels): update imports and ignore blocked fixture test
Steven Enamakel879da891eeaa
diff --git a/crates/openhuman-core/src/channels/module_fixture_tests.rs b/crates/openhuman-core/src/channels/module_fixture_tests.rsindex 2c421ccb92..074e83c1b5 100644--- a/crates/openhuman-core/src/channels/module_fixture_tests.rs+++ b/crates/openhuman-core/src/channels/module_fixture_tests.rs@@ -8,14 +8,10 @@//! on a process-lifetime runtime, so it outlives the short Tokio runtimes of//! individual tests.-use crate::config::schema::ModuleSourceMode;-use crate::config::Config;use crate::modules::client::ModuleClient;-use crate::modules::linked::register_linked;-use crate::modules::{host, ops};use tinychannels_bus::methods;-const MODULE_ID: &str = "tinychannels";+/// Return a client for the compiled, linked TinyChannels module fixture.///@@ -24,7 +20,6 @@ const MODULE_ID: &str = "tinychannels";/// and the fixture cannot be linked. Tests that need it fail with this message/// until the dependency is restored.pub(crate) async fn client() -> ModuleClient {- let _ = (MODULE_ID, register_linked::<fn()>, &host::runtime, &ops::ensure_loaded);panic!("tinychannels-module fixture unavailable: blocked on tinybus 0.1.4 (tinybus epic)")}diff --git a/crates/openhuman-core/src/channels/runtime/supervision_tests.rs b/crates/openhuman-core/src/channels/runtime/supervision_tests.rsindex bacab56eaa..735c25ff35 100644--- a/crates/openhuman-core/src/channels/runtime/supervision_tests.rs+++ b/crates/openhuman-core/src/channels/runtime/supervision_tests.rs@@ -1,4 +1,5 @@-use super::super::super::{traits, Channel};+use super::super::super::Channel;+use tinychannels_bus as traits;use super::{jitter_millis, spawn_supervised_listener, MAX_JITTER_MS};use std::sync::{Arc, Mutex};use tokio::time::Instant;diff --git a/crates/openhuman-core/src/channels/tests/health.rs b/crates/openhuman-core/src/channels/tests/health.rsindex 93d856cdca..b4d2f73b40 100644--- a/crates/openhuman-core/src/channels/tests/health.rs+++ b/crates/openhuman-core/src/channels/tests/health.rs@@ -1,5 +1,6 @@use super::super::runtime::spawn_supervised_listener;-use super::super::{traits, Channel};+use super::super::Channel;+use tinychannels_bus as traits;use super::common::AlwaysFailChannel;use std::sync::atomic::{AtomicUsize, Ordering};use std::sync::Arc;diff --git a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rsindex 51c3994b3d..2ece39fc87 100644--- a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs@@ -3,7 +3,8 @@ use super::super::runtime::test_support::{run_dispatch_harness, DispatchHarnessOuse super::super::runtime::{process_channel_message, run_message_dispatch_loop, RuntimeChannelMessage,};-use super::super::{traits, Channel};+use super::super::Channel;+use tinychannels_bus as traits;use super::common::{use_real_agent_handler, RecordingChannel, SlowModel};use crate::agent::bus::{mock_agent_run_turn, AgentTurnRequest, AgentTurnResponse};use crate::core::events::DomainEvent;diff --git a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rsindex 2ad327a9da..ff68ea6e2e 100644--- a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs+++ b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs@@ -3,7 +3,8 @@ use super::super::context::{CHANNEL_MESSAGE_TIMEOUT_SECS,};use super::super::runtime::process_channel_message;-use super::super::{traits, Channel};+use super::super::Channel;+use tinychannels_bus as traits;use super::common::{IterativeToolModel, MockPriceTool, ModelCaptureModel, RecordingChannel,TelegramRecordingChannel, ToolCallingModel,diff --git a/crates/openhuman-core/src/modules/ops_tests.rs b/crates/openhuman-core/src/modules/ops_tests.rsindex 044dfe1e8e..82b6244ac8 100644--- a/crates/openhuman-core/src/modules/ops_tests.rs+++ b/crates/openhuman-core/src/modules/ops_tests.rs@@ -600,6 +600,7 @@ fn status_reports_the_source_that_serves_a_module() {}#[tokio::test]+#[ignore = "blocked on tinybus 0.1.4 (tinybus epic): tinychannels-module cannot be a dev-dependency"]async fn a_registered_linked_factory_serves_the_module_and_status_says_so() {use crate::config::schema::ModuleSourceMode;use crate::modules::linked::register_linked;diff --git a/tests/raw_coverage/channels_round24_raw_coverage_e2e.rs b/tests/raw_coverage/channels_round24_raw_coverage_e2e.rsindex 343cf2574a..ea7b339d52 100644--- a/tests/raw_coverage/channels_round24_raw_coverage_e2e.rs+++ b/tests/raw_coverage/channels_round24_raw_coverage_e2e.rs@@ -3,7 +3,7 @@//! Parser/state seams only: no real network traffic.use openhuman_core::channels::test_support as runtime_support;-use openhuman_core::channels::traits::ChannelMessage;+use openhuman_core::channels::ChannelMessage;use serde_json::json;use tinychannels::delivery::progressive::{extract_message_id, latest_thinking_snippet, StreamingState,