The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
ci(coverage): enable testkit and sqlite features in default coverage suites
Steven Enamakel3d3c114d652d
diff --git a/scripts/ci/coverage-presence-allowlist.txt b/scripts/ci/coverage-presence-allowlist.txtindex 9eacaecdbb..64a5175e4e 100644--- a/scripts/ci/coverage-presence-allowlist.txt+++ b/scripts/ci/coverage-presence-allowlist.txt@@ -26,6 +26,18 @@# generic facade stub.crates/openhuman-core/src/runtime/client/disabled.rs+# `modules/unloaded.rs` is the loader-off implementation of the module client.+# The coverage lane enables `modules` in both its default and product feature+# builds, so the loader-on implementation is covered there; this counterpart+# is exercised by the feature-disabled Rust build instead.+crates/openhuman-core/src/modules/unloaded.rs++# `encrypted_file_backend_disabled.rs` is selected only when `secret-file` is+# off. The coverage lane enables that feature for both default and product+# builds; the disabled backend's fail-closed API is covered by its dedicated+# no-secret-file nextest case.+crates/openhuman-core/src/security/secret_storage/encrypted_file_backend_disabled.rs+# `helper/swift_source.rs` assembles these fragments only to build the macOS# Swift accessibility helper. The production feature set is compiled for Linux# in this coverage lane, so each fragment's `#[cfg(target_os = "macos")]`diff --git a/scripts/ci/rust-coverage.sh b/scripts/ci/rust-coverage.shindex 5c27e710a9..1f7a85e8d1 100755--- a/scripts/ci/rust-coverage.sh+++ b/scripts/ci/rust-coverage.sh@@ -378,8 +378,13 @@ fiif [ "${OH_COV_RUNNER:-cargo}" = "nextest" ]; then# Contributor/default features are distinct from product features. Keep both# configurations instrumented rather than dropping the default-only surface.- suite "openhuman-embed (default)" llvm_cov_package --no-report --no-fail-fast -p openhuman-embed --all-targets- suite "openhuman-tinyhumans (default)" llvm_cov_package --no-report --no-fail-fast -p openhuman-tinyhumans --all-targets+ # Integration tests use the facade's in-memory session store testkit, and+ # storage-backed tests need the contributor SQLite driver even though it is+ # not part of the small default feature set.+ suite "openhuman-embed (default)" llvm_cov_package --no-report --no-fail-fast -p openhuman-embed --all-targets \+ --features testkit,storage-sqlite+ suite "openhuman-tinyhumans (default)" llvm_cov_package --no-report --no-fail-fast -p openhuman-tinyhumans --all-targets \+ --features storage-sqlitefi# The terminal frontend builds the core a third time (default features, not the# product set). It is on by default and on in the PR lane; OH_COV_TUI=0 is an@@ -405,7 +410,7 @@ fi# parallel lane instead (CI Fast on the EX63) sets OH_COV_DOCTESTS=0.if [ "${OH_COV_DOCTESTS:-1}" = "1" ]; thensuite "openhuman doctests" bash scripts/ci-cancel-aware.sh cargo test -p openhuman \- --doc --features "${PRODUCT_FEATURES}"+ --doc --features "${CORE_PRODUCT_FEATURES}"elselog "skipping doctests (OH_COV_DOCTESTS=${OH_COV_DOCTESTS}); the caller runs them"fi