Skip to content

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

refactor(ci): reorder rust-cov before rust-lint in lanes plan

Steven Enamakel58c1546cf63d
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index e550a0048e..24df729681 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -175,25 +175,8 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
],
},
{
- name: "rust-lint",
- targetDir: targetDir("lint"),
- env: { ...rustEnv, ...sccache },
- checks: [
- // `--features` is load-bearing: `default` is the contributor set.
- { name: "clippy-product", when: core, run: `cargo clippy -p openhuman --features ${PRODUCT} -- -D warnings` },
- { name: "clippy-default", when: core, run: "cargo clippy -p openhuman -- -D warnings" },
- { name: "embed-clippy", when: core, run: "cargo clippy -p openhuman-embed --all-targets -- -D warnings" },
- { name: "embed-check-no-default", when: core, run: "cargo check -p openhuman-embed --no-default-features" },
- { name: "embed-test", when: core, run: "cargo test -p openhuman-embed" },
- { name: "tinyhumans-clippy", when: core, run: "cargo clippy -p openhuman-tinyhumans --all-targets -- -D warnings" },
- { name: "tinyhumans-test", when: core, run: "cargo test -p openhuman-tinyhumans" },
- { name: "prompt-budget", when: core, run: "bash scripts/check-prompt-budget.sh --verbose" },
- ...(ex63 ? [juiceRegression] : []),
- // Report-only in ci-lite (never in the gate), so report-only here.
- { name: "rss-bench-fixture-tests", when: core, reportOnly: true, run: "cargo test --features rss-bench --bin rss-bench" },
- ],
- },
- {
+ // First among the Rust lanes: it is the long pole, and rust-lint waits
+ // on its test-modules check.
name: "rust-cov",
targetDir: targetDir("cov"),
env: covEnv,
@@ -214,6 +197,25 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
...(ex63 ? [] : [juiceRegression]),
],
},
+ {
+ name: "rust-lint",
+ targetDir: targetDir("lint"),
+ env: { ...rustEnv, ...sccache },
+ checks: [
+ // `--features` is load-bearing: `default` is the contributor set.
+ { name: "clippy-product", when: core, run: `cargo clippy -p openhuman --features ${PRODUCT} -- -D warnings` },
+ { name: "clippy-default", when: core, run: "cargo clippy -p openhuman -- -D warnings" },
+ { name: "embed-clippy", when: core, run: "cargo clippy -p openhuman-embed --all-targets -- -D warnings" },
+ { name: "embed-check-no-default", when: core, run: "cargo check -p openhuman-embed --no-default-features" },
+ { name: "embed-test", when: core, run: "cargo test -p openhuman-embed" },
+ { name: "tinyhumans-clippy", when: core, run: "cargo clippy -p openhuman-tinyhumans --all-targets -- -D warnings" },
+ { name: "tinyhumans-test", when: core, run: "cargo test -p openhuman-tinyhumans" },
+ { name: "prompt-budget", when: core, run: "bash scripts/check-prompt-budget.sh --verbose" },
+ ...(ex63 ? [juiceRegression] : []),
+ // Report-only in ci-lite (never in the gate), so report-only here.
+ { name: "rss-bench-fixture-tests", when: core, reportOnly: true, run: "cargo test --features rss-bench --bin rss-bench" },
+ ],
+ },
{
name: "rust-gates-off",
targetDir: targetDir("gatesoff"),