Skip to content

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

ci: remove tinymemory module from CI workflows

Steven Enamakel59225185b604
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.yml
index bd370ded17..126a01704c 100644
--- a/.github/workflows/ci-full.yml
+++ b/.github/workflows/ci-full.yml
@@ -132,28 +132,18 @@ jobs:
# and leave a stale digest that only fails after the download. Both values
# are the ubuntu-22.04-x86_64 row of `crates/openhuman-core/src/modules/registry.rs`,
# which is the authoritative pin — copy them from there, never recompute.
- memory_version="1.22.2"
- memory_sha256="89f1da9f53e939263f3a7d9f4c6c19b52951bde308a9beb6efedc2b6c272163e"
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"
search_dir="$module_root/tinysearch"
- memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"
juice_archive="$juice_dir/tinyjuice-module-0.5.0-ubuntu-22.04-x86_64.tar.gz"
- rm -rf "$memory_dir" "$juice_dir" "$connectors_dir"
- mkdir -p "$memory_dir" "$juice_dir" "$connectors_dir" "$search_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"
+ rm -rf "$juice_dir" "$connectors_dir"
+ mkdir -p "$juice_dir" "$connectors_dir" "$search_dir"
curl --fail --location --silent --show-error --retry 4 --retry-delay 2 \
"https://github.com/tinyhumansai/tinyjuice/releases/download/v0.5.0/$(basename "$juice_archive")" \
--output "$juice_archive"
- echo "${memory_sha256} $memory_archive" \
- | sha256sum --check
echo "94c8998c830d9454560c00055187198a598eefaf5be51bcecdcd194a66f3b388 $juice_archive" \
| 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
@@ -163,8 +153,6 @@ jobs:
--manifest-path vendor/tinysearch/crates/tinysearch/Cargo.toml
cp vendor/tinysearch/target/release/libtinysearch.so \
"$search_dir/libtinysearch.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" \
@@ -333,27 +321,18 @@ jobs:
# tinybus validates every directory ancestor. GitHub mounts the
# checkout as the host runner uid while this container runs as root,
# so keep native fixtures in a root-owned, ephemeral tree.
- memory_version="1.22.2"
- memory_sha256="89f1da9f53e939263f3a7d9f4c6c19b52951bde308a9beb6efedc2b6c272163e"
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"
search_dir="$module_root/tinysearch"
- memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"
juice_archive="$juice_dir/tinyjuice-module-0.5.0-ubuntu-22.04-x86_64.tar.gz"
- rm -rf "$memory_dir" "$juice_dir" "$connectors_dir"
- mkdir -p "$memory_dir" "$juice_dir" "$connectors_dir" "$search_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"
+ rm -rf "$juice_dir" "$connectors_dir"
+ mkdir -p "$juice_dir" "$connectors_dir" "$search_dir"
curl --fail --location --silent --show-error --retry 4 --retry-delay 2 \
"https://github.com/tinyhumansai/tinyjuice/releases/download/v0.5.0/$(basename "$juice_archive")" \
--output "$juice_archive"
- echo "${memory_sha256} $memory_archive" | sha256sum --check
echo "94c8998c830d9454560c00055187198a598eefaf5be51bcecdcd194a66f3b388 $juice_archive" \
| 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
@@ -363,7 +342,6 @@ jobs:
--manifest-path vendor/tinysearch/crates/tinysearch/Cargo.toml
cp vendor/tinysearch/target/release/libtinysearch.so \
"$search_dir/libtinysearch.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"
echo "TINYSEARCH_TEST_MODULE=$search_dir/libtinysearch.so" >> "$GITHUB_ENV"
diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml
index 4d9ef9fddd..a24e4f7eda 100644
--- a/.github/workflows/e2e-playwright.yml
+++ b/.github/workflows/e2e-playwright.yml
@@ -68,32 +68,22 @@ jobs:
# tinybus validates every directory ancestor. GitHub mounts the
# checkout as the host runner uid while this container runs as root,
# so keep native fixtures in a root-owned, ephemeral tree.
- memory_version="1.22.2"
- memory_sha256="89f1da9f53e939263f3a7d9f4c6c19b52951bde308a9beb6efedc2b6c272163e"
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.5.0-ubuntu-22.04-x86_64.tar.gz"
- 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"
+ rm -rf "$juice_dir" "$connectors_dir"
+ mkdir -p "$juice_dir" "$connectors_dir"
curl --fail --location --silent --show-error --retry 4 --retry-delay 2 \
"https://github.com/tinyhumansai/tinyjuice/releases/download/v0.5.0/$(basename "$juice_archive")" \
--output "$juice_archive"
- echo "${memory_sha256} $memory_archive" | sha256sum --check
echo "94c8998c830d9454560c00055187198a598eefaf5be51bcecdcd194a66f3b388 $juice_archive" \
| 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"
diff --git a/.github/workflows/e2e-reusable.yml b/.github/workflows/e2e-reusable.yml
index 93053a5a2b..f9e542bbee 100644
--- a/.github/workflows/e2e-reusable.yml
+++ b/.github/workflows/e2e-reusable.yml
@@ -168,21 +168,9 @@ jobs:
# and leave a stale digest that only fails after the download. Both values
# are the ubuntu-22.04-x86_64 row of `crates/openhuman-core/src/modules/registry.rs`,
# which is the authoritative pin — copy them from there, never recompute.
- memory_version="1.22.2"
- memory_sha256="89f1da9f53e939263f3a7d9f4c6c19b52951bde308a9beb6efedc2b6c272163e"
module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
- memory_dir="$module_root/tinymemory"
- memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"
- rm -rf "$memory_dir"
- mkdir -p "$memory_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"
- echo "${memory_sha256} $memory_archive" \
- | sha256sum --check
- tar --no-same-owner -xzf "$memory_archive" -C "$memory_dir"
- echo "TINYMEMORY_TEST_MODULE=$memory_dir/libtinymemory_module.so" \
- >> "$GITHUB_ENV"
+ rm -rf
+ mkdir -p
- name: Build E2E app
run: bash scripts/ci-cancel-aware.sh pnpm --filter openhuman-app test:e2e:build
@@ -373,26 +361,14 @@ jobs:
# and leave a stale digest that only fails after the download. Both values
# are the ubuntu-22.04-x86_64 row of `crates/openhuman-core/src/modules/registry.rs`,
# which is the authoritative pin — copy them from there, never recompute.
- memory_version="1.22.2"
- memory_sha256="89f1da9f53e939263f3a7d9f4c6c19b52951bde308a9beb6efedc2b6c272163e"
module_root="/opt/openhuman-test-modules/${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
- memory_dir="$module_root/tinymemory"
connectors_dir="$module_root/tinyconnectors"
- memory_archive="$memory_dir/tinymemory-module-${memory_version}-ubuntu-22.04-x86_64.tar.gz"
- rm -rf "$memory_dir" "$connectors_dir"
- mkdir -p "$memory_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"
- echo "${memory_sha256} $memory_archive" \
- | sha256sum --check
- tar --no-same-owner -xzf "$memory_archive" -C "$memory_dir"
+ rm -rf "$connectors_dir"
+ mkdir -p "$connectors_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 "TINYCONNECTORS_TEST_MODULE=$connectors_dir/libtinyconnectors.so" \
>> "$GITHUB_ENV"
@@ -487,34 +463,23 @@ jobs:
# fixture outside the checkout owned by the host runner.
# Version and digest are the ubuntu-22.04-x86_64 registry pin; do
# not derive a replacement checksum from a local build.
- memory_version="1.22.2"
- memory_sha256="89f1da9f53e939263f3a7d9f4c6c19b52951bde308a9beb6efedc2b6c272163e"
juice_version="0.5.0"
juice_sha256="94c8998c830d9454560c00055187198a598eefaf5be51bcecdcd194a66f3b388"
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-${juice_version}-ubuntu-22.04-x86_64.tar.gz"
- 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"
+ rm -rf "$juice_dir" "$connectors_dir"
+ mkdir -p "$juice_dir" "$connectors_dir"
curl --fail --location --silent --show-error --retry 4 --retry-delay 2 \
"https://github.com/tinyhumansai/tinyjuice/releases/download/v${juice_version}/$(basename "$juice_archive")" \
--output "$juice_archive"
- echo "${memory_sha256} $memory_archive" | sha256sum --check
echo "${juice_sha256} $juice_archive" | 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" \
diff --git a/.github/workflows/test-reusable.yml b/.github/workflows/test-reusable.yml
index b1b92739cb..dc269a72a1 100644
--- a/.github/workflows/test-reusable.yml
+++ b/.github/workflows/test-reusable.yml
@@ -167,16 +167,11 @@ 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"
juice_dir="$module_root/tinyjuice"
connectors_dir="$module_root/tinyconnectors"
search_dir="$module_root/tinysearch"
rm -rf "$module_root"
- mkdir -p "$memory_dir" "$juice_dir" "$connectors_dir" "$search_dir"
- bash scripts/ci-cancel-aware.sh cargo build --release \
- --manifest-path vendor/tinymemory/crates/tinymemory-module/Cargo.toml
- cp vendor/tinymemory/crates/tinymemory-module/target/release/libtinymemory_module.so \
- "$memory_dir/libtinymemory_module.so"
+ mkdir -p "$juice_dir" "$connectors_dir" "$search_dir"
bash scripts/ci-cancel-aware.sh cargo build --release \
--manifest-path vendor/tinyjuice/crates/tinyjuice-module/Cargo.toml
cp vendor/tinyjuice/target/release/libtinyjuice_module.so \
@@ -189,7 +184,6 @@ jobs:
--manifest-path vendor/tinysearch/crates/tinysearch/Cargo.toml
cp vendor/tinysearch/target/release/libtinysearch.so \
"$search_dir/libtinysearch.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"
echo "TINYSEARCH_TEST_MODULE=$search_dir/libtinysearch.so" >> "$GITHUB_ENV"