Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(runtime): correct builder test to use common test utilities

Steven Enamakel74498d5ceb86
diff --git a/crates/openhuman-embed/src/runtime/builder_tests.rs b/crates/openhuman-embed/src/runtime/builder_tests.rs
index adcf352ce0..d8b418ea03 100644
--- a/crates/openhuman-embed/src/runtime/builder_tests.rs
+++ b/crates/openhuman-embed/src/runtime/builder_tests.rs
@@ -31,14 +31,14 @@ fn inherited_workspace_without_a_host_credential_keeps_installed_session_policy(
#[test]
fn default_services_start_no_background_writers() {
- // cron, the login-gated services and the memory queue each write to the workspace on their
+ // cron, the login-gated services and memory sync each write to the workspace on their
// own schedule. A library call that started them would become a background
// process the caller never asked for.
let services = default_services();
assert!(services.harness_init, "the agent harness must be prepared");
assert!(!services.cron);
assert!(!services.login_gated);
- assert!(!services.memory_queue);
+ assert!(!services.memory_sync);
assert!(!services.rpc_http, "a library call binds no port");
assert!(!services.socketio);
assert!(!services.channels);
diff --git a/crates/openhuman-embed/tests/common/mod.rs b/crates/openhuman-embed/tests/common/mod.rs
index b3fd3d5b07..23fa209f68 100644
--- a/crates/openhuman-embed/tests/common/mod.rs
+++ b/crates/openhuman-embed/tests/common/mod.rs
@@ -25,22 +25,18 @@ pub fn chat_completion(content: &str) -> serde_json::Value {
})
}
-/// A config that keeps the turn offline: no local runtimes, no spaCy, no
-/// embeddings endpoint. Mirrors `crates/openhuman-core/src/bin/library_profile/harness.rs::fixture()`,
+/// A config that keeps the turn offline: no local runtimes and no
+/// conversation memory. Mirrors `crates/openhuman-core/src/bin/library_profile/harness.rs::fixture()`,
/// which is the recipe already proven against real turns.
pub fn offline_config() -> Config {
let mut config = Config::default();
config.local_ai.runtime_enabled = false;
config.runtime_python.enabled = false;
- config.memory_tree.spacy_enabled = false;
- config.memory_tree.embedding_endpoint = None;
- config.memory_tree.embedding_model = None;
- config.memory_tree.embedding_strict = false;
- // User-message memory autosave is intentionally fire-and-forget. It can
- // still be writing after a turn returns, which is useful in the product but
- // unrelated to these tests' contracts and would race the final
+ // Conversation memory ingest is intentionally fire-and-forget. It can
+ // still be buffering after a turn returns, which is useful in the product
+ // but unrelated to these tests' contracts and would race the final
// ephemeral-workspace cleanup assertion.
- config.memory.auto_save = false;
+ config.memory.conversations.enabled = false;
// Session-store dual writes and shadow reads are also deliberately
// fire-and-forget; leaving them on makes their detached filesystem work
// race the synchronous ephemeral cleanup.