Skip to content

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

test(channels): re-enable tests blocked on the tinychannels fixture

Steven Enamakel6daad7444f6f
diff --git a/crates/openhuman-core/src/channels/context_tests.rs b/crates/openhuman-core/src/channels/context_tests.rs
index 9db076e219..3dbc00dfc6 100644
--- a/crates/openhuman-core/src/channels/context_tests.rs
+++ b/crates/openhuman-core/src/channels/context_tests.rs
@@ -117,7 +117,6 @@ fn clear_and_compact_sender_history_update_cached_messages() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn overflow_detection_covers_edge_cases() {
let ctx = runtime_context();
assert!(is_context_window_overflow_error(
diff --git a/crates/openhuman-core/src/channels/controllers/ops_connect_status_tests.rs b/crates/openhuman-core/src/channels/controllers/ops_connect_status_tests.rs
index 10e87a0efa..253f5dec47 100644
--- a/crates/openhuman-core/src/channels/controllers/ops_connect_status_tests.rs
+++ b/crates/openhuman-core/src/channels/controllers/ops_connect_status_tests.rs
@@ -286,7 +286,6 @@ async fn disconnect_imessage_clears_runtime_config() {
// ---------------------------------------------------------------------------
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn channel_status_reports_managed_dm_credential_as_connected() {
let (_tmp, config) = isolated_test_config();
@@ -372,7 +371,6 @@ fn merge_listener_health_starting_keeps_presence() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn channel_status_surfaces_live_listener_error() {
let (_tmp, mut config) = isolated_test_config();
diff --git a/crates/openhuman-core/src/channels/host/channel_events_tests.rs b/crates/openhuman-core/src/channels/host/channel_events_tests.rs
index e39c00c109..3f19c991f4 100644
--- a/crates/openhuman-core/src/channels/host/channel_events_tests.rs
+++ b/crates/openhuman-core/src/channels/host/channel_events_tests.rs
@@ -85,7 +85,6 @@ fn approval(thread_id: Option<&str>, client_id: Option<&str>) -> DomainEvent {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn approval_prompts_reach_every_chat_channel() {
let ws = PathBuf::from("/tmp");
for (channel, thread_ts, key) in [
diff --git a/crates/openhuman-core/src/channels/module_fixture_tests.rs b/crates/openhuman-core/src/channels/module_fixture_tests.rs
index 829909f55d..36a94db626 100644
--- a/crates/openhuman-core/src/channels/module_fixture_tests.rs
+++ b/crates/openhuman-core/src/channels/module_fixture_tests.rs
@@ -37,7 +37,6 @@ pub(crate) async fn client() -> ModuleClient {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn linked_module_prepares_runtime_limits_over_confidential_bus_call() {
use tinychannels_bus::module_control::{ChannelControlRequest, ChannelControlResult};
@@ -64,7 +63,6 @@ async fn linked_module_prepares_runtime_limits_over_confidential_bus_call() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn linked_module_prepares_legacy_inbound_facts_over_confidential_bus_call() {
use tinychannels_bus::module_inbound::{
ChannelInboundSource, PrepareChannelInboundRequest, PreparedChannelInbound,
diff --git a/crates/openhuman-core/src/channels/routes_tests.rs b/crates/openhuman-core/src/channels/routes_tests.rs
index eddaf7e7b4..421a578253 100644
--- a/crates/openhuman-core/src/channels/routes_tests.rs
+++ b/crates/openhuman-core/src/channels/routes_tests.rs
@@ -177,7 +177,6 @@ fn provider_alias_and_route_selection_round_trip() {
#[cfg(feature = "modules")]
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn cached_models_and_help_responses_render_expected_text() {
let tempdir = tempfile::tempdir().unwrap();
let state_dir = tempdir.path().join("state");
@@ -287,7 +286,6 @@ async fn sign_out_cancels_remote_invalidation_while_it_waits_for_the_session_tab
#[cfg(feature = "modules")]
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn load_cached_model_preview_returns_empty_when_cache_json_is_invalid() {
let tempdir = tempfile::tempdir().unwrap();
let state_dir = tempdir.path().join("state");
@@ -303,7 +301,6 @@ async fn load_cached_model_preview_returns_empty_when_cache_json_is_invalid() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_unknown_provider_sends_helpful_error() {
let ctx = runtime_context(PathBuf::from("/tmp"));
let channel_impl = Arc::new(RecordingChannel::default());
@@ -337,7 +334,6 @@ async fn handle_runtime_command_unknown_provider_sends_helpful_error() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_set_model_clears_sender_history_and_persists_route_override() {
let ctx = runtime_context(PathBuf::from("/tmp"));
let key = "telegram_alice_room";
@@ -387,7 +383,6 @@ async fn handle_runtime_command_set_model_clears_sender_history_and_persists_rou
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_telegram_status_replies_without_agent() {
let ctx = runtime_context(PathBuf::from("/tmp"));
let channel_impl = Arc::new(RecordingChannel::default());
@@ -423,7 +418,6 @@ async fn handle_runtime_command_telegram_status_replies_without_agent() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_without_target_channel_still_consumes_command() {
let ctx = runtime_context(PathBuf::from("/tmp"));
let msg = ChannelMessage {
@@ -443,7 +437,6 @@ async fn handle_runtime_command_without_target_channel_still_consumes_command()
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_telegram_help_replies_with_remote_command_list() {
let ctx = runtime_context(PathBuf::from("/tmp"));
let channel_impl = Arc::new(RecordingChannel::default());
@@ -480,7 +473,6 @@ async fn handle_runtime_command_telegram_help_replies_with_remote_command_list()
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_telegram_sessions_reports_empty_store() {
let tempdir = tempfile::tempdir().unwrap();
let ctx = runtime_context(tempdir.path().to_path_buf());
@@ -515,7 +507,6 @@ async fn handle_runtime_command_telegram_sessions_reports_empty_store() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {
let tempdir = tempfile::tempdir().unwrap();
let ctx = runtime_context(tempdir.path().to_path_buf());
diff --git a/crates/openhuman-core/src/channels/runtime/startup/runtime_limits_tests.rs b/crates/openhuman-core/src/channels/runtime/startup/runtime_limits_tests.rs
index 50b0ceca17..c4cf59e606 100644
--- a/crates/openhuman-core/src/channels/runtime/startup/runtime_limits_tests.rs
+++ b/crates/openhuman-core/src/channels/runtime/startup/runtime_limits_tests.rs
@@ -1,7 +1,6 @@
use super::*;
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn runtime_limits_come_from_the_linked_channel_module() {
let client = crate::channels::module_fixture::client().await;
diff --git a/crates/openhuman-core/src/channels/tests/discord_integration.rs b/crates/openhuman-core/src/channels/tests/discord_integration.rs
index c32a52e8ee..d6eb6682e9 100644
--- a/crates/openhuman-core/src/channels/tests/discord_integration.rs
+++ b/crates/openhuman-core/src/channels/tests/discord_integration.rs
@@ -137,7 +137,6 @@ fn make_discord_ctx(
/// from the stubbed provider must reach the channel's `send()` with the
/// recipient matching `reply_target`.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn discord_inbound_dispatches_through_full_pipeline() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(DiscordRecordingChannel::default());
@@ -191,7 +190,6 @@ async fn discord_inbound_dispatches_through_full_pipeline() {
/// dispatcher respects channel capability flags and keeps Discord free of
/// Telegram-specific behaviors.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn discord_threaded_message_does_not_emit_reaction_ack() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(DiscordRecordingChannel::default());
@@ -242,7 +240,6 @@ async fn discord_threaded_message_does_not_emit_reaction_ack() {
/// the actual dispatch pipeline, not just by `conversation_history_key` in
/// isolation.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn discord_thread_ts_splits_conversation_history_end_to_end() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(DiscordRecordingChannel::default());
diff --git a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs
index 59a218b2e1..ee67152b93 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_dispatch.rs
@@ -16,7 +16,6 @@ use tinychannels_bus as traits;
use tokio::sync::Barrier;
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn dispatch_publishes_tinychannels_inbound_envelope() {
let observation = run_dispatch_harness(DispatchHarnessOptions {
channel_name: "telegram".to_string(),
@@ -37,7 +36,6 @@ async fn dispatch_publishes_tinychannels_inbound_envelope() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn dispatch_preserves_supplied_tinychannels_inbound_envelope() {
let supplied = tinychannels::ChannelInboundEnvelope {
channel: tinychannels::channel::ChannelRef {
@@ -82,7 +80,6 @@ async fn dispatch_preserves_supplied_tinychannels_inbound_envelope() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn message_dispatch_processes_messages_in_parallel() {
// Install a deterministic stub that takes 250ms per turn and records
// the peak number of in-flight turns. This proves concurrency directly
@@ -186,7 +183,6 @@ async fn message_dispatch_processes_messages_in_parallel() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_cancels_scoped_typing_task() {
let _bus_guard = use_real_agent_handler().await;
let channel_impl = Arc::new(RecordingChannel::default());
@@ -254,7 +250,6 @@ async fn process_channel_message_cancels_scoped_typing_task() {
/// `dispatch.rs` ever reverts to calling `run_tool_call_loop` directly,
/// this test will start failing because the stub handler won't be invoked.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn dispatch_routes_through_agent_run_turn_bus_handler() {
// Install a typed stub for `agent.run_turn` via the shared
// `mock_agent_run_turn` helper. The returned guard holds the
@@ -350,7 +345,6 @@ async fn dispatch_routes_through_agent_run_turn_bus_handler() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn channel_processed_event_records_resolved_agent_route() {
crate::core::bus::init().await.expect("bus init");
let mut events = crate::core::bus::BUS
@@ -459,7 +453,6 @@ async fn channel_processed_event_records_resolved_agent_route() {
/// `prepare_messages_for_provider` rejects the marker with
/// `TooManyFiles` before any disk access.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_hardens_multimodal_files_against_smuggled_markers() {
let captured: Arc<Mutex<Option<crate::config::MultimodalFileConfig>>> =
Arc::new(Mutex::new(None));
@@ -553,7 +546,6 @@ async fn process_channel_message_hardens_multimodal_files_against_smuggled_marke
/// every inbound channel message, so `[FILE:./local.txt]` is also
/// barred from reading server-local files.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_hardens_against_relative_path_markers() {
let captured: Arc<Mutex<Option<crate::config::MultimodalFileConfig>>> =
Arc::new(Mutex::new(None));
@@ -623,7 +615,6 @@ async fn process_channel_message_hardens_against_relative_path_markers() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn dispatch_replies_with_timeout_notice_when_handler_exceeds_deadline() {
let timed_out = run_dispatch_harness(DispatchHarnessOptions {
channel_name: "email".to_string(),
diff --git a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
index 35be1786b9..11356dae45 100644
--- a/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
+++ b/crates/openhuman-core/src/channels/tests/runtime_tool_calls.rs
@@ -16,7 +16,6 @@ use tinychannels_bus as traits;
use tinyinference_llm::model::ChatModel;
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_executes_native_tool_calls() {
let _bus_guard = super::common::use_real_agent_handler().await;
let channel_impl = Arc::new(RecordingChannel::default());
@@ -74,7 +73,6 @@ async fn process_channel_message_executes_native_tool_calls() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_handles_models_command_without_llm_call() {
let _bus_guard = super::common::use_real_agent_handler().await;
let channel_impl = Arc::new(TelegramRecordingChannel::default());
@@ -156,7 +154,6 @@ async fn process_channel_message_handles_models_command_without_llm_call() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_uses_route_override_provider_and_model() {
let _bus_guard = super::common::use_real_agent_handler().await;
let channel_impl = Arc::new(TelegramRecordingChannel::default());
@@ -241,7 +238,6 @@ async fn process_channel_message_uses_route_override_provider_and_model() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_respects_configured_max_tool_iterations_above_default() {
let _bus_guard = super::common::use_real_agent_handler().await;
let channel_impl = Arc::new(RecordingChannel::default());
@@ -301,7 +297,6 @@ async fn process_channel_message_respects_configured_max_tool_iterations_above_d
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn process_channel_message_reports_configured_max_tool_iterations_limit() {
let _bus_guard = super::common::use_real_agent_handler().await;
let channel_impl = Arc::new(RecordingChannel::default());
diff --git a/crates/openhuman-core/src/channels/tests/telegram_integration.rs b/crates/openhuman-core/src/channels/tests/telegram_integration.rs
index 94331265a1..7ab7c5acdf 100644
--- a/crates/openhuman-core/src/channels/tests/telegram_integration.rs
+++ b/crates/openhuman-core/src/channels/tests/telegram_integration.rs
@@ -110,7 +110,6 @@ fn make_test_context(
/// Regression: thread_ts set on the inbound ChannelMessage must be forwarded
/// unchanged to channel.send() so Telegram can visibly attach the reply.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn inbound_thread_ts_is_forwarded_to_channel_send() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(FullRecordingChannel::default());
@@ -149,7 +148,6 @@ async fn inbound_thread_ts_is_forwarded_to_channel_send() {
/// Regression: when there is no thread context (thread_ts = None), the channel
/// send must also receive thread_ts = None — no phantom thread attachment.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn no_thread_ts_on_inbound_message_results_in_none_on_send() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(FullRecordingChannel::default());
@@ -186,7 +184,6 @@ async fn no_thread_ts_on_inbound_message_results_in_none_on_send() {
/// dispatch layer must pass it to channel.send() with the correct thread_ts so
/// TelegramChannel can call setMessageReaction against the right message id.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn reaction_marker_in_llm_response_is_passed_to_channel_send() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(FullRecordingChannel::default());
@@ -236,7 +233,6 @@ async fn reaction_marker_in_llm_response_is_passed_to_channel_send() {
/// Uses a 20ms provider delay so the first interval tick (which fires immediately
/// in tokio) has time to call start_typing before the cancellation arrives.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn typing_indicator_starts_and_stops_once_per_message() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(FullRecordingChannel::default());
@@ -366,7 +362,6 @@ impl Channel for TelegramReactingChannel {
/// the `supports_reactions()` capability flag is honored in both
/// directions.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn telegram_threaded_inbound_emits_ack_reaction_then_reply() {
let _bus_guard = super::common::use_real_agent_handler().await;
let recorder = Arc::new(TelegramReactingChannel::default());
diff --git a/crates/openhuman-core/src/threads/store/bus_tests.rs b/crates/openhuman-core/src/threads/store/bus_tests.rs
index 0f6a54dcd5..f63dfcc269 100644
--- a/crates/openhuman-core/src/threads/store/bus_tests.rs
+++ b/crates/openhuman-core/src/threads/store/bus_tests.rs
@@ -16,7 +16,6 @@ fn subscriber_reads_rebound_workspace_from_shared_handle() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn persists_inbound_and_processed_turns_into_workspace_thread() {
let temp = TempDir::new().expect("tempdir");
let subscriber = ConversationPersistenceSubscriber::new(temp.path().to_path_buf());
@@ -85,7 +84,6 @@ async fn persists_inbound_and_processed_turns_into_workspace_thread() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn telegram_thread_ts_does_not_split_persisted_thread() {
let temp = TempDir::new().expect("tempdir");
let subscriber = ConversationPersistenceSubscriber::new(temp.path().to_path_buf());
@@ -121,7 +119,6 @@ async fn telegram_thread_ts_does_not_split_persisted_thread() {
}
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn duplicate_events_do_not_append_duplicate_messages() {
let temp = TempDir::new().expect("tempdir");
let subscriber = ConversationPersistenceSubscriber::new(temp.path().to_path_buf());
@@ -180,7 +177,6 @@ fn non_empty_trimmed_rejects_blank_strings() {
/// Positive control: a `ChannelMessageReceived` event whose workspace matches
/// the subscriber's workspace IS persisted.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn received_matching_workspace_is_persisted() {
let temp = TempDir::new().expect("tempdir");
let subscriber = ConversationPersistenceSubscriber::new(temp.path().to_path_buf());
@@ -237,7 +233,6 @@ async fn received_stale_workspace_is_dropped() {
/// `ChannelMessageProcessed` with matching workspace is appended correctly
/// (positive control for the processed-event guard).
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn processed_matching_workspace_is_appended() {
let temp = TempDir::new().expect("tempdir");
let subscriber = ConversationPersistenceSubscriber::new(temp.path().to_path_buf());
@@ -286,7 +281,6 @@ async fn processed_matching_workspace_is_appended() {
/// even if a prior `ChannelMessageReceived` for the correct workspace was already
/// persisted.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn processed_stale_workspace_is_dropped() {
let temp = TempDir::new().expect("tempdir");
let stale = TempDir::new().expect("stale tempdir");
@@ -340,7 +334,6 @@ async fn processed_stale_workspace_is_dropped() {
/// 3. `ChannelMessageProcessed` from workspace A — persisted.
/// Verify only workspace A's events appear.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn workspace_switch_mid_conversation() {
let workspace_a = TempDir::new().expect("workspace_a");
let workspace_b = TempDir::new().expect("workspace_b");
@@ -447,7 +440,6 @@ async fn multiple_stale_workspaces_all_dropped() {
/// After a stale event is dropped, a subsequent matching-workspace event is
/// still persisted correctly.
#[tokio::test]
-#[ignore = "blocked on the linked tinychannels-module fixture (tinybus epic, #7739)"]
async fn correct_workspace_after_stale_events() {
let temp = TempDir::new().expect("tempdir");
let stale = TempDir::new().expect("stale tempdir");