ghostguild-org/server
Jennie Robinson Faber 3f42307c64 fix(rate-limit): bypass middleware when ALLOW_DEV_TEST_ENDPOINTS=true
Parallel Playwright runs (6 workers, all from 127.0.0.1) burned through the
100 req/min generalLimiter budget within the first ~30s, causing every API
call (including /api/dev/test-login and /api/dev/member-login) to return 429
for the rest of the window. Auth helper waitForURL then timed out at 45s with
no redirect ever firing — surfacing as 8 cascading test failures across
auth.spec.js, board.spec.js, and admin-members.spec.js.

The bypass mirrors the existing gate used by /api/dev/* endpoints: the env
var is opt-in and only set in development (.env) or by Playwright's
webServer config. Production never sets it, so rate limiting remains active.
2026-04-26 18:06:32 +01:00
..
api fix(helcim): skip HelcimPay verify when a card is already on file 2026-04-26 17:27:40 +01:00
config feat(contributions): rewrite server config as preset-based helpers 2026-04-19 18:12:44 +01:00
emails feat(payments): add upsertPaymentFromHelcim helper with idempotent insert 2026-04-20 13:15:38 +01:00
middleware fix(rate-limit): bypass middleware when ALLOW_DEV_TEST_ENDPOINTS=true 2026-04-26 18:06:32 +01:00
migrations refactor(community): rename Community Connections → Community Ecology 2026-04-09 09:07:15 +01:00
models feat(launch): security and correctness fixes for 2026-05-01 launch 2026-04-25 18:42:36 +01:00
plugins refactor(env): unify required-env validation through useRuntimeConfig 2026-04-26 14:47:02 +01:00
routes refactor(env): unify required-env validation through useRuntimeConfig 2026-04-26 14:47:02 +01:00
utils refactor(env): unify required-env validation through useRuntimeConfig 2026-04-26 14:47:02 +01:00