Skip to content

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

test(orchestration): re-export Drain for background delivery tests

Steven Enamakel3026b24484e9
diff --git a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
index 0a54ef03ae..e9cd18a2c2 100644
--- a/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
+++ b/crates/openhuman-core/src/agent/orchestration/background_delivery.rs
@@ -53,6 +53,8 @@ use super::delivery_drain::{DrainFence, RECOVERY_BUSY_POLL};
#[path = "delivery_events.rs"]
mod delivery_events;
use crate::core::runtime::CoreContext;
+#[cfg(test)]
+pub(super) use delivery_events::Drain;
pub(super) use delivery_events::{drain_schedule_in, owning_profiles};
/// Coalesce completions landing within this window into one delivery turn.