Skip to content

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

test(flows): log save_workflow output on fixture rejection

Steven Enamakela87de6ff5824
diff --git a/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
index a241bc8e75..8b5ad402bd 100644
--- a/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
+++ b/crates/openhuman-core/src/flows/builder_tools_save_and_edit_tests.rs
@@ -392,6 +392,9 @@ async fn save_workflow_accepts_correctly_schemad_graph() {
.await
.unwrap();
+ if result.is_error {
+ eprintln!("save_workflow rejected the fixture graph: {}", result.output());
+ }
assert!(!result.is_error, "{}", result.output());
let parsed: Value = serde_json::from_str(&result.output()).unwrap();
assert_eq!(parsed["type"], "workflow_saved");