Skip to content

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

test: require TinyComputer bundles on supported Linux platforms

Steven Enamakel170bcc056ea5
diff --git a/scripts/__tests__/stage-modules.test.mjs b/scripts/__tests__/stage-modules.test.mjs
index 06b477574d..a90fbf693a 100644
--- a/scripts/__tests__/stage-modules.test.mjs
+++ b/scripts/__tests__/stage-modules.test.mjs
@@ -45,10 +45,8 @@ for (const hostKey of HOST_KEYS) {
test(`every compiled module has one pinned ${hostKey} asset`, () => {
const source = readRegistrySource();
const assets = bundledAssets(source, hostKey);
- const linux = hostKey.startsWith("ubuntu-");
- // tinycomputer publishes no Linux build; every other module is bundled.
- assert.equal(assets.length, parseAllList(source).length - (linux ? 1 : 0));
- assert.equal(assets.some((a) => a.id === "tinycomputer"), !linux);
+ assert.equal(assets.length, parseAllList(source).length);
+ assert.equal(assets.some((a) => a.id === "tinycomputer"), true);
assert.equal(new Set(assets.map((asset) => asset.id)).size, assets.length);
for (const asset of assets) {
assert.equal(asset.hostKey, hostKey);