Skip to content

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

Merge remote-tracking branch 'upstream/main' into tinywallet-release-0192

M3gA-Mind2707ec9ab1e1
diff --cc scripts/__tests__/self-hosted-lanes.test.mjs
index 976a6f1ed9,c6480ab5f7..e961a0f427
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@@ -49,13 -49,18 +49,23 @@@ test("EX63 installs script dependencie
const detect = ciLanes.indexOf("- name: Detect changed areas");
const install = ciLanes.indexOf("- name: Install jq for release-script tests");
assert.ok(detect >= 0 && install > detect, "filter outputs must exist before they gate jq installation");
+ const nextStep = ciLanes.indexOf("\n - name:", install + 1);
+ const installBlock = ciLanes.slice(install, nextStep < 0 ? undefined : nextStep);
+ assert.match(installBlock, /import tomllib/, "Python 3.11+ already provides TOML parsing");
+ assert.match(installBlock, /command -v sudo/, "non-root runners may not have sudo");
+ assert.match(installBlock, /cannot install packages/, "the EX63 image may not grant package installation");
});
+ test("EX63 provides jq without root and before the lanes start", () => {
+ const install = ciLanes.indexOf("- name: Install jq for release-script tests");
+ const end = ciLanes.indexOf("\n - name:", install + 1);
+ const step = ciLanes.slice(install, end);
+ assert.doesNotMatch(step, /\bsudo\b|apt-get/);
+ assert.match(step, /sha256sum -c/);
+ assert.match(step, /GITHUB_PATH/);
+ assert.ok(install < ciLanes.indexOf("- name: Start lanes"), "jq must be on PATH before the lanes spawn");
+ });
+
const plans = () => [
buildPlan({ profile: "ex63", areas: ALL, env: EX63_ENV }),
buildPlan({ profile: "hosted", areas: ALL }),