Skip to content

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

fix(ci): stage modules directly under root home

Steven Enamakel705804700ed4
diff --git a/.github/workflows/ci-full.yml b/.github/workflows/ci-full.yml
index 815b47fc3e..e84fbad3ab 100644
--- a/.github/workflows/ci-full.yml
+++ b/.github/workflows/ci-full.yml
@@ -131,7 +131,7 @@ jobs:
run: |
# Keep fixtures in a trusted tree and resolve their verified releases
# from the same registry the product uses.
- module_root="/root/.cache/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
+ module_root="/root/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
bash scripts/ci/self-hosted/install-test-modules.sh \
"$module_root" "$module_root/modules.env"
cat "$module_root/modules.env" >> "$GITHUB_ENV"
@@ -307,7 +307,7 @@ jobs:
run: |
# Keep fixtures in a trusted tree and resolve their verified releases
# from the same registry the product uses.
- module_root="/root/.cache/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
+ module_root="/root/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
bash scripts/ci/self-hosted/install-test-modules.sh \
"$module_root" "$module_root/modules.env"
cat "$module_root/modules.env" >> "$GITHUB_ENV"
diff --git a/.github/workflows/e2e-playwright.yml b/.github/workflows/e2e-playwright.yml
index ed4e95a9a4..3843c4357c 100644
--- a/.github/workflows/e2e-playwright.yml
+++ b/.github/workflows/e2e-playwright.yml
@@ -67,7 +67,7 @@ jobs:
run: |
# Keep fixtures in a trusted tree and resolve their verified releases
# from the same registry the product uses.
- module_root="/root/.cache/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
+ module_root="/root/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
bash scripts/ci/self-hosted/install-test-modules.sh \
"$module_root" "$module_root/modules.env"
cat "$module_root/modules.env" >> "$GITHUB_ENV"
diff --git a/.github/workflows/e2e-reusable.yml b/.github/workflows/e2e-reusable.yml
index 1c9aa10ec7..404a6156b0 100644
--- a/.github/workflows/e2e-reusable.yml
+++ b/.github/workflows/e2e-reusable.yml
@@ -352,7 +352,7 @@ jobs:
run: |
# Stage all native capabilities under a trusted tree, including
# release manifests for confidential wallet and channel calls.
- module_root="/root/.cache/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
+ module_root="/root/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
bash scripts/ci/self-hosted/install-test-modules.sh \
"$module_root" "$module_root/modules.env"
cat "$module_root/modules.env" >> "$GITHUB_ENV"
@@ -448,7 +448,7 @@ jobs:
run: |
# Keep fixtures in a trusted tree and resolve their verified releases
# from the same registry the product uses.
- module_root="/root/.cache/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
+ module_root="/root/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
bash scripts/ci/self-hosted/install-test-modules.sh \
"$module_root" "$module_root/modules.env"
cat "$module_root/modules.env" >> "$GITHUB_ENV"
diff --git a/.github/workflows/test-reusable.yml b/.github/workflows/test-reusable.yml
index 97ab36a294..bd51daef95 100644
--- a/.github/workflows/test-reusable.yml
+++ b/.github/workflows/test-reusable.yml
@@ -174,7 +174,7 @@ jobs:
- name: Install checksum-pinned native test modules
run: |
# Module-loaded unit regressions execute in isolated test processes.
- module_root="/root/.cache/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
+ module_root="/root/openhuman-test-modules-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
bash scripts/ci/self-hosted/install-test-modules.sh \
"$module_root" "$module_root/modules.env"
cat "$module_root/modules.env" >> "$GITHUB_ENV"
diff --git a/scripts/__tests__/test-module-installation.test.mjs b/scripts/__tests__/test-module-installation.test.mjs
index 6d38e50920..374758a96e 100644
--- a/scripts/__tests__/test-module-installation.test.mjs
+++ b/scripts/__tests__/test-module-installation.test.mjs
@@ -52,7 +52,7 @@ test("Linux container workflows stage TinyBus fixtures under the root-owned cont
const source = readFileSync(new URL(workflow, import.meta.url), "utf8");
assert.match(
source,
- /\/root\/\.cache\/openhuman-test-modules-\$\{GITHUB_RUN_ID\}-\$\{GITHUB_RUN_ATTEMPT\}/,
+ /\/root\/openhuman-test-modules-\$\{GITHUB_RUN_ID\}-\$\{GITHUB_RUN_ATTEMPT\}/,
workflow,
);
assert.doesNotMatch(source, /\/opt\/openhuman-test-modules/, workflow);