Skip to content

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

fix(ci): stage tinyeventqueues from its registry release

Steven Enamakelf0f4023f9a90
diff --git a/scripts/__tests__/test-module-installation.test.mjs b/scripts/__tests__/test-module-installation.test.mjs
index 4d4adb500d..234cfd5249 100644
--- a/scripts/__tests__/test-module-installation.test.mjs
+++ b/scripts/__tests__/test-module-installation.test.mjs
@@ -532,7 +532,7 @@ test("the Rust E2E runner reuses container-staged module paths", () => {
assert.match(runnerSource, /pre-staged native modules/);
});
-test("the CI installer builds nothing: every module, tinyconnectors included, is a registry release", () => {
+test("the CI installer stages callback modules as registry releases", () => {
const source = readFileSync(installer, "utf8");
assert.doesNotMatch(source, /cargo build|cargo-cancel|--target-dir/);
assert.doesNotMatch(source, /stage-connector-test-module|modules\.toml/);
@@ -541,10 +541,15 @@ test("the CI installer builds nothing: every module, tinyconnectors included, is
"ubuntu-22.04-x86_64",
);
const connectors = assets.find((asset) => asset.id === "tinyconnectors");
+ const eventqueues = assets.find((asset) => asset.id === "tinyeventqueues");
assert.ok(
connectors,
"the installer resolves tinyconnectors from the registry",
);
assert.match(connectors.sha256, /^[a-f0-9]{64}$/);
assert.match(connectors.url, /\/releases\/download\/v\d+\.\d+\.\d+\//);
+ assert.ok(eventqueues, "the installer stages tinyeventqueues from the registry");
+ assert.match(eventqueues.sha256, /^[a-f0-9]{64}$/);
+ assert.match(eventqueues.url, /\/releases\/download\/v\d+\.\d+\.\d+\//);
+ assert.match(source, /tinymcp tinyeventqueues tinyjuice/);
});
diff --git a/scripts/ci/self-hosted/install-test-modules.sh b/scripts/ci/self-hosted/install-test-modules.sh
index b316db0940..6162f36969 100755
--- a/scripts/ci/self-hosted/install-test-modules.sh
+++ b/scripts/ci/self-hosted/install-test-modules.sh
@@ -7,8 +7,8 @@
# Release archives come from the module registry (test-module-assets.mjs),
# are cached by sha256 under $CI_CACHE_DIR/blobs when that is set, and are
# verified against the registry digest on every use, cached or not.
-# All nine modules, tinyconnectors included, come from releases; nothing is
-# compiled from source here (#7618).
+# Every staged test module, including tinyconnectors and tinyeventqueues,
+# comes from its registry release; nothing is compiled from source here.
#
# tinybus refuses a module when any ancestor directory is owned by someone
# other than root or the current user, so <dest-dir> must sit under a tree the
@@ -61,7 +61,7 @@ done <<< "${assets}"
# Every staged directory goes on the search path the loader already honours
# (release mode); each holds the released library.
module_dirs=""
-for id in tinybox tinydocs tinywallet tinychannels tinymcp tinyjuice tinysearch tinyhosts tinyconnectors tinyflows; do
+for id in tinybox tinydocs tinywallet tinychannels tinymcp tinyeventqueues tinyjuice tinysearch tinyhosts tinyconnectors tinyflows; do
module_dirs="${module_dirs:+${module_dirs}:}${dest}/${id}"
done
# mcp_registry_multi_server loads TinyMCP by file, not by search path, as
diff --git a/scripts/ci/self-hosted/test-module-assets.mjs b/scripts/ci/self-hosted/test-module-assets.mjs
index 2809ac49a8..2d1014074d 100644
--- a/scripts/ci/self-hosted/test-module-assets.mjs
+++ b/scripts/ci/self-hosted/test-module-assets.mjs
@@ -25,6 +25,7 @@ export const TEST_MODULE_IDS = [
"tinywallet",
"tinychannels",
"tinymcp",
+ "tinyeventqueues",
"tinyhosts",
"tinyconnectors",
"tinyflows",