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
fix(tests): write mock config for all user directories in memory v2 e2e
Steven Enamakele147c05e2f2f
diff --git a/tests/memory_v2_e2e.rs b/tests/memory_v2_e2e.rsindex 0822fd267f..e7f4668231 100644--- a/tests/memory_v2_e2e.rs+++ b/tests/memory_v2_e2e.rs@@ -162,10 +162,15 @@ impl Fixture {EnvVarGuard::set("OPENHUMAN_KEYRING_BACKEND", "file"),];write_config(&home.path().join(".openhuman"), &mock.origin);- write_config(- &home.path().join(".openhuman").join("users").join("local"),- &mock.origin,- );+ // Signing in moves the core to `users/<id>/`; every user dir a test+ // signs into must point at the mock too, or the signed-in core falls+ // back to the default (real) backend origin.+ for user in ["local", MOCK_USER_ID, "second-user"] {+ write_config(+ &home.path().join(".openhuman").join("users").join(user),+ &mock.origin,+ );+ }let (addr, join) = serve_rpc().await;let fixture = Self {rpc_base: format!("http://{addr}"),