Skip to content

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

chore(ci): update test scripts for self-hosted module installation

Steven Enamakelb6fde4195dd7
diff --git a/scripts/ci/self-hosted/install-test-modules.sh b/scripts/ci/self-hosted/install-test-modules.sh
index 21a9bdbce5..cd5ad26544 100755
--- a/scripts/ci/self-hosted/install-test-modules.sh
+++ b/scripts/ci/self-hosted/install-test-modules.sh
@@ -73,7 +73,6 @@ mkdir -p "${dest}/tinyconnectors"
cp "${conn_cached}" "${dest}/tinyconnectors/libtinyconnectors.so"
{
- echo "TINYMEMORY_TEST_MODULE=${dest}/tinymemory/libtinymemory_module.so"
echo "TINYJUICE_TEST_MODULE=${dest}/tinyjuice/libtinyjuice_module.so"
echo "TINYSEARCH_TEST_MODULE=${dest}/tinysearch/libtinysearch.so"
echo "TINYCONNECTORS_TEST_MODULE=${dest}/tinyconnectors/libtinyconnectors.so"
diff --git a/scripts/ci/self-hosted/test-module-assets.mjs b/scripts/ci/self-hosted/test-module-assets.mjs
index e3b332903a..7741faabda 100644
--- a/scripts/ci/self-hosted/test-module-assets.mjs
+++ b/scripts/ci/self-hosted/test-module-assets.mjs
@@ -17,7 +17,7 @@ const ROOT = join(dirname(fileURLToPath(import.meta.url)), "..", "..", "..");
const REGISTRY_DIR = join(ROOT, "crates/openhuman-core/src/modules");
/** Test modules the core suite loads, by registry record id. */
-export const TEST_MODULE_IDS = ["tinymemory", "tinyjuice", "tinysearch"];
+export const TEST_MODULE_IDS = ["tinyjuice", "tinysearch"];
/** Concatenate registry.rs and its `registry/records_*.rs` fragments. */
export function readRegistrySource(dir = REGISTRY_DIR) {
diff --git a/scripts/test-rust-e2e.sh b/scripts/test-rust-e2e.sh
index 38b8eedad2..0a2170dd0f 100755
--- a/scripts/test-rust-e2e.sh
+++ b/scripts/test-rust-e2e.sh
@@ -168,17 +168,6 @@ fi
# execute. Keep this list in the same canonical source as `pnpm test:rust`.
PRODUCT_FEATURES="$(bash "$REPO_ROOT/scripts/ci/product-features.sh")"
-# Memory-backed RPC tests use the pinned native module. Build the submodule
-# artifact when CI/local callers have not supplied an explicit release pin;
-# otherwise the clean E2E container falls back to unavailable release metadata.
-if [ -z "${TINYMEMORY_TEST_MODULE:-}" ]; then
- memory_manifest="vendor/tinymemory/crates/tinymemory-module/Cargo.toml"
- memory_module="vendor/tinymemory/crates/tinymemory-module/target/release/libtinymemory_module.so"
- echo "[rust-e2e] Building pinned TinyMemory test module ..."
- "$CARGO_BIN" build --release --manifest-path "$memory_manifest"
- export TINYMEMORY_TEST_MODULE="$REPO_ROOT/$memory_module"
-fi
-
# Module-backed Composio coverage must use the pinned local artifact as well.
# Without this override the core resolves TinyConnectors through release
# metadata, turning an otherwise hermetic mock-backend suite into a network
diff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.sh
index 7bea2f0c52..d736681005 100755
--- a/scripts/test-rust-with-mock.sh
+++ b/scripts/test-rust-with-mock.sh
@@ -114,18 +114,6 @@ case "$(uname -s):$(uname -m)" in
;;
esac
-# The product test surface exercises memory through its native module. CI builds
-# the pinned submodule and supplies this explicit override; mirror that setup
-# locally so the full runner never falls back to GitHub release metadata (which
-# makes an otherwise hermetic mock-backend suite network-bound).
-if [ -z "${TINYMEMORY_TEST_MODULE:-}" ]; then
- memory_manifest="vendor/tinymemory/crates/tinymemory-module/Cargo.toml"
- memory_module="vendor/tinymemory/crates/tinymemory-module/target/release/libtinymemory_module.$module_ext"
- echo "Building TinyMemory test module from the pinned submodule ..."
- cargo build --release --manifest-path "$memory_manifest"
- export TINYMEMORY_TEST_MODULE="$REPO_ROOT/$memory_module"
-fi
-
# Tokenjuice JSON-RPC coverage loads the production native module. Keep the
# test run hermetic by building the pinned submodule instead of falling back
# to GitHub release metadata.