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): re-enable telegram remote binding round-trip test
Steven Enamakel215619f9db10
diff --git a/crates/openhuman-core/src/channels/routes_command_tests.rs b/crates/openhuman-core/src/channels/routes_command_tests.rsindex 5311cf78ca..a8acbd2603 100644--- a/crates/openhuman-core/src/channels/routes_command_tests.rs+++ b/crates/openhuman-core/src/channels/routes_command_tests.rs@@ -160,10 +160,13 @@ async fn handle_runtime_command_telegram_sessions_reports_empty_store() {}#[tokio::test]-#[ignore = "remote chat bindings are owned by tinychannels and require its host-storage callback fixture; covered by vendor/tinychannels remote tests"]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());+ let _storage = crate::channels::module_fixture::install_memory_storage();+ let mut ctx = runtime_context(tempdir.path().to_path_buf());+ // Unit-test module calls use the linked fixture, which installs the+ // host-storage callbacks TinyChannels needs for durable remote bindings.+ ctx.config = None;let channel_impl = Arc::new(RecordingChannel::default());let channel: Arc<dyn Channel> = channel_impl.clone();let sender_key = "telegram_alice_chat-remote";@@ -262,7 +265,11 @@ async fn handle_runtime_command_telegram_new_status_and_sessions_round_trip() {let sent = channel_impl.sent.lock().unwrap();assert_eq!(sent.len(), 3);- assert!(sent_text(&sent[0]).contains("Started new session"));+ assert!(+ sent_text(&sent[0]).contains("Started new session"),+ "unexpected /new reply: {}",+ sent_text(&sent[0])+ );assert!(sent_text(&sent[0]).contains("In-memory channel history cleared for this chat."));assert!(sent_text(&sent[1]).contains("**Status**"));diff --git a/tests/json_rpc_flows_e2e.rs b/tests/json_rpc_flows_e2e.rsindex 7f2e9fb17e..49d568a29e 100644--- a/tests/json_rpc_flows_e2e.rs+++ b/tests/json_rpc_flows_e2e.rs@@ -212,7 +212,7 @@ async fn json_rpc_cron_manual_worker_survives_caller_cancel_on_published_tinyflo.await.unwrap().expect("the released module wrote the v2 job through the host callback");- assert_eq!(migrated.meta.created_ms, 1772600767123_i64);+ assert_eq!(migrated.doc["created_ms"], 1772600767123_i64);for (collection, id) in [("cron_jobs", "legacy-migration-proof"),("cron_runs", "00000000000000000007"),