Skip to content

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

style: reformat long lines in runtime subscribers

Steven Enamakel26531780ec82
diff --git a/crates/openhuman-core/src/core/runtime/subscribers.rs b/crates/openhuman-core/src/core/runtime/subscribers.rs
index 7c16f9d74d..a6d9b9ab13 100644
--- a/crates/openhuman-core/src/core/runtime/subscribers.rs
+++ b/crates/openhuman-core/src/core/runtime/subscribers.rs
@@ -325,9 +325,7 @@ pub(super) fn register_domain_subscribers(
}
}
} else {
- log::debug!(
- "[event_bus] channel-inbound subscriber SKIPPED — Channels domain disabled"
- );
+ log::debug!("[event_bus] channel-inbound subscriber SKIPPED — Channels domain disabled");
}
#[cfg(not(feature = "channels"))]
log::debug!(
diff --git a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs b/crates/openhuman-core/src/core/runtime/subscribers_tests.rs
index 0efc474361..a3f16f2cb8 100644
--- a/crates/openhuman-core/src/core/runtime/subscribers_tests.rs
+++ b/crates/openhuman-core/src/core/runtime/subscribers_tests.rs
@@ -228,11 +228,13 @@ async fn proactive_message_reaches_web_on_channelless_core_boot() {
&crate::core::runtime::DispatchCtx::ambient(),
);
- crate::core::bus::BUS.publish(crate::core::events::DomainEvent::ProactiveMessageRequested {
- source: "cron:test".into(),
- message: "Your morning briefing is ready.".into(),
- job_name: Some("morning-briefing".into()),
- });
+ crate::core::bus::BUS.publish(
+ crate::core::events::DomainEvent::ProactiveMessageRequested {
+ source: "cron:test".into(),
+ message: "Your morning briefing is ready.".into(),
+ job_name: Some("morning-briefing".into()),
+ },
+ );
let event = tokio::time::timeout(std::time::Duration::from_secs(2), async {
loop {
@@ -250,5 +252,8 @@ async fn proactive_message_reaches_web_on_channelless_core_boot() {
.await
.expect("proactive message should reach the web event stream");
assert_eq!(event.event, "proactive_message");
- assert_eq!(event.full_response.as_deref(), Some("Your morning briefing is ready."));
+ assert_eq!(
+ event.full_response.as_deref(),
+ Some("Your morning briefing is ready.")
+ );
}