Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(e2e): pin concurrencyPolicy Allow on the schedule cadence E2E

Jose Ramirez004b1b426a27
diff --git a/scripts/e2e/e2e-workflow-schedules.sh b/scripts/e2e/e2e-workflow-schedules.sh
index 0edadacdd..5fabafd5b 100755
--- a/scripts/e2e/e2e-workflow-schedules.sh
+++ b/scripts/e2e/e2e-workflow-schedules.sh
@@ -179,6 +179,10 @@ spec:
schedule:
cron: "*/1 * * * *"
timezone: UTC
+ # This script tests cadence, not concurrency: Case 4 needs >=2 runs
+ # within the wait window, which the default Forbid would usually skip.
+ # Forbid is covered by control-api unit and real-Postgres tests.
+ concurrencyPolicy: Allow
steps:
- id: scheduled-step
instruction: "Phase 5 scheduled E2E step."
diff --git a/scripts/e2e/e2e-workflow-usage-attribution.sh b/scripts/e2e/e2e-workflow-usage-attribution.sh
index d5204bcf3..824df8ee1 100755
--- a/scripts/e2e/e2e-workflow-usage-attribution.sh
+++ b/scripts/e2e/e2e-workflow-usage-attribution.sh
@@ -176,6 +176,8 @@ trigger_seeded_fixtures() {
pass "triggered ${recipe} (run_id=${run_id})"
done
+ # If SCHEDULE_RECIPE is also in TRIGGER_RECIPES, its live on-demand run makes
+ # the forced tick skip under concurrencyPolicy Forbid (the default).
if [[ -n "$SCHEDULE_RECIPE" ]]; then
local schedule_rows
schedule_rows=$(pg_psql "UPDATE workflow_schedules