Skip to content

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

test(hosted-json-rpc-enumeration): match e2e module filters with glob patterns

Steven Enamakelccb04f6c05a1
diff --git a/scripts/__tests__/hosted-json-rpc-enumeration.test.mjs b/scripts/__tests__/hosted-json-rpc-enumeration.test.mjs
index 2955611853..45d10d609e 100644
--- a/scripts/__tests__/hosted-json-rpc-enumeration.test.mjs
+++ b/scripts/__tests__/hosted-json-rpc-enumeration.test.mjs
@@ -89,7 +89,9 @@ if [[ "$*" == *"test -p openhuman --lib"* ]]; then
echo PRIVATE-XDG-CACHE
fi
if [[ "$*" == *"--test in_process_all"* ]]; then
- if [[ "$*" =~ --\ (config|auth|app_state|connectivity)_e2e:: ]] && [[ "$*" == *"--test-threads=1"* ]]; then
+ if [[ "$*" == *"config_e2e::"* || "$*" == *"auth_e2e::"* ||
+ "$*" == *"app_state_e2e::"* || "$*" == *"connectivity_e2e::"* ]] &&
+ [[ "$*" == *"--test-threads=1"* ]]; then
echo SERIAL-SPLIT-IN-PROCESS-MODULE
elif [[ "$*" == *"--skip domain_modules_e2e::cron_update_applies_a_partial_patch_without_clobbering_unset_fields"* &&
"$*" == *"--skip domain_modules_e2e::mcp_audit_list_dispatches_internally_and_stays_out_of_the_schema_dump"* &&