Skip to content

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

Give the coverage lane the memory test seams it compiles against

Shanu06d4fdea1e41
diff --git a/scripts/ci/rust-coverage-changed.sh b/scripts/ci/rust-coverage-changed.sh
index 2a5173e8ae..6201ada7e3 100755
--- a/scripts/ci/rust-coverage-changed.sh
+++ b/scripts/ci/rust-coverage-changed.sh
@@ -50,7 +50,15 @@ log() { echo "[ci][rust-cov-changed] $*"; }
# measuring code that ships, and the diff-coverage gate would pass a PR whose
# changed lines were never compiled. Source of truth:
# scripts/ci/product-features.txt.
-PRODUCT_FEATURES="$(bash scripts/ci/product-features.sh)"
+# `memory-embedded-test-seams` rides along because this lane compiles
+# `tests/*.rs`, and 25 of those targets name `memory::host_impls` — the
+# embedded-engine host seams, which the shipped build no longer installs and
+# which are therefore deliberately NOT a product feature (#5560). Without it
+# those targets fail to COMPILE here while passing every other lane, because
+# every other lane that builds them adds the feature too (test-reusable.yml).
+# It cannot leak into what is measured as product code: the feature gates one
+# module of test support and nothing else.
+PRODUCT_FEATURES="$(bash scripts/ci/product-features.sh),memory-embedded-test-seams"
# The CI job normally supplies a linker-only RUSTFLAGS value. cargo-llvm-cov
# owns this variable while it compiles coverage-instrumented crates; preserving