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 composio stack regression uninstrumented on private lanes
Steven Enamakel7d8fb2b443cc
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjsindex 731a389728..22a0571d3a 100644--- a/scripts/__tests__/self-hosted-lanes.test.mjs+++ b/scripts/__tests__/self-hosted-lanes.test.mjs@@ -873,12 +873,20 @@ test("private frontend tools have an explicit 4 GiB Node heap while hosted keepstest("private CI executes the coverage-disabled Composio stack regression once without instrumentation", () => {for (const plan of plans()) {const lint = plan.lanes.find((lane) => lane.name === "rust-lint");- const checks = lint.checks.filter((check) => check.name === "composio-stack-regression-uninstrumented");+ const checks = lint.checks.filter(+ (check) => check.name === "composio-stack-regression-uninstrumented",+ );if (plan.profile === "ex63") {assert.equal(checks.length, 1);assert.equal(checks[0].when, true);- assert.match(checks[0].run, /bash scripts\/ci\/nextest-coverage\.sh composio-stack-uninstrumented cargo nextest run --profile ci --no-tests=fail --no-fail-fast/);- assert.match(checks[0].run, /-p openhuman-cli --features "\$\(bash scripts\/ci\/product-features\.sh --core\)" --test composio_list_tools_stack_overflow_regression$/);+ assert.match(+ checks[0].run,+ /bash scripts\/ci\/nextest-coverage\.sh composio-stack-uninstrumented cargo nextest run --profile ci --no-tests=fail --no-fail-fast/,+ );+ assert.match(+ checks[0].run,+ /-p openhuman-cli --features "\$\(bash scripts\/ci\/product-features\.sh --core\)" --test composio_list_tools_stack_overflow_regression$/,+ );assert.doesNotMatch(checks[0].run, /llvm-cov|--no-default-features/);assert.equal(lint.targetDir, "target/ci-private-build");} else {@@ -886,8 +894,21 @@ test("private CI executes the coverage-disabled Composio stack regression once w}}const unrelated = buildPlan({ profile: "ex63", areas: NONE, env: EX63_ENV });- assert.ok(unrelated.lanes.flatMap((lane) => lane.checks).filter((check) => check.name === "composio-stack-regression-uninstrumented").every((check) => !check.when));- const source = fs.readFileSync(path.join(repoRoot, "tests/composio_list_tools_stack_overflow_regression.rs"), "utf8");+ assert.ok(+ unrelated.lanes+ .flatMap((lane) => lane.checks)+ .filter(+ (check) => check.name === "composio-stack-regression-uninstrumented",+ )+ .every((check) => !check.when),+ );+ const source = fs.readFileSync(+ path.join(+ repoRoot,+ "tests/composio_list_tools_stack_overflow_regression.rs",+ ),+ "utf8",+ );assert.match(source, /#!\[cfg\(not\(coverage\)\)\]/);assert.doesNotMatch(source, /^\s*#\[ignore/m);});diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjsindex d30d7bbf41..891c8f5cf3 100644--- a/scripts/ci/self-hosted/lanes-plan.mjs+++ b/scripts/ci/self-hosted/lanes-plan.mjs@@ -593,6 +593,17 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {// filters; union those filters in nextest's expression syntax. --no-clean// retains prior instrumentation, while every suite writes its own report.if (ex63) {+ // This target has cfg(not(coverage)): instrumentation makes its large+ // binary fail to link and would remove its deliberately small-stack test.+ // Run that distinct regression once in the ordinary build target, keeping+ // the CLI's defaults plus the same product features as core coverage.+ lanes+ .find((lane) => lane.name === "rust-lint")+ .checks.push({+ name: "composio-stack-regression-uninstrumented",+ when: core,+ run: `bash scripts/ci/nextest-coverage.sh composio-stack-uninstrumented cargo nextest run --profile ci --no-tests=fail --no-fail-fast -p openhuman-cli --features ${CORE_PRODUCT} --test composio_list_tools_stack_overflow_regression`,+ });const coverageSuite = (args, output, manifest = "Cargo.toml") =>`rc=0; bash scripts/ci/nextest-coverage.sh ${output.replace(/^lcov-|\.info$/g, "")} cargo llvm-cov nextest --profile ci --no-fail-fast --no-tests=fail --no-clean --no-report ${args} || rc=$?; ` +`cargo llvm-cov report --manifest-path ${manifest} --lcov --output-path ci-out/lcov/${output} || { report_rc=$?; if [ "$rc" -eq 0 ]; then rc=$report_rc; fi; }; exit "$rc"`;