Skip to content

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

fix(ci): remove duplicate test and check steps from self-hosted lanes

Steven Enamakelcf87cfd90460
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index b6bffce1fe..035d88c85a 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -106,6 +106,8 @@ test("doctests, tui coverage and the TinyJuice regression are left to pushes to
assert.equal(cov.env.OH_COV_TUI, "0");
const runs = allRuns(plan).join("\n");
assert.doesNotMatch(runs, /cargo test -p openhuman --doc/);
+ assert.doesNotMatch(runs, /cargo test -p openhuman-(embed|tinyhumans)\b/);
+ assert.doesNotMatch(runs, /-p openhuman --no-default-features$/m);
assert.doesNotMatch(runs, /tool_output_tabulates_a_large_graph/);
}
// ...where CI Lite still runs them.
@@ -156,11 +158,8 @@ test("every ci-lite check the lanes claim to carry is still a ci-lite check", ()
"pnpm test:scripts",
"cargo clippy -p openhuman-embed --all-targets -- -D warnings",
"cargo check -p openhuman-embed --no-default-features",
- "cargo test -p openhuman-embed",
"cargo clippy -p openhuman-tinyhumans --all-targets -- -D warnings",
- "cargo test -p openhuman-tinyhumans",
"bash scripts/check-prompt-budget.sh --verbose",
- "cargo check --manifest-path Cargo.toml -p openhuman --no-default-features",
"bash scripts/check-kernel-floor.sh --verbose",
"bash scripts/ci/check-dep-sim-calibration.sh",
"cargo clippy --manifest-path crates/openhuman-app/Cargo.toml -- -D warnings",
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index 7983705d5a..2eb6bd49f4 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -121,6 +121,13 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
// against the downloaded module). CI Lite runs all three on every push to
// `main` that touches the Rust core (rust-coverage.sh and its
// rust-core-coverage job).
+ //
+ // Also left to those pushes, as duplicates of what runs here:
+ // - `cargo test -p openhuman-embed` / `-p openhuman-tinyhumans` (default
+ // features): rust-core-coverage already runs both crates' tests, with the
+ // product features;
+ // - `cargo check -p openhuman --no-default-features`: embed-check-no-default
+ // builds the core with exactly that feature set (none) as its dependency.
/** @type {Lane[]} */
const lanes = [