Skip to content

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

fix(ci): stop passing product features to llvm-cov show-env

Steven Enamakel0780ef2283b3
diff --git a/scripts/__tests__/rust-coverage-status.test.mjs b/scripts/__tests__/rust-coverage-status.test.mjs
index 27886a7bb9..3c2b56e67e 100644
--- a/scripts/__tests__/rust-coverage-status.test.mjs
+++ b/scripts/__tests__/rust-coverage-status.test.mjs
@@ -348,8 +348,8 @@ test("CLI inventory sends product features only to nextest, preserving instrumen
const script = [
"set -euo pipefail",
'CORE_PRODUCT_FEATURES="channels,modules"',
- 'expected_inventory=/dev/null',
- 'export CARGO_BUILD_TARGET_DIR=preserved-target',
+ "expected_inventory=/dev/null",
+ "export CARGO_BUILD_TARGET_DIR=preserved-target",
`bash() {
if [[ "$*" == *"llvm-cov show-env"* ]]; then
for arg in "$@"; do
diff --git a/scripts/ci/rust-coverage.sh b/scripts/ci/rust-coverage.sh
index bda3953b65..b64ee13e65 100755
--- a/scripts/ci/rust-coverage.sh
+++ b/scripts/ci/rust-coverage.sh
@@ -271,7 +271,7 @@ if [ "${OH_COV_RUNNER:-cargo}" = "nextest" ]; then
# Listing executes no tests. cargo-llvm-cov supplies the same wrapper and
# instrumentation environment, so Cargo can reuse this CLI test build.
cli_inventory() (
- inventory_env="$(bash scripts/ci-cancel-aware.sh cargo llvm-cov show-env --sh --features "${CORE_PRODUCT_FEATURES}")" || exit $?
+ inventory_env="$(bash scripts/ci-cancel-aware.sh cargo llvm-cov show-env --sh)" || exit $?
eval "${inventory_env}"
bash scripts/ci-cancel-aware.sh cargo nextest list --message-format json --features "${CORE_PRODUCT_FEATURES}" \
-p openhuman-cli --tests -E 'kind(test)' >"${expected_inventory}"