Skip to content

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

fix(trigger): make InFlightGuard visible within the crate

Steven Enamakeld313334a0a39
diff --git a/crates/openhuman-core/src/flows/bus/trigger.rs b/crates/openhuman-core/src/flows/bus/trigger.rs
index 176186ed3b..9fc7f26695 100644
--- a/crates/openhuman-core/src/flows/bus/trigger.rs
+++ b/crates/openhuman-core/src/flows/bus/trigger.rs
@@ -220,7 +220,7 @@ impl FlowTriggerSubscriber {
/// claim. Removing the `flow_id` on `Drop` (rather than only on the happy
/// path) means a panicking or erroring `flows_run` still frees the flow up
/// for its next trigger tick.
-struct InFlightGuard {
+pub(super) struct InFlightGuard {
set: Arc<Mutex<HashSet<String>>>,
flow_id: String,
}