Skip to content

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

fix: scope coverage features to embed facade

Steven Enamakel10906d24e73e
diff --git a/scripts/ci/rust-coverage-changed.sh b/scripts/ci/rust-coverage-changed.sh
index b5006071f4..2cbe3543df 100755
--- a/scripts/ci/rust-coverage-changed.sh
+++ b/scripts/ci/rust-coverage-changed.sh
@@ -73,10 +73,16 @@ llvm_cov() {
bash scripts/ci-cancel-aware.sh cargo llvm-cov --features "${PRODUCT_FEATURES}" "$@"
}
-# Facade packages mirror the core's feature names. Forward the product set so
-# their own feature-gated façade modules (not just their core dependency) are
-# compiled and measured too.
+# Workspace packages which do not need the core product-feature vocabulary.
llvm_cov_package() {
+ bash scripts/ci-cancel-aware.sh cargo llvm-cov "$@"
+}
+
+# The embedding facade mirrors the core's feature names. Forward the product
+# set so its own feature-gated façade modules (not just its core dependency)
+# are compiled and measured too. The TUI does not expose that vocabulary, so
+# it must continue through llvm_cov_package above.
+llvm_cov_embed() {
bash scripts/ci-cancel-aware.sh cargo llvm-cov --features "${PRODUCT_FEATURES}" "$@"
}
@@ -265,7 +271,7 @@ run_full() {
llvm_cov --no-report --no-fail-fast -p openhuman --lib \
-- "openhuman::agent::tinyagents::reaper::tests::a_build_only_runtime_is_swept_before_it_can_be_invoked" \
--exact --test-threads=1
- llvm_cov_package --no-report --no-fail-fast -p openhuman-embed --all-targets
+ llvm_cov_embed --no-report --no-fail-fast -p openhuman-embed --all-targets
llvm_cov_package --no-report --no-fail-fast -p openhuman-tui --all-targets
while IFS= read -r target; do
[ -n "${target}" ] || continue
@@ -470,7 +476,7 @@ if [ "${#lib_filters[@]}" -gt 0 ]; then
fi
if [ "${run_embed}" = true ]; then
log "running openhuman-embed tests"
- run_counted llvm_cov_package --no-report --no-fail-fast -p openhuman-embed --all-targets
+ run_counted llvm_cov_embed --no-report --no-fail-fast -p openhuman-embed --all-targets
fi
if [ "${run_tui}" = true ]; then
log "running openhuman-tui tests"