Skip to content

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

fix(runtime): subscribe tracing subscriber to the event bus

Steven Enamakel81904cc3fcc4
diff --git a/crates/openhuman-core/src/core/runtime/subscribers.rs b/crates/openhuman-core/src/core/runtime/subscribers.rs
index cec5106379..83512739fc 100644
--- a/crates/openhuman-core/src/core/runtime/subscribers.rs
+++ b/crates/openhuman-core/src/core/runtime/subscribers.rs
@@ -164,7 +164,11 @@ pub(super) fn register_domain_subscribers(
static INFRA: Once = Once::new();
INFRA.call_once(|| {
// Debug-log every domain event; the handle lives for the process.
- // EXPERIMENT
+ if let Some(handle) =
+ crate::core::bus::BUS.subscribe(Arc::new(crate::core::bus::TracingSubscriber))
+ {
+ std::mem::forget(handle);
+ }
crate::platform::health::bus::register_health_subscriber();
// Initialise the scheduler gate before any background AI workers start