From f62fd4f586ee39bc5d01c37f63402ea7f049a3f8 Mon Sep 17 00:00:00 2001 From: Jennie Robinson Faber Date: Thu, 30 Apr 2026 23:59:15 +0100 Subject: [PATCH] fix(ci): set ALLOW_DEV_TEST_ENDPOINTS=true for e2e + visual jobs Without this flag, server/middleware/03.rate-limit.js applies the 100-req/60s general limit to /api/dev/test-login and trips during parallel e2e runs. The invite.post.js dev short-circuit also depends on this env var to skip the Resend call (no RESEND_API_KEY in CI). --- .forgejo/workflows/test.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/test.yml b/.forgejo/workflows/test.yml index 8edaae1..8c2b239 100644 --- a/.forgejo/workflows/test.yml +++ b/.forgejo/workflows/test.yml @@ -31,6 +31,7 @@ jobs: JWT_SECRET: ci-test-jwt-secret NUXT_PUBLIC_COMING_SOON: 'false' NODE_ENV: development + ALLOW_DEV_TEST_ENDPOINTS: 'true' steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 @@ -82,6 +83,7 @@ jobs: JWT_SECRET: ci-test-jwt-secret NUXT_PUBLIC_COMING_SOON: 'false' NODE_ENV: development + ALLOW_DEV_TEST_ENDPOINTS: 'true' steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4