Skip to content

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

fix(ops): gate compat re-exports with cfg(test)

Steven Enamakel7565062ce500
diff --git a/src/openhuman/flows/ops.rs b/src/openhuman/flows/ops.rs
index b7a48a0b14..b99345d74c 100644
--- a/src/openhuman/flows/ops.rs
+++ b/src/openhuman/flows/ops.rs
@@ -170,6 +170,7 @@ pub(crate) fn max_sub_workflow_depth(graph: &WorkflowGraph) -> u64 {
// because this module's tests assert on them by name — which is the point of a
// stable code, and what keeps a rename upstream a compile error here rather
// than a silently-passing `contains`.
+#[cfg(test)]
pub(crate) use tinyflows::compat::{
UNSUPPORTED_MAIN_PORT_CONDITIONAL_FAN_IN, UNSUPPORTED_NESTED_CONDITIONAL_FAN_IN,
};