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: update nextest and e2e test references for renamed json_rpc suites
Steven Enamakel7a398fe9739a
diff --git a/.config/nextest.toml b/.config/nextest.tomlindex 567ae1b2e7..7f9950a291 100644--- a/.config/nextest.toml+++ b/.config/nextest.toml@@ -30,7 +30,7 @@ test-group = 'agent-harness-e2e'# RPC bootstrap writes a fixed temporary token path across processes. Retain# the original serial contract of both resource-sensitive integration suites.[[profile.ci.overrides]]-filter = 'binary(/^json_rpc_e2e$/)'+filter = 'binary(/^json_rpc_.*_e2e$/)'test-group = 'json-rpc-e2e'[[profile.ci.overrides]]diff --git a/scripts/__tests__/nextest-coverage.test.mjs b/scripts/__tests__/nextest-coverage.test.mjsindex 4d7e47a898..062ae013fb 100644--- a/scripts/__tests__/nextest-coverage.test.mjs+++ b/scripts/__tests__/nextest-coverage.test.mjs@@ -65,7 +65,7 @@ test("nextest serialization retains JSON-RPC and multi-server suites", () => {path.join(root, ".config/nextest.toml"),"utf8",);- assert.match(config, /binary\(\/\^json_rpc_e2e\$\/\)/);+ assert.match(config, /binary\(\/\^json_rpc_\.\*_e2e\$\/\)/);assert.match(config, /binary\(\/\^mcp_registry_multi_server\$\/\)/);});@@ -122,7 +122,7 @@ if (args[0] === 'metadata') {);for (const targets of [[],- ["agent_harness_e2e", "json_rpc_e2e", "mcp_registry_multi_server"],+ ["agent_harness_e2e", "json_rpc_threads_e2e", "mcp_registry_multi_server"],]) {execFileSync("bash",diff --git a/scripts/__tests__/rust-coverage-status.test.mjs b/scripts/__tests__/rust-coverage-status.test.mjsindex 34cd460cbc..634085725a 100644--- a/scripts/__tests__/rust-coverage-status.test.mjs+++ b/scripts/__tests__/rust-coverage-status.test.mjs@@ -377,7 +377,7 @@ for (const platform of ["Linux", "Darwin", "MINGW64_NT-10.0", "Windows_NT"]) {[`if target_expected_in_coverage composio_list_tools_stack_overflow_regression '${platform}'; then exit 11; fi`,`if target_expected_in_coverage windows_sandbox_env_e2e '${platform}'; then ${windows ? ":" : "exit 12"}; else ${windows ? "exit 13" : ":"}; fi`,- `target_expected_in_coverage json_rpc_e2e '${platform}'`,+ `target_expected_in_coverage json_rpc_threads_e2e '${platform}'`,`target_expected_in_coverage future_empty_suite '${platform}'`,].join("\n"),);diff --git a/scripts/__tests__/rust-e2e-enumeration.test.mjs b/scripts/__tests__/rust-e2e-enumeration.test.mjsindex e5aa771281..ae5c4a95df 100644--- a/scripts/__tests__/rust-e2e-enumeration.test.mjs+++ b/scripts/__tests__/rust-e2e-enumeration.test.mjs@@ -1,6 +1,6 @@// Regression tests for test enumeration in scripts/test-rust-e2e.sh (#6236).//-// `run_json_rpc_e2e_suite` lists the json_rpc_e2e cases with+// `run_json_rpc_e2e_suite` lists the namespace target's cases with// `cargo test -- --list`, then runs each in a fresh process. The listing used to// be read through a process substitution, whose exit status nothing checks:// when the target failed to compile, cargo listed nothing, the loop ran zero@@ -135,6 +135,7 @@ function runSuite({ listStdout, listStatus, failTest = "", includeExtraArgs = tr'SCRIPT_DIR="$STUB_DIR"','CARGO_BIN="$STUB_DIR/cargo"','PRODUCT_FEATURES="voice"',+ 'suite="json_rpc_threads_e2e"',// Non-empty on purpose: it proves EXTRA_ARGS still reaches every case, and// bash before 4.4 (macOS /bin/bash is 3.2) treats an empty "${a[@]}" as// unbound under `set -u`, which would fail these tests locally for a@@ -187,7 +188,7 @@ function runSuite({ listStdout, listStatus, failTest = "", includeExtraArgs = tr}const runOf = (name, includeExtraArgs = true) =>- `test --manifest-path Cargo.toml --features voice --test json_rpc_e2e ${name} -- --exact --test-threads=1${includeExtraArgs ? " --nocapture" : ""}`;+ `test --manifest-path Cargo.toml --features voice --test json_rpc_threads_e2e ${name} -- --exact --test-threads=1${includeExtraArgs ? " --nocapture" : ""}`;test("a listing that fails before printing any name fails the suite", () => {// The case from #6236: the target does not compile, so there is nothing to@@ -200,7 +201,7 @@ test("a listing that fails before printing any name fails the suite", () => {`an enumeration failure must fail the suite:\n${res.output}`,);assert.doesNotMatch(res.output, /SUITE-REPORTED-SUCCESS/);- assert.match(res.output, /could not enumerate json_rpc_e2e tests/);+ assert.match(res.output, /could not enumerate json_rpc_threads_e2e/);assert.deepEqual(res.runs, []);});diff --git a/scripts/__tests__/rust-product-enumeration.test.mjs b/scripts/__tests__/rust-product-enumeration.test.mjsindex 1658de4d1f..e69ba2635f 100644--- a/scripts/__tests__/rust-product-enumeration.test.mjs+++ b/scripts/__tests__/rust-product-enumeration.test.mjs@@ -59,7 +59,7 @@ for (const [description, listing, code] of [assert.equal(result.status, 0, result.stdout + result.stderr);assert.match(readFileSync(ran, "utf8"),- /--test json_rpc_e2e scenario_a -- --exact --test-threads=1/,+ /--test json_rpc_misc_e2e scenario_a -- --exact --test-threads=1/,);} else {assert.notEqual(result.status, 0, result.stdout + result.stderr);diff --git a/scripts/__tests__/test-module-installation.test.mjs b/scripts/__tests__/test-module-installation.test.mjsindex 34826380ee..e70c2f6e1b 100644--- a/scripts/__tests__/test-module-installation.test.mjs+++ b/scripts/__tests__/test-module-installation.test.mjs@@ -179,7 +179,7 @@ test("config/auth in-process integration tests run serially in both full runners);assert.match(source.slice(start, end),- /config_auth_app_state_connectivity_e2e[\s\S]*?--test-threads=1/,+ /(config|auth|app_state|connectivity)_e2e[\s\S]*?--test-threads=1/,`${runner} serializes auth RPC fixtures that share process-wide listeners`,);}