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
ci: pre-provision the tinyconnectors module for the coverage lane
Shanuff59c910ae38
diff --git a/.github/workflows/ci-lite.yml b/.github/workflows/ci-lite.ymlindex 2ced87d11d..903fb8d12e 100644--- a/.github/workflows/ci-lite.yml+++ b/.github/workflows/ci-lite.yml@@ -832,10 +832,29 @@ 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"+ # tinyconnectors, same contract: version + digest are the+ # ubuntu-22.04-x86_64 row of registry_part_02.rs, copied verbatim.+ # Without this, every test binary that loads the connector module+ # fetches GitHub release metadata at run time — refused under rate+ # limiting, and a refusal is terminal for that whole test process.+ connectors_version="0.7.0"+ connectors_sha256="b73df16260dce3387f7de915dfa93f6c0f8c977cf21784b97b2a6b2dcdf961f7"+ connectors_dir="$module_root/tinyconnectors"+ connectors_archive="$connectors_dir/tinyconnectors-${connectors_version}-ubuntu-22.04-x86_64.tar.gz"+ rm -rf "$connectors_dir"+ mkdir -p "$connectors_dir"+ curl --fail --location --silent --show-error \+ "https://github.com/tinyhumansai/tinyconnectors/releases/download/v${connectors_version}/$(basename "$connectors_archive")" \+ --output "$connectors_archive"+ echo "${connectors_sha256} $connectors_archive" \+ | sha256sum --check+ tar --no-same-owner -xzf "$connectors_archive" -C "$connectors_dir"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_module.so" \+ >> "$GITHUB_ENV"- name: Run TinyJuice host-module regressionrun: |diff --git a/src/openhuman/modules/ops.rs b/src/openhuman/modules/ops.rsindex a05a1c8f29..da9d5925e5 100644--- a/src/openhuman/modules/ops.rs+++ b/src/openhuman/modules/ops.rs@@ -348,12 +348,23 @@ 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(|| {+ // Same shape for the connector module: CI pre-provisions the pinned+ // artifact and points this at it, so a test binary never fetches+ // GitHub release metadata at run time — that fetch is refused under+ // rate limiting, and a refusal is terminal for the whole process.+ (id == super::connectors::MODULE_ID)+ .then(|| std::env::var_os("TINYCONNECTORS_TEST_MODULE"))+ .flatten()+ .map(PathBuf::from)+ })}/// The artifact an earlier run extracted, if it is still there.