The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
feat(ci): run core unit tests under nextest for ex63 profile
Steven Enamakel00a6b1163164
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 7fc565305e..22c5ebf770 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -79,6 +79,22 @@ test("commands are static: no suite is ever narrowed to the diff", () => {}});+test("ex63 runs the core's unit tests under nextest; hosted keeps cargo's runner", () => {+ for (const plan of plans()) {+ const cov = plan.lanes+ .find((l) => l.name === "rust-cov")+ .checks.find((c) => c.name === "rust-core-coverage");+ assert.equal(+ cov.env.OH_COV_RUNNER,+ plan.profile === "ex63" ? "nextest" : undefined,+ );+ }+ assert.match(+ fs.readFileSync(path.join(repoRoot, ".config/nextest.toml"), "utf8"),+ /\[profile\.ci\][\s\S]*fail-fast = false/,+ );+});+test("doctests and the TinyJuice regression are left to pushes to main", () => {for (const plan of plans()) {const cov = plan.lanesdiff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex 07386f6e78..eb7cfcfe7b 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -275,7 +275,13 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {when: core,needs: ["test-modules"],// The doctests run on pushes to main instead (see above).- env: { OUT: "ci-out/lcov/lcov-core.info", OH_COV_DOCTESTS: "0" },+ // ex63: the core's unit tests run under cargo-nextest, one process+ // per test and in parallel (the guest image ships cargo-nextest).+ env: {+ OUT: "ci-out/lcov/lcov-core.info",+ OH_COV_DOCTESTS: "0",+ ...(ex63 ? { OH_COV_RUNNER: "nextest" } : {}),+ },run: withModules("bash scripts/ci/rust-coverage.sh"),},],