Skip to content

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

feat(ci): add self-hosted lane planning script

Steven Enamakelfba60855e36b
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 5143762dd3..cb1f9e8da4 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -390,6 +390,15 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
},
run: withModules("bash scripts/ci/rust-coverage.sh"),
},
+ // ex63: lcov-core.info is written (even after a failed suite), so drop
+ // its ~90 GB of instrumented test executables and profiles before the
+ // next lanes build on the same 160 GB disk. No `needs`: it must run
+ // after a failure too.
+ {
+ name: "prune-coverage-binaries",
+ when: ex63 && (core || areas.storage),
+ run: "bash scripts/ci/self-hosted/prune-coverage-binaries.sh target/ci-private-coverage",
+ },
],
},
{