Skip to content

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

ci: supply connectors fixture to rust e2e

Steven Enamakela8841ee023d0
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.yml
index 41558bc560..b7a1f3f032 100644
--- a/.github/workflows/ci-full.yml
+++ b/.github/workflows/ci-full.yml
@@ -137,10 +137,11 @@ jobs:
module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
memory_dir="$module_root/tinymemory"
juice_dir="$module_root/tinyjuice"
+ connectors_dir="$module_root/tinyconnectors"
memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"
juice_archive="$juice_dir/tinyjuice-module-0.2.2-ubuntu-22.04-x86_64.tar.gz"
- rm -rf "$memory_dir" "$juice_dir"
- mkdir -p "$memory_dir" "$juice_dir"
+ rm -rf "$memory_dir" "$juice_dir" "$connectors_dir"
+ mkdir -p "$memory_dir" "$juice_dir" "$connectors_dir"
curl --fail --location --silent --show-error --retry 4 --retry-delay 2 \
"https://github.com/tinyhumansai/tinymemory/releases/download/v${memory_version}/$(basename "$memory_archive")" \
--output "$memory_archive"
@@ -153,10 +154,16 @@ jobs:
| sha256sum --check
tar --no-same-owner -xzf "$memory_archive" -C "$memory_dir"
tar --no-same-owner -xzf "$juice_archive" -C "$juice_dir"
+ bash scripts/ci-cancel-aware.sh cargo build --release \
+ --manifest-path vendor/tinyconnectors/crates/tinyconnectors/Cargo.toml
+ cp vendor/tinyconnectors/target/release/libtinyconnectors.so \
+ "$connectors_dir/libtinyconnectors.so"
echo "TINYMEMORY_TEST_MODULE=$memory_dir/libtinymemory_module.so" \
>> "$GITHUB_ENV"
echo "TINYJUICE_TEST_MODULE=$juice_dir/libtinyjuice_module.so" \
>> "$GITHUB_ENV"
+ echo "TINYCONNECTORS_TEST_MODULE=$connectors_dir/libtinyconnectors.so" \
+ >> "$GITHUB_ENV"
- name: Run Rust E2E suite
# Wrapped so the cancellation watchdog covers the whole suite (mock