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
feat(scripts): isolate build-only reaper test in its own process
Steven Enamakel0becfa65f736
diff --git a/scripts/ci/rust-coverage-changed.sh b/scripts/ci/rust-coverage-changed.shindex 1ad9d657b7..db687ab22a 100755--- a/scripts/ci/rust-coverage-changed.sh+++ b/scripts/ci/rust-coverage-changed.sh@@ -260,7 +260,8 @@ run_full() {--skip phase2_exactly_one_tree_ingest_per_segment_close \--skip phase2_provenance_stamped_on_leaf_and_source_id_is_constant \--skip phase2_ingested_content_is_raw_prose_not_recap \- --skip phase2_flush_also_triggers_tree_ingest+ --skip phase2_flush_also_triggers_tree_ingest \+ --skip a_build_only_runtime_is_swept_before_it_can_be_invokedlocal archivist_testfor archivist_test in \phase2_no_per_turn_tree_write \@@ -273,6 +274,13 @@ run_full() {"openhuman::agent::harness::archivist::tests::part_01_tests::${archivist_test}" \-- --exact --test-threads=1done+ # This test deliberately boots a real harness-only CoreBuilder. Doing so+ # installs one-shot process globals (including DEFAULT_CONTEXT), which would+ # narrow every later registry lookup in the aggregate unit-test process.+ log "running isolated build-only reaper test"+ 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=1llvm_cov_package --no-report --no-fail-fast -p openhuman-embed --all-targetsllvm_cov_package --no-report --no-fail-fast -p openhuman-tui --all-targetswhile IFS= read -r target; dodiff --git a/scripts/test-rust-with-mock.sh b/scripts/test-rust-with-mock.shindex 4160d2808c..de1312b837 100755--- a/scripts/test-rust-with-mock.sh+++ b/scripts/test-rust-with-mock.sh@@ -182,6 +182,15 @@ run_archivist_tree_tests() {done}+run_build_only_reaper_test() {+ # Building the runtime installs process-global context that cannot be reset.+ # Keep this real build-path regression in a fresh process so it cannot narrow+ # the DomainSet observed by later registry and domain tests.+ cargo_test --lib \+ "openhuman::agent::tinyagents::reaper_tests::a_build_only_runtime_is_swept_before_it_can_be_invoked" \+ -- --exact --test-threads=1 "$@"+}+run_full_suite() {# Several unit fixtures mutate process-wide state (provider overrides and# temporary executable paths). Keep this aggregate invocation deterministic;@@ -192,8 +201,10 @@ run_full_suite() {--skip phase2_exactly_one_tree_ingest_per_segment_close \--skip phase2_provenance_stamped_on_leaf_and_source_id_is_constant \--skip phase2_ingested_content_is_raw_prose_not_recap \- --skip phase2_flush_also_triggers_tree_ingest "$@"+ --skip phase2_flush_also_triggers_tree_ingest \+ --skip a_build_only_runtime_is_swept_before_it_can_be_invoked "$@"run_archivist_tree_tests "$@"+ run_build_only_reaper_test "$@"cargo_test --doc -- "$@"while IFS= read -r target; do