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(tree): add test for retry_failed_rpc with no driver bound
Steven Enamakel7badebe26152
diff --git a/crates/openhuman-core/src/memory/tree/tree/rpc_tests.rs b/crates/openhuman-core/src/memory/tree/tree/rpc_tests.rsindex a79db04267..ffb1e1671e 100644--- a/crates/openhuman-core/src/memory/tree/tree/rpc_tests.rs+++ b/crates/openhuman-core/src/memory/tree/tree/rpc_tests.rs@@ -22,6 +22,17 @@ fn test_config() -> (TempDir, Config) {(tmp, cfg)}+#[tokio::test]+async fn retry_failed_rpc_returns_an_outcome_when_no_driver_is_bound() {+ let (_tmp, cfg) = test_config();++ let outcome = super::retry_failed_rpc(&cfg).await.unwrap();++ assert_eq!(outcome.result.requeued, 0);+ assert_eq!(outcome.logs.len(), 1);+ assert!(outcome.logs[0].contains("retry_failed requeued=0"));+}+/// Bind a driver reporting fixed diagnostics as `cfg`'s memory driver.////// See `binding::FixedDiagnostics` for why the status handlers need one: