Skip to content

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

feat(ci): merge e2e-test-support check into gates-off test build

Steven Enamakele5e5a073ede8
diff --git a/docs/ci-self-hosted.md b/docs/ci-self-hosted.md
index d06dada679..82d459f17d 100644
--- a/docs/ci-self-hosted.md
+++ b/docs/ci-self-hosted.md
@@ -50,9 +50,14 @@ How lanes behave:
- **Changed-line coverage** must be at least 80% through
`scripts/ci/self-hosted/diff-cover.sh`, the same gate as `PR CI Gate`.
-Two checks do not run on pull requests: the core doctests and the TinyJuice
-host-module regression. CI Lite runs both on every push to `main` that touches
-the Rust core.
+Some checks do not run on pull requests. CI Lite runs them on every push to
+`main` that touches the Rust core:
+
+- the core doctests;
+- the TinyJuice host-module regression;
+- `cargo check -p openhuman --no-default-features --features
+ e2e-test-support`: `rust-gates-off` already compiles that feature set for
+ its tests, in one build together with `mcp`.
## Profiles
diff --git a/scripts/ci/self-hosted/lanes-plan.mjs b/scripts/ci/self-hosted/lanes-plan.mjs
index eb7cfcfe7b..b8662e9f47 100644
--- a/scripts/ci/self-hosted/lanes-plan.mjs
+++ b/scripts/ci/self-hosted/lanes-plan.mjs
@@ -349,11 +349,6 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
when: rust,
run: "cargo check --manifest-path Cargo.toml -p openhuman --no-default-features",
},
- {
- name: "check-e2e-test-support",
- when: rust,
- run: "cargo check --manifest-path Cargo.toml -p openhuman --no-default-features --features e2e-test-support",
- },
{
name: "gate-contract-tests",
when: rust,
@@ -364,17 +359,20 @@ export function buildPlan({ profile, areas, env = {}, isPullRequest = true }) {
" openhuman::config:: openhuman::platform::socket::event_handlers:: tools::schemas:: tools::ops::tests::",
},
{
- name: "gate-contract-tests-mcp",
- when: rust,
- run: "cargo test --manifest-path Cargo.toml -p openhuman --no-default-features --features mcp --lib -- mcp::server::resources::",
- },
- {
- // Scoped to `introspect::` on purpose; see ci-lite.yml for the hole.
- name: "gate-contract-tests-e2e-support",
+ // One core build for both feature-gated suites: `mcp` and
+ // `e2e-test-support` gate disjoint code (mcp::server::resources
+ // does not touch test_support, and vice versa), so each suite sees
+ // the same code it would under its feature alone. Separately they
+ // were two full core test builds. The introspect filter is scoped
+ // on purpose; see ci-lite.yml for the hole. The `cargo check` of
+ // the e2e-test-support set runs on pushes to main (CI Lite): this
+ // build already compiles that set, under cfg(test).
+ name: "gate-contract-tests-features",
when: rust,
run:
- "cargo test --manifest-path Cargo.toml -p openhuman --no-default-features --features e2e-test-support --lib --" +
- " test_support::introspect::",
+ "cargo test --manifest-path Cargo.toml -p openhuman --no-default-features" +
+ " --features mcp,e2e-test-support --lib --" +
+ " mcp::server::resources:: test_support::introspect::",
},
{
name: "kernel-floor",