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
test: improve skip messages and convert e2e test to ignored attribute
Steven Enamakelf794b76393fa
diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod_repl_module_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/mod_repl_module_tests.rsindex 0b579df683..b5991db003 100644--- a/crates/openhuman-core/src/inference/tokenjuice/mod_repl_module_tests.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/mod_repl_module_tests.rs@@ -8,6 +8,11 @@ use super::*;#[tokio::test]async fn a_large_result_becomes_a_handle_the_repl_tools_can_query() {if std::env::var_os("TINYJUICE_TEST_MODULE").is_none() {+ eprintln!(+ "SKIPPED (not run, not asserted): TINYJUICE_TEST_MODULE is not set. Build \+ vendor/tinyjuice and export TINYJUICE_TEST_MODULE=<path to libtinyjuice_module>, \+ or use scripts/test-rust-with-mock.sh"+ );return;}let rows: String = (0..1200)diff --git a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rsindex 96654f2446..dc0409b0bf 100644--- a/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs+++ b/crates/openhuman-core/src/inference/tokenjuice/mod_tests.rs@@ -40,6 +40,11 @@ async fn off_profile_is_an_exact_pass_through_without_loading_the_module() {#[tokio::test]async fn the_module_calls_back_for_a_summary_written_for_the_focus() {if std::env::var_os("TINYJUICE_TEST_MODULE").is_none() {+ eprintln!(+ "SKIPPED (not run, not asserted): TINYJUICE_TEST_MODULE is not set. Build \+ vendor/tinyjuice and export TINYJUICE_TEST_MODULE=<path to libtinyjuice_module>, \+ or use scripts/test-rust-with-mock.sh"+ );return;}let seen = std::sync::Arc::new(std::sync::Mutex::new(None::<types::GenerateRequest>));diff --git a/tests/memory_sources_e2e.rs b/tests/memory_sources_e2e.rsindex ee47facc00..068b316613 100644--- a/tests/memory_sources_e2e.rs+++ b/tests/memory_sources_e2e.rs@@ -515,19 +515,15 @@ async fn memory_sources_validation_rejects_bad_input() {////// Requires network + `gh` CLI (or unauthenticated GitHub API access)./// The test targets a small, stable public repo so API responses are-/// predictable. Gated behind `OPENHUMAN_E2E_NETWORK=1` so CI without+/// predictable. Kept out of the default run so CI without/// outbound GitHub access doesn't fail on rate limits or transient-/// network blips. Run locally with:-/// OPENHUMAN_E2E_NETWORK=1 cargo test --test memory_sources_e2e \-/// memory_sources_github_repo_activity_flow+/// network blips. `#[ignore]`d so it reports as ignored rather than passing+/// without asserting. Run locally with:+/// cargo test -p openhuman-cli --test memory_sources_e2e \+/// memory_sources_github_repo_activity_flow -- --ignored#[tokio::test]+#[ignore = "needs outbound network to GitHub (kelseyhightower/nocode via the gh CLI / GitHub API); not run in CI. Run: cargo test -p openhuman-cli --test memory_sources_e2e memory_sources_github_repo_activity_flow -- --ignored"]async fn memory_sources_github_repo_activity_flow() {- if std::env::var("OPENHUMAN_E2E_NETWORK").ok().as_deref() != Some("1") {- eprintln!(- "skipping memory_sources_github_repo_activity_flow — set OPENHUMAN_E2E_NETWORK=1 to enable"- );- return;- }let _guard = env_lock();let home = test_home();let openhuman_home = home.join(".openhuman");diff --git a/tests/raw_coverage/worker_b_raw_coverage_e2e.rs b/tests/raw_coverage/worker_b_raw_coverage_e2e.rsindex 4c944b47a5..d7d1ce749d 100644--- a/tests/raw_coverage/worker_b_raw_coverage_e2e.rs+++ b/tests/raw_coverage/worker_b_raw_coverage_e2e.rs@@ -488,7 +488,10 @@ async fn inference_provider_success_paths_use_mock_models_and_chat() {#[tokio::test]async fn tools_web_answer_uses_managed_gemini_grounding_and_returns_citations() {if std::env::var_os("TINYSEARCH_TEST_MODULE").is_none() {- eprintln!("skipping: TINYSEARCH_TEST_MODULE is not set");+ eprintln!(+ "SKIPPED (not run, not asserted): TINYSEARCH_TEST_MODULE is not set. Build vendor/tinysearch \+ and export TINYSEARCH_TEST_MODULE=<path to libtinysearch>, or use scripts/test-rust-with-mock.sh"+ );return;}let _lock = env_lock();@@ -559,7 +562,10 @@ async fn tools_web_search_success_path_uses_backend_session_and_shapes_results()// The search RPC runs through the TinySearch module; CI and// scripts/test-rust-with-mock.sh build it and export its path.if std::env::var_os("TINYSEARCH_TEST_MODULE").is_none() {- eprintln!("skipping: TINYSEARCH_TEST_MODULE is not set");+ eprintln!(+ "SKIPPED (not run, not asserted): TINYSEARCH_TEST_MODULE is not set. Build vendor/tinysearch \+ and export TINYSEARCH_TEST_MODULE=<path to libtinysearch>, or use scripts/test-rust-with-mock.sh"+ );return;}let _lock = env_lock();