Skip to content

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

docs(ci-self-hosted): document additional CI Lite checks

Steven Enamakele0c59d74943e
diff --git a/docs/ci-self-hosted.md b/docs/ci-self-hosted.md
index a51d5d4ae1..8b63370fff 100644
--- a/docs/ci-self-hosted.md
+++ b/docs/ci-self-hosted.md
@@ -27,7 +27,7 @@ provisioning, deploys and the runner token.
| `frontend` | pnpm install, tsc, prettier, eslint, i18n, docs, script self-tests |
| `frontend-tests` | the complete vitest suite with coverage |
| `rust-cov` | test modules from the registry, then `scripts/ci/rust-coverage.sh` |
-| `rust-lint` | clippy (product set; embed's clippy covers the core's contributor set), embed and tinyhumans lint and tests, prompt budget |
+| `rust-lint` | clippy (product set; embed's clippy covers the core's contributor set), embed and tinyhumans lint, embed gates-off check, prompt budget |
| `rust-gates-off` | gates-off checks and gate-contract tests, kernel floor, dep-sim calibration |
| `tauri` | Tauri clippy and coverage |
| `pester` | `install.ps1` tests |
@@ -50,10 +50,18 @@ 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`.
-Three things do not run on pull requests: the core doctests, the coverage of
-`openhuman-tui` (a core build of its own, with default features) and the
-TinyJuice host-module regression. CI Lite runs all three 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, and the coverage of `openhuman-tui` (each a core build of
+ its own);
+- the TinyJuice host-module regression;
+- `cargo test -p openhuman-embed` / `-p openhuman-tinyhumans` with default
+ features, since the coverage lane already runs both crates' tests with the
+ product features;
+- `cargo check -p openhuman --no-default-features`, which
+ `embed-check-no-default` already covers: it builds the core with the same
+ (empty) feature set.
## Profiles
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 035d88c85a..80694e9e66 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -121,6 +121,12 @@ test("doctests, tui coverage and the TinyJuice regression are left to pushes to
/tool_output_tabulates_a_large_graph_for_a_non_exempt_tool/,
);
assert.match(lite, /run: bash scripts\/ci\/rust-coverage\.sh/);
+ for (const cmd of [
+ "cargo test -p openhuman-embed",
+ "cargo test -p openhuman-tinyhumans",
+ "cargo check --manifest-path Cargo.toml -p openhuman --no-default-features",
+ ])
+ assert.ok(lite.includes(cmd), `CI Lite no longer runs: ${cmd}`);
});
test("the complete suites run, not subsets", () => {