Skip to content

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

ci(self-hosted): install test modules before embed offline examples

Steven Enamakel8200dc3f9b72
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 5ba0f8c4cd..609b3a6f7e 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -492,9 +492,15 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
env: { RUSTDOCFLAGS: "-D warnings" },
run: "bash scripts/ci-cancel-aware.sh cargo doc -p openhuman-embed --no-deps",
},
+ {
+ name: "install-test-modules",
+ when: core,
+ run: `bash scripts/ci/self-hosted/install-test-modules.sh "${modulesDir}" ${modulesEnvFile}`,
+ },
{
name: "embed-offline-examples",
when: core,
+ needs: ["install-test-modules"],
env: { RUST_MIN_STACK: "67108864" },
// Dev profile: the release-declared linux_fleet measurement then
// shares the plain dev build instead of a thin-LTO one nothing else