Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(ci): r6-m3 update runtime profiles for dynamic clients
Josué9576e4db189b
diff --git a/scripts/tests/test-control-api-runtime-access-contract.sh b/scripts/tests/test-control-api-runtime-access-contract.shindex ff774eac2..bbf5f836e 100755--- a/scripts/tests/test-control-api-runtime-access-contract.sh+++ b/scripts/tests/test-control-api-runtime-access-contract.sh@@ -9,7 +9,8 @@ relation_count="$(awk -F '\t' '!/^[[:space:]]*(#|$)/ { count++ } END { print couduplicate_count="$(awk -F '\t' '!/^[[:space:]]*(#|$)/ { seen[$1]++ } END { for (name in seen) if (seen[name] > 1) count++ } END { print count + 0 }' "$PROFILE_FILE")"invalid_count="$(awk -F '\t' '!/^[[:space:]]*(#|$)/ && (NF != 2 || $1 !~ /^[a-z][a-z0-9_]*$/ || $2 !~ /^(legacy_dml|upsert|append|read|link_lifecycle|none)$/) { count++ } END { print count + 0 }' "$PROFILE_FILE")"-if [[ "$relation_count" != "96" || "$duplicate_count" != "0" || "$invalid_count" != "0" ]] || \+if [[ "$relation_count" != "97" || "$duplicate_count" != "0" || "$invalid_count" != "0" ]] || \+ ! grep -qx $'dynamic_clients\tlegacy_dml' "$PROFILE_FILE" || \! grep -qx $'entity_change_feed\tnone' "$PROFILE_FILE" || \! grep -qx $'entity_change_outbox\tnone' "$PROFILE_FILE" || \! grep -qx $'entity_change_watermark\tnone' "$PROFILE_FILE" || \diff --git a/scripts/tests/test-gcp-scripts.sh b/scripts/tests/test-gcp-scripts.shindex 85bf7380e..74ccfd33c 100755--- a/scripts/tests/test-gcp-scripts.sh+++ b/scripts/tests/test-gcp-scripts.sh@@ -1466,7 +1466,8 @@ assert_control_api_runtime_access_contract_is_exact() {sequence_duplicate_count="$(awk -F '\t' '!/^[[:space:]]*(#|$)/ { seen[$1]++ } END { for (name in seen) if (seen[name] > 1) count++ } END { print count + 0 }' "$sequence_profile_file")"sequence_invalid_count="$(awk -F '\t' '!/^[[:space:]]*(#|$)/ && (NF != 2 || $1 !~ /^[a-z][a-z0-9_]*$/ || $2 !~ /^(legacy_rw|consume|none)$/) { count++ } END { print count + 0 }' "$sequence_profile_file")"- if [[ "$relation_count" == "96" && "$duplicate_count" == "0" && "$invalid_count" == "0" ]] && \+ if [[ "$relation_count" == "97" && "$duplicate_count" == "0" && "$invalid_count" == "0" ]] && \+ grep -qx $'dynamic_clients\tlegacy_dml' "$profile_file" && \grep -qx $'entity_change_feed\tnone' "$profile_file" && \grep -qx $'entity_change_outbox\tnone' "$profile_file" && \grep -qx $'entity_change_watermark\tnone' "$profile_file" && \@@ -1480,7 +1481,8 @@ assert_control_api_runtime_access_contract_is_exact() {grep -qx $'plugin_workload_sdk_spend_outcomes\tappend' "$profile_file" && \grep -qx $'gfs_desktop_operator_links\tlink_lifecycle' "$profile_file" && \grep -qx $'desktop_user_retirement_operations\tlink_lifecycle' "$profile_file" && \- [[ "$sequence_count" == "8" && "$sequence_duplicate_count" == "0" && "$sequence_invalid_count" == "0" ]] && \+ [[ "$sequence_count" == "9" && "$sequence_duplicate_count" == "0" && "$sequence_invalid_count" == "0" ]] && \+ grep -qx $'dynamic_clients_id_seq\tlegacy_rw' "$sequence_profile_file" && \grep -qx $'entity_change_outbox_id_seq\tnone' "$sequence_profile_file" && \grep -qx $'member_registration_credentials_id_seq\tconsume' "$sequence_profile_file" && \[[ "$migration_script" != *'RUNTIME_ACCESS_PROFILES_FILE:-'* ]] && \