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): provision TinyConnectors for Rust suites
Steven Enamakelfa7e0e94b247
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.ymlindex 07c9d8a729..f96e5f7c31 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 \"https://github.com/tinyhumansai/tinymemory/releases/download/v${memory_version}/$(basename "$memory_archive")" \--output "$memory_archive"@@ -153,10 +154,16 @@ jobs:| sha256sum --checktar --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 (mockdiff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.ymlindex bfdbd6a277..125a4abd29 100644--- a/.github/workflows/ci-lite.yml+++ b/.github/workflows/ci-lite.yml@@ -801,10 +801,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 \"https://github.com/tinyhumansai/tinymemory/releases/download/v${memory_version}/$(basename "$memory_archive")" \--output "$memory_archive"@@ -818,10 +819,16 @@ jobs:# Do not restore the release builder's uid into the trusted tree.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 TinyJuice host-module regressionrun: |diff --git a/.github/workflows/test-reusable.yml b/.github/workflows/test-reusable.ymlindex 8f9a0c2654..c524023ea4 100644--- a/.github/workflows/test-reusable.yml+++ b/.github/workflows/test-reusable.yml@@ -159,22 +159,28 @@ jobs:workspaces: . -> targetcache-on-failure: truekey: core- - name: Install checksum-pinned TinyMemory test module+ - name: Build native test modulesrun: |- # Memory unit tests exercise the host/module seam. Supplying the- # exact native fixture keeps them independent of GitHub's release+ # Memory and connector tests exercise host/module seams. Supplying+ # local native fixtures keeps them independent of GitHub's release# metadata API and mirrors the Rust E2E and desktop-E2E jobs.# tinybus validates every directory ancestor, so a container-root# owned directory outside the runner-owned checkout is required.module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"memory_dir="$module_root/tinymemory"+ connectors_dir="$module_root/tinyconnectors"rm -rf "$module_root"- mkdir -p "$memory_dir"- cargo build --release \+ mkdir -p "$memory_dir" "$connectors_dir"+ bash scripts/ci-cancel-aware.sh cargo build --release \--manifest-path vendor/tinymemory/crates/tinymemory-module/Cargo.tomlcp vendor/tinymemory/crates/tinymemory-module/target/release/libtinymemory_module.so \"$memory_dir/libtinymemory_module.so"+ 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 "TINYCONNECTORS_TEST_MODULE=$connectors_dir/libtinyconnectors.so" >> "$GITHUB_ENV"- name: Test core crate (openhuman)# This script uses Bash-only process substitution below. Reusable# workflows do not inherit the caller's `defaults.run.shell`, anddiff --git a/Cargo.toml b/Cargo.tomlindex 4408a7754c..947a61e1c8 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -359,8 +359,8 @@ tinymemory-sources = { path = "vendor/tinymemory/crates/tinymemory-sources", fea## The path dependency on `tinymcp` itself is still the step-one arrangement. The# registry entry step two calls for now exists — `src/openhuman/modules/registry.rs`-# pins the v0.3.1 release — but the host still calls the library directly, because-# `tinymcp-bus` v0.3.1 does not yet publish everything this host reaches for:+# pins the v0.3.2 release — but the host still calls the library directly, because+# `tinymcp-bus` v0.3.2 does not yet publish everything this host reaches for:# `OAuthComplete`, a member returning the already-exported `ConnectedServerOverview`,# the boot-connect and reconnect-supervisor passes, the `ServerDetail` /# `AuthDetection` / `AuthKind` reply types, the registry curation helpers, an errordiff --git a/src/openhuman/modules/ops.rs b/src/openhuman/modules/ops.rsindex a05a1c8f29..cb527f427a 100644--- a/src/openhuman/modules/ops.rs+++ b/src/openhuman/modules/ops.rs@@ -348,12 +348,21 @@ fn local_override(config: &Config, id: &str) -> Option<PathBuf> {.iter().find_map(|entry| (entry.id == id).then(|| PathBuf::from(entry.path.clone())));- configured.or_else(|| {- (id == super::memory::MODULE_ID)- .then(|| std::env::var_os("TINYMEMORY_TEST_MODULE"))- .flatten()- .map(PathBuf::from)- })+ configured+ .or_else(|| {+ (id == super::memory::MODULE_ID)+ .then(|| std::env::var_os("TINYMEMORY_TEST_MODULE"))+ .flatten()+ .map(PathBuf::from)+ })+ .or_else(|| {+ // TinyConnectors exposes its contract to the host, but has no+ // host-side module namespace: it is resolved by its registry ID.+ (id == "tinyconnectors")+ .then(|| std::env::var_os("TINYCONNECTORS_TEST_MODULE"))+ .flatten()+ .map(PathBuf::from)+ })}/// The artifact an earlier run extracted, if it is still there.