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
fix(ci): reuse trusted staged modules in Rust E2E
Steven Enamakel5a0a745296e2
diff --git a/scripts/__tests__/test-module-installation.test.mjs b/scripts/__tests__/test-module-installation.test.mjsindex 50a5ba9dec..e115b1f5c9 100644--- a/scripts/__tests__/test-module-installation.test.mjs+++ b/scripts/__tests__/test-module-installation.test.mjs@@ -481,6 +481,14 @@ for (const runner of ["test-rust-with-mock.sh", "test-rust-e2e.sh"]) {});}+test("the Rust E2E runner reuses container-staged module paths", () => {+ const installerSource = readFileSync(installer, "utf8");+ const runnerSource = readFileSync(rustE2eRunner, "utf8");+ assert.match(installerSource, /OPENHUMAN_TEST_MODULES_STAGED=1/);+ assert.match(runnerSource, /OPENHUMAN_TEST_MODULES_STAGED/);+ assert.match(runnerSource, /pre-staged native modules/);+});+test("the CI installer builds nothing: every module, tinyconnectors included, is a registry release", () => {const source = readFileSync(installer, "utf8");assert.doesNotMatch(source, /cargo build|cargo-cancel|--target-dir/);diff --git a/scripts/ci/self-hosted/install-test-modules.sh b/scripts/ci/self-hosted/install-test-modules.shindex 5e3bebd118..2c8c67e30e 100755--- a/scripts/ci/self-hosted/install-test-modules.sh+++ b/scripts/ci/self-hosted/install-test-modules.sh@@ -75,5 +75,6 @@ fi{echo "OPENHUMAN_MODULE_PATH=${module_dirs}${OPENHUMAN_MODULE_PATH:+:$OPENHUMAN_MODULE_PATH}"echo "OPENHUMAN_TINYMCP_TEST_MODULE=${tinymcp_artifact}"+ echo "OPENHUMAN_TEST_MODULES_STAGED=1"} > "${env_file}"log "wrote ${env_file}"diff --git a/scripts/test-rust-e2e.sh b/scripts/test-rust-e2e.shindex e2d4e8c9bf..1891171485 100755--- a/scripts/test-rust-e2e.sh+++ b/scripts/test-rust-e2e.sh@@ -223,6 +223,8 @@ source "$SCRIPT_DIR/modules/stage-local-modules.sh"e2e_source_ids=()if local_module_source_is_source; thene2e_source_ids+=(tinyconnectors tinysearch tinybox tinymcp)+elif [ "${OPENHUMAN_TEST_MODULES_STAGED:-}" = "1" ]; then+ echo "[rust-e2e] Using pre-staged native modules from OPENHUMAN_MODULE_PATH."else# Shell command analysis and the storage URL E2E suites load TinyBox through# the native module path; the ignored MCP registry cases need TinyMCP. Both