Skip to content

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

fix(ci): isolate full lib and bin test suites with single-threaded execution

Steven Enamakel9a6fdc2ed31a
diff --git a/scripts/ci/rust-coverage-changed.sh b/scripts/ci/rust-coverage-changed.sh
index 79f6b3440e..8183f4f5f2 100755
--- a/scripts/ci/rust-coverage-changed.sh
+++ b/scripts/ci/rust-coverage-changed.sh
@@ -242,8 +242,11 @@ compile_raw_coverage_target() {
run_full() {
log "running FULL instrumented suite (reason: $1)"
llvm_cov clean --workspace
- llvm_cov --no-report --no-fail-fast -p openhuman --lib
- llvm_cov --no-report --no-fail-fast -p openhuman --bins
+ # The full lib/bin suites share process-global configuration, event-bus, and
+ # provider state. Keep them isolated just like the integration targets below
+ # so parallel libtest cases cannot leak state into one another.
+ llvm_cov --no-report --no-fail-fast -p openhuman --lib -- --test-threads=1
+ llvm_cov --no-report --no-fail-fast -p openhuman --bins -- --test-threads=1
while IFS= read -r target; do
[ -n "${target}" ] || continue
log "running full-suite integration target: ${target}"