Skip to content

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

fix(ci): correct tui coverage default and test import

Steven Enamakel977de3b94339
diff --git a/scripts/__tests__/self-hosted-lanes.test.mjs b/scripts/__tests__/self-hosted-lanes.test.mjs
index 81b950b9b6..67fb54a173 100644
--- a/scripts/__tests__/self-hosted-lanes.test.mjs
+++ b/scripts/__tests__/self-hosted-lanes.test.mjs
@@ -561,7 +561,7 @@ test("peak RSS follows the process tree, including setsid'd descendants", () =>
});
test("the rust-core path filter arms the lane for every crate the tui depends on", () => {
- const filter = readFileSync(".github/ci-paths-filter.yml", "utf8");
+ const filter = fs.readFileSync(".github/ci-paths-filter.yml", "utf8");
const block = filter.split(/^rust-tauri:/m)[0].split(/^rust-core:/m)[1];
for (const crate of ["core", "embed", "tinyhumans", "rpc", "cli", "tui"]) {
assert.ok(block.includes(`'crates/openhuman-${crate}/**'`), crate);
diff --git a/scripts/ci/rust-coverage.sh b/scripts/ci/rust-coverage.sh
index 4d0cbf0bce..47a848f676 100755
--- a/scripts/ci/rust-coverage.sh
+++ b/scripts/ci/rust-coverage.sh
@@ -222,12 +222,12 @@ suite "openhuman-embed" llvm_cov_embed --no-report --no-fail-fast -p openhuman-e
suite "openhuman-rpc" llvm_cov_package --no-report --no-fail-fast -p openhuman-rpc --all-targets
suite "openhuman-tinyhumans" llvm_cov_embed --no-report --no-fail-fast -p openhuman-tinyhumans --all-targets
# The terminal frontend builds the core a third time (default features, not the
-# product set), so CI Fast leaves it to pushes to main (OH_COV_TUI=0), where
-# CI Lite runs this script with it on.
+# product set). It is on by default and on in the PR lane; OH_COV_TUI=0 is an
+# opt-out for local runs.
if [ "${OH_COV_TUI:-1}" = "1" ]; then
suite "openhuman-tui" llvm_cov_package --no-report --no-fail-fast -p openhuman-tui --all-targets
else
- log "skipping openhuman-tui (OH_COV_TUI=${OH_COV_TUI}); pushes to main run it"
+ log "skipping openhuman-tui (OH_COV_TUI=${OH_COV_TUI})"
fi
if [ "${OH_COV_RUNNER:-cargo}" = "nextest" ]; then