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
feat(memory): add tests for layout migration and tool writes
Steven Enamakelff35b100ff09
diff --git a/crates/openhuman-core/src/memory/layout_migration/service_tests.rs b/crates/openhuman-core/src/memory/layout_migration/service_tests.rsindex 9312181a66..35b047e96e 100644--- a/crates/openhuman-core/src/memory/layout_migration/service_tests.rs+++ b/crates/openhuman-core/src/memory/layout_migration/service_tests.rs@@ -132,6 +132,7 @@ async fn retry_puts_a_lost_copy_back_in_line() {let state = retry(&config).unwrap();assert!(!state.caught_up && !state.cleaning);assert!(start(+ &crate::core::runtime::DispatchCtx::ambient(),config.clone(),host.clone(),Trigger::Manual { takeover: false },diff --git a/crates/openhuman-core/src/memory/tool_writes_tests.rs b/crates/openhuman-core/src/memory/tool_writes_tests.rsindex b934946063..7a821ba722 100644--- a/crates/openhuman-core/src/memory/tool_writes_tests.rs+++ b/crates/openhuman-core/src/memory/tool_writes_tests.rs@@ -424,7 +424,7 @@ async fn an_erase_fence_waits_for_only_the_current_write_and_preserves_later_enq&facts(&config),).unwrap();- schedule(&crate::core::runtime::DispatchCtx::ambient(), Arc::new(config.clone()), &Namespace::ROOT);+ schedule(&crate::core::runtime::DispatchCtx::ambient(), Arc::new(config.clone()), &Namespace::ROOT);engine.entered.notified().await;let fence_config = config.clone();let fencing = tokio::spawn(async move { fence_and_clear(&crate::core::runtime::DispatchCtx::ambient(), &fence_config).await });@@ -458,7 +458,7 @@ async fn an_erase_fence_waits_for_only_the_current_write_and_preserves_later_enq&facts(&config),).unwrap();- schedule(&crate::core::runtime::DispatchCtx::ambient(), Arc::new(config.clone()), &Namespace::ROOT);+ schedule(&crate::core::runtime::DispatchCtx::ambient(), Arc::new(config.clone()), &Namespace::ROOT);assert_eq!(read(&config.workspace_dir).unwrap().len(), 2);drop(fence);drain(&config).await;