Skip to content

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

chore(storage): add host bus tests

Steven Enamakel52dfa77339ac
diff --git a/crates/openhuman-core/src/modules/storage_host_bus_tests.rs b/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
index 86f26da176..d2c3f1368f 100644
--- a/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
+++ b/crates/openhuman-core/src/modules/storage_host_bus_tests.rs
@@ -157,21 +157,7 @@ async fn the_bus_hands_the_host_the_brokers_sender_and_nothing_else() {
Arc::clone(&rig.env) as Arc<dyn Environment>,
Arc::clone(&rig.trail) as Arc<dyn AuditSink>,
));
- for object in [Object::Documents, Object::Secrets] {
- let path = ObjectPath::new(format!("{OBJECT_ROOT}/{}", object.as_str())).unwrap();
- service
- .serve_at(
- path,
- ObjectService {
- runtime: None,
- object,
- host: Arc::clone(&host),
- },
- )
- .await
- .unwrap();
- }
- service.request_name(STORAGE_INTERFACE).await.unwrap();
+ let _served = serve_objects(&service, &host, None).await.unwrap();
let documents = |from: &Connection| {
from.proxy(