From 4f6a1e8149aa993c541af3840f2c8c69a33bc9b1 Mon Sep 17 00:00:00 2001 From: "groombook-qa[bot]" <269744346+groombook-qa[bot]@users.noreply.github.com> Date: Sun, 12 Apr 2026 12:20:00 +0000 Subject: [PATCH] fix(GRO-574): switch rate limit to memory storage to unblock UAT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat(GRO-566): add SKIP_OOBE env var to bypass setup wizard Co-Authored-By: Paperclip * Add rate_limit table migration for Better Auth (GRO-574) Co-Authored-By: Paperclip * fix(GRO-574): switch rate limit to memory storage to unblock UAT Better Auth rate_limit table migration exists on branch but hasn't been deployed to UAT. Switching to memory storage bypasses the missing table entirely, restoring auth functionality immediately. Memory storage is per-instance (not shared) — rate limiting still functions but won't be distributed across pods. This is acceptable for UAT while the migration is being promoted through the pipeline. Co-Authored-By: Paperclip --------- Co-authored-by: Paperclip Co-authored-by: groombook-qa[bot] <269744346+groombook-qa[bot]@users.noreply.github.com> --- apps/api/src/lib/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/lib/auth.ts b/apps/api/src/lib/auth.ts index d88b91c..31ffd29 100644 --- a/apps/api/src/lib/auth.ts +++ b/apps/api/src/lib/auth.ts @@ -95,7 +95,7 @@ export async function initAuth(): Promise { enabled: true, max: 10, window: 60, - storage: "database", + storage: "memory", }, plugins: [ genericOAuth({ @@ -234,7 +234,7 @@ export async function initAuth(): Promise { enabled: true, max: 10, window: 60, - storage: "database", + storage: "memory", }, account: { storeStateStrategy: "cookie" as const,