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(profiles): install sqlite backend for profile tests
Steven Enamakelab5822501f91
diff --git a/crates/openhuman-core/src/profiles/host.rs b/crates/openhuman-core/src/profiles/host.rsindex b6dcd910b8..06b5b949ac 100644--- a/crates/openhuman-core/src/profiles/host.rs+++ b/crates/openhuman-core/src/profiles/host.rs@@ -305,6 +305,25 @@ impl ProfileHost {let mut config = self.serving_config(&layout, id).map_err(OpenError::Storage)?;+ // A profile context carries a write fence that depends on atomic+ // storage conditions. The default testkit backend intentionally+ // lacks them, so mirror the production SQLite default in profile+ // tests unless a backend was installed by the test.+ #[cfg(all(test, feature = "storage-sqlite"))]+ if crate::storage::installed().is_none() {+ crate::storage::local::use_persistent_default_for_test(&config.workspace_dir);+ }+ #[cfg(all(test, feature = "storage-sqlite"))]+ {+ let backend = crate::storage::local::backend_for(&config.workspace_dir)+ .expect("profile test backend opens");+ eprintln!(+ "profile test backend installed={} capabilities={:?} workspace={}",+ crate::storage::installed().is_some(),+ backend.capabilities(),+ config.workspace_dir.display()+ );+ }if let Some(capabilities) = &self.capabilities {capabilities.configure(&mut config);}