Skip to content

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

test(in-process): remove obsolete modules policy setup from e2e harness

Steven Enamakela8065774991d
diff --git a/tests/in_process/domain_modules_e2e.rs b/tests/in_process/domain_modules_e2e.rs
index 8d4b531246..796785a758 100644
--- a/tests/in_process/domain_modules_e2e.rs
+++ b/tests/in_process/domain_modules_e2e.rs
@@ -38,22 +38,6 @@ async fn setup() -> TestHarness {
EnvVarGuard::set("OPENHUMAN_MEMORY_EMBED_MODEL", ""),
];
- // The HTTP router is intentionally transport-only and does not construct a
- // Core runtime context. Memory-backed RPC reads still need the explicit
- // tinymemory host seams before they can load their configured provider.
- // Same rule for the modules policy, which became load-bearing when the
- // status RPCs started reading diagnostics through the bound driver
- // (#5560): resolving a driver refuses outright until boot publishes the
- // config to load against — "call modules::memory::set_modules_policy
- // during boot" — and this harness is the boot. With the policy published,
- // the provider loads the artifact CI installs (TINYMEMORY_TEST_MODULE);
- // where none is present the binding degrades to its null placeholder and
- // the diagnostics answer empty, which is a round-trippable result rather
- // than a JSON-RPC error.
- openhuman_core::modules::memory::set_modules_policy(std::sync::Arc::new(
- openhuman_core::config::Config::default(),
- ));
-
let (addr, join) = serve_rpc().await;
TestHarness {
_tmp: tmp,