Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure
TypeScript
test(e2e): clean static gate contracts
Alfredo Lopez4a3fc13939a0
diff --git a/scripts/e2e/e2e-crd-field-injection.sh b/scripts/e2e/e2e-crd-field-injection.shindex 547b3f90f..d4fe358f8 100755--- a/scripts/e2e/e2e-crd-field-injection.sh+++ b/scripts/e2e/e2e-crd-field-injection.sh@@ -55,6 +55,7 @@ require_safe_kube_context || exit 1cleanup_e2e_resourcesensure_e2e_resources_absent ||fail "Stale e2e-sec resources remain after cleanup; refusing stale-positive E2E run"+# shellcheck disable=SC2154 # e2e-lib.sh owns the shared result counters.[ "$e2e_fail" -gt 0 ] && exit 1# ═══ Test 1: imagePullPolicy override prevention ═════════════════════@@ -303,5 +304,6 @@ ensure_e2e_resources_absent && ok "All e2e-sec resources cleaned up" || fail "e2# ═══ Summary ═════════════════════════════════════════════════════════header "Summary"+# shellcheck disable=SC2154 # e2e-lib.sh owns the shared result counters.echo -e " ${GREEN}PASS${NC}: ${e2e_pass} ${RED}FAIL${NC}: ${e2e_fail} Total: ${e2e_total}"[ "$e2e_fail" -gt 0 ] && exit 1 || exit 0diff --git a/scripts/e2e/e2e-wrc-hcc-contracts.sh b/scripts/e2e/e2e-wrc-hcc-contracts.shindex 21438fec4..570f0f923 100755--- a/scripts/e2e/e2e-wrc-hcc-contracts.sh+++ b/scripts/e2e/e2e-wrc-hcc-contracts.sh@@ -298,7 +298,7 @@ elsefirm -f "$running_response_file"-if running_status_json="$(wait_for_running_workflowrecipe_status)"; then+if wait_for_running_workflowrecipe_status >/dev/null; thenok "WorkflowRecipe becomes active when workflow execution is running"elsefail "WorkflowRecipe did not become active on running workflow execution"@@ -429,7 +429,7 @@ elsefirm -f "$pending_response_file"-if pending_status_json="$(wait_for_pending_preserves_non_terminal_recipe_status)"; then+if wait_for_pending_preserves_non_terminal_recipe_status >/dev/null; thenok "WorkflowRecipe stays non-terminal when workflow execution is pending"elsefail "WorkflowRecipe did not stay non-terminal on pending workflow execution"diff --git a/scripts/tests/test-hcc-watch-recovery-gate.sh b/scripts/tests/test-hcc-watch-recovery-gate.shindex 44d0519f7..c6494f6fa 100755--- a/scripts/tests/test-hcc-watch-recovery-gate.sh+++ b/scripts/tests/test-hcc-watch-recovery-gate.sh@@ -715,7 +715,7 @@ valid_baseline_policies='{"items":[]}'if (MCP_NS=mcp-server- MANAGED_BY_VALUE=host-context-controller+ MANAGED_BY_VALUE='host-context-controller'MOCK_POLICY_JSON="$valid_baseline_policies"kctl() { printf '%s\n' "$MOCK_POLICY_JSON"; }eval "$baseline_policy_snapshot_function"