Skip to content

Commit ee1be4c

Browse files
ci(e2e-prod): full live suite on cron + on-demand only (not every UI build) (#208)
Running the full live-provision suite on every merge to main (push:[main]) + every api deploy fired it dozens of times on a busy day, accumulating real customer DBs on shared prod infra faster than reaps cleaned them — degrading prod provisioning (the vector live test went 10s→2min timeout over one session). Remove push:[main]; keep cron(*/30) + workflow_dispatch + an on-demand repository_dispatch. Cheap per-build coverage stays: e2e-pr-smoke (contract-only) on web PRs + the api webhook-injection unit test on api PRs. Co-authored-by: Claude <noreply@anthropic.com>
1 parent db24d98 commit ee1be4c

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

.github/workflows/e2e-prod.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,16 +46,19 @@ name: E2E LIVE (prod, minted account)
4646
on:
4747
workflow_dispatch: {}
4848
schedule:
49-
# Every 30 minutes — continuous prod integration signal.
49+
# Every 30 minutes — continuous prod integration signal. This is the
50+
# controlled cadence for the FULL live suite: it provisions real customer
51+
# DBs on shared prod infra, so it must NOT run on every build. (We tried
52+
# push:[main] + an api per-deploy dispatch; on a busy day that fired the
53+
# full provision suite dozens of times, accumulating customer DBs faster
54+
# than reaps cleaned them and degrading prod provisioning — self-DoS. The
55+
# cheap per-build coverage lives elsewhere: e2e-pr-smoke.yml runs the
56+
# contract-only leg on every web PR, and the api's webhook-injection unit
57+
# test + auth-contract dispatch cover the money path per api build.)
5058
- cron: '*/30 * * * *'
51-
push:
52-
# Every UI build (merge to main = a web deploy) runs the full payment/UI
53-
# suite against prod, so a UI change that breaks the money funnel is caught
54-
# on the build that ships it — not only on the next 30-min tick.
55-
branches: [main]
5659
repository_dispatch:
57-
# Fired by the api on every push to master (an API build/deploy) so an
58-
# api-side change to checkout/webhook is exercised by the browser suite too.
60+
# Kept as an ON-DEMAND hook (operators can fire it deliberately). NOT wired
61+
# to fire on every api deploy anymore — see the schedule rationale above.
5962
types: [e2e-prod-from-deploy]
6063

6164
concurrency:

0 commit comments

Comments
 (0)