Skip to content

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

test(flows): add test modules for import and checkpoint compatibility

Steven Enamakel9dbfcb46ed28
diff --git a/src/openhuman/flows/mod.rs b/src/openhuman/flows/mod.rs
index d093152044..f43edc7d97 100644
--- a/src/openhuman/flows/mod.rs
+++ b/src/openhuman/flows/mod.rs
@@ -30,6 +30,9 @@
pub mod agents;
pub mod builder_tools;
+#[cfg(test)]
+#[path = "import_tests.rs"]
+mod import_tests;
pub mod bus;
pub mod discovery_tools;
mod draft_store;
diff --git a/src/openhuman/flows/tinyflows/mod.rs b/src/openhuman/flows/tinyflows/mod.rs
index d2ec050e90..f0f480cf0b 100644
--- a/src/openhuman/flows/tinyflows/mod.rs
+++ b/src/openhuman/flows/tinyflows/mod.rs
@@ -16,6 +16,9 @@
//! [`langfuse_export::export_flow_run_trace`] after it settles.
pub mod caps;
+#[cfg(test)]
+#[path = "checkpoint_compat_tests.rs"]
+mod checkpoint_compat_tests;
pub mod langfuse_export;
pub mod memory_adapter;
/// End-to-end coverage for the `memory` node through the REAL engine + real