Skip to content

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

fix(ci): align private lane timeouts and drop unsupported --no-clean

Steven Enamakel5f4f99c7e9f7
diff --git a/scripts/__tests__/private-runner-contract.test.mjs b/scripts/__tests__/private-runner-contract.test.mjs
index 8c63d8c6aa..cb83510163 100644
--- a/scripts/__tests__/private-runner-contract.test.mjs
+++ b/scripts/__tests__/private-runner-contract.test.mjs
@@ -158,7 +158,7 @@ test("membership gate routes mixed identities, outsiders and bots away from EX63
}
});
-test("private cache save has a five-minute budget and cannot suppress artifact upload", () => {
+test("private validation and cache save have measured budgets without suppressing artifacts", () => {
const workflow = readFileSync(
new URL("../../.github/workflows/ci-lanes.yml", import.meta.url),
"utf8",
@@ -166,7 +166,9 @@ test("private cache save has a five-minute budget and cannot suppress artifact u
const saveStart = workflow.indexOf(" - name: Save Tinymold cache");
const saveEnd = workflow.indexOf("\n - name:", saveStart + 1);
const save = workflow.slice(saveStart, saveEnd);
- assert.match(save, /timeout-minutes: 5/);
+ assert.match(save, /timeout-minutes: 15/);
+ const job = workflow.slice(workflow.indexOf(" ex63:"), workflow.indexOf(" steps:"));
+ assert.match(job, /timeout-minutes: 180/);
assert.match(save, /continue-on-error: true/);
const upload = workflow.slice(
workflow.indexOf(" - name: Upload lane logs, timings and coverage"),
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 891c8f5cf3..0224081683 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -590,8 +590,9 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
// Coverage replaces each existing plain suite only for the private profile.
// Preserve the original package, features, target list, and libtest substring
- // filters; union those filters in nextest's expression syntax. --no-clean
- // retains prior instrumentation, while every suite writes its own report.
+ // filters; union those filters in nextest's expression syntax. --no-report
+ // retains prior instrumentation implicitly; each suite then writes its report.
+ // Do not also pass --no-clean: the pinned cargo-llvm-cov rejects that pair.
if (ex63) {
// This target has cfg(not(coverage)): instrumentation makes its large
// binary fail to link and would remove its deliberately small-stack test.
@@ -605,7 +606,7 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
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=$?; ` +
+ `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-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"`;
for (const lane of lanes) {
if (!["rust-gates-off", "storage-drivers"].includes(lane.name)) continue;