Skip to content

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

fix(install): remove SDK shim guard and add separate binary test step

Steven Enamakel31e402094199
diff --git a/crates/openhuman-core/src/api/transport/install.rs b/crates/openhuman-core/src/api/transport/install.rs
index dc22ebaf2c..db9007283c 100644
--- a/crates/openhuman-core/src/api/transport/install.rs
+++ b/crates/openhuman-core/src/api/transport/install.rs
@@ -85,11 +85,9 @@ pub fn resolve_backend_transport() -> Result<Arc<dyn BackendTransport>, BackendT
// P1 shim: the SDK-backed transport compiled into the core until every
// host installs one from `openhuman-tinyhumans`. Removed with the SDK
// dependency.
- if std::env::var_os("OPENHUMAN_PROBE_NO_SHIM").is_none() {
if let Some(transport) = super::sdk_compat::SdkCompatTransport::shared() {
return Ok(transport);
}
- }
log::debug!("[backend-transport] no transport installed; backend unavailable");
Err(BackendTransportError::Unavailable)
}
diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.sh
index ccee6e3143..1d10462c6e 100755
--- a/scripts/test-rust-with-mock.sh
+++ b/scripts/test-rust-with-mock.sh
@@ -183,8 +183,11 @@ run_full_suite() {
# temporary executable paths). Keep this aggregate invocation deterministic;
# integration targets below retain their own, narrower isolation strategies.
TINYCONNECTORS_TEST_MODULE="${TINYCONNECTORS_TEST_MODULE:-$connectors_module}" \
- cargo_test --lib --bins -- --test-threads=1 \
+ cargo_test --lib -- --test-threads=1 \
--skip a_build_only_runtime_is_swept_before_it_can_be_invoked "$@"
+ # The core binary and the developer bins live in `crates/openhuman-cli`;
+ # `--workspace --bins` picks them up there (plus the TUI binary).
+ cargo_test --bins -- --test-threads=1 "$@"
run_build_only_reaper_test "$@"
cargo_test --doc -- "$@"