Skip to content

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

fix(scripts): append extra e2e features to product feature set

Steven Enamakelf19bad11f3c1
diff --git a/scripts/test-rust-e2e.sh b/scripts/test-rust-e2e.sh
index 7ab8f199f3..0f88e73e11 100755
--- a/scripts/test-rust-e2e.sh
+++ b/scripts/test-rust-e2e.sh
@@ -172,6 +172,10 @@ fi
# them with Cargo's default feature set makes the runner fail before a test can
# execute. Keep this list in the same canonical source as `pnpm test:rust`.
PRODUCT_FEATURES="$(bash "$REPO_ROOT/scripts/ci/product-features.sh")"
+# scripts/e2e-core.sh adds a storage driver (storage-mongodb) the product set lacks.
+if [ -n "${OPENHUMAN_E2E_EXTRA_FEATURES:-}" ]; then
+ PRODUCT_FEATURES="$PRODUCT_FEATURES,$OPENHUMAN_E2E_EXTRA_FEATURES"
+fi
module_target="$(bash "$SCRIPT_DIR/ci/native-test-module-platform.sh")"
IFS=$'\t' read -r module_ext module_platform <<< "$module_target"