Skip to content

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

test(tinyflows): remove ignore attribute from node test

Steven Enamakelfff90174ec07
diff --git a/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
index da680fb55a..3568ecfa75 100644
--- a/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
+++ b/crates/openhuman-core/src/flows/tinyflows/tinyflows_capabilities_tests.rs
@@ -87,12 +87,19 @@ async fn engine_run_drives_trigger_to_http_request_through_the_real_seam() {
// ── Code adapter ──────────────────────────────────────────────────────────
-/// Requires `node` on `PATH`. Ignored by default (per the B1 test plan);
-/// run explicitly with `cargo test -- --ignored` on a host with Node
-/// installed.
+/// Requires `node` on `PATH` (the code node runs the host's Node under the
+/// sandbox). Runs by default; on a host without Node it prints a `SKIPPED`
+/// line instead of failing.
#[tokio::test]
-#[ignore = "requires a `node` binary on PATH"]
async fn code_adapter_javascript_passthrough_round_trips_json() {
+ if std::process::Command::new("node")
+ .arg("--version")
+ .output()
+ .is_err()
+ {
+ eprintln!("SKIPPED (not run, not asserted): no `node` binary on PATH");
+ return;
+ }
let tmp = TempDir::new().unwrap();
let config = test_config(&tmp);
let security = Arc::new(SecurityPolicy::from_config(