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(threads): isolate edit and regenerate tests with persistent storage
Steven Enamakel9d68159eaefd
diff --git a/crates/openhuman-core/src/threads/ops/edit_tests.rs b/crates/openhuman-core/src/threads/ops/edit_tests.rsindex 800ac80985..4e13591a50 100644--- a/crates/openhuman-core/src/threads/ops/edit_tests.rs+++ b/crates/openhuman-core/src/threads/ops/edit_tests.rs@@ -288,6 +288,8 @@ fn truncate_transcript_for_regenerate_returns_none_when_thread_has_no_transcript#[test]fn a_profile_prefixed_key_round_trips_through_edit_and_regenerate() {let dir = TempDir::new().expect("tempdir");+ #[cfg(feature = "storage-sqlite")]+ crate::storage::local::use_persistent_default_for_test(dir.path());let config = crate::config::Config {workspace_dir: dir.path().to_path_buf(),..crate::config::Config::default()@@ -398,6 +400,8 @@ async fn edit_and_regenerate_use_the_threads_recorded_key_after_a_chat_agent_chause crate::core::runtime::{ContextOverlay, CoreContext, DispatchCtx, DomainSet};let _ = crate::agent_registry::host_definition::AgentDefinitionRegistry::init_global_builtins();let dir = TempDir::new().expect("tempdir");+ #[cfg(feature = "storage-sqlite")]+ crate::storage::local::use_persistent_default_for_test(dir.path());let ctx_with = |chat_agent: Option<&str>| {let mut config = crate::config::Config {workspace_dir: dir.path().to_path_buf(),