Skip to content

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

test(flows): update graph wiring warning calls for new signature

Steven Enamakel4b112deba1a6
diff --git a/crates/openhuman-core/src/flows/ops_run_status_and_prompt_binding_tests.rs b/crates/openhuman-core/src/flows/ops_run_status_and_prompt_binding_tests.rs
index 225f92ecb8..cca14a8875 100644
--- a/crates/openhuman-core/src/flows/ops_run_status_and_prompt_binding_tests.rs
+++ b/crates/openhuman-core/src/flows/ops_run_status_and_prompt_binding_tests.rs
@@ -50,9 +50,9 @@ async fn graph_wiring_warnings_uses_the_probed_output_fields_when_schema_is_unkn
]
}));
assert!(
- graph_wiring_warnings(&crate::core::runtime::DispatchCtx::ambient(), &config, &real_field).await.unwrap().is_empty(),
+ graph_wiring_warnings(&config, &real_field).await.is_empty(),
"a probed-real field must not warn: {:?}",
- graph_wiring_warnings(&crate::core::runtime::DispatchCtx::ambient(), &config, &real_field).await.unwrap()
+ graph_wiring_warnings(&config, &real_field).await
);
// A binding to a field the probe did NOT observe — flagged, using the
@@ -72,7 +72,7 @@ async fn graph_wiring_warnings_uses_the_probed_output_fields_when_schema_is_unkn
{ "from_node": "post", "to_node": "xform" }
]
}));
- let warnings = graph_wiring_warnings(&crate::core::runtime::DispatchCtx::ambient(), &config, &fake_field).await.unwrap();
+ let warnings = graph_wiring_warnings(&config, &fake_field).await;
assert!(
warnings
.iter()