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(composio): cover cached module load failure reporting
Steven Enamakel55668999f409
diff --git a/crates/openhuman-core/src/integrations/composio/ops_direct_mode_and_error_classification_tests.rs b/crates/openhuman-core/src/integrations/composio/ops_direct_mode_and_error_classification_tests.rsindex 2c81ab4739..ac31d3f655 100644--- a/crates/openhuman-core/src/integrations/composio/ops_direct_mode_and_error_classification_tests.rs+++ b/crates/openhuman-core/src/integrations/composio/ops_direct_mode_and_error_classification_tests.rs@@ -203,6 +203,22 @@ async fn composio_execute_routes_through_direct_mode() {);}+#[cfg(feature = "crash-reporting")]+#[test]+fn a_cached_module_load_failure_is_not_reported_per_call() {+ // TAURI-RUST-117K: the connector module failed to load, the failure is+ // cached, and every composio call returned it. The load was reported once+ // at resolution; the op-layer funnel must not report it again per call.+ let error = "module 'tinyconnectors' could not be loaded from the installer bundle: \+ module `windows-2022-x86_64` refused: module directory is writable by \+ another user. Restart the app after repairing the installation. This is \+ terminal for the running process; restart the app to try again";+ let events = sentry::test::with_captured_events(|| {+ report_composio_op_error("list_connections", error);+ });+ assert!(events.is_empty(), "{events:?}");+}+// ── classify_composio_failure_tag ──────────────────────────────//// Pin the failure-tag routing for `report_composio_op_error` so the