The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
test(rust-e2e): cover staged fixtures and local-only module builds
Steven Enamakeld6b431e074d5
diff --git a/scripts/__tests__/rust-e2e-enumeration.test.mjs b/scripts/__tests__/rust-e2e-enumeration.test.mjsindex e35f0021aa..6c570f1183 100644--- a/scripts/__tests__/rust-e2e-enumeration.test.mjs+++ b/scripts/__tests__/rust-e2e-enumeration.test.mjs@@ -243,7 +243,7 @@ test("mcp_registry_e2e runs serially because its module state is process-global");});-test("the E2E runner builds its search and connector fixtures and puts them on the module path", () => {+test("the E2E runner stages released search and connector fixtures, and builds only in local source mode", () => {const source = fs.readFileSync(runner, "utf8");const start = source.indexOf("# Module-backed Composio coverage");const end = source.indexOf('echo "[rust-e2e] Running', start);diff --git a/scripts/test-rust-e2e.sh b/scripts/test-rust-e2e.shindex df21cfcb35..e13171f613 100755--- a/scripts/test-rust-e2e.sh+++ b/scripts/test-rust-e2e.sh@@ -194,16 +194,18 @@ elsedonefi-# Module-backed Composio coverage must use the pinned local artifact as well.-# Without it the core resolves TinyConnectors through release metadata, turning-# an otherwise hermetic mock-backend suite into a network dependency and-# permanently faulting that process when the lookup fails. The isolated-# module-admission suite likewise needs a real native search module; never fall-# back to release downloads in a test. build.mjs stages each library with a-# modules.toml carrying the operator-trust digest.-echo "[rust-e2e] Building pinned local test modules: ${e2e_source_ids[*]} ..."-stage_source_modules "${e2e_source_ids[@]}"-for source_id in "${e2e_source_ids[@]}"; do+# Module-backed Composio coverage must use a staged artifact as well. Without+# it the core resolves TinyConnectors through release metadata at run time,+# turning an otherwise hermetic mock-backend suite into a network dependency+# and permanently faulting that process when the lookup fails. The isolated+# module-admission suite likewise needs a real native search module. The+# released archives are staged above (digest-verified); only the local+# OPENHUMAN_MODULE_SOURCE=source mode builds anything, through build.mjs.+if [ "${#e2e_source_ids[@]}" -gt 0 ]; then+ echo "[rust-e2e] Building pinned local test modules: ${e2e_source_ids[*]} ..."+ stage_source_modules "${e2e_source_ids[@]}"+fi+for source_id in ${e2e_source_ids[@]+"${e2e_source_ids[@]}"}; doexport OPENHUMAN_MODULE_PATH="$REPO_ROOT/target/module-sources/$source_id${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}"done