From cfaf234419a1becf2ebd82d18a98e02933580f75 Mon Sep 17 00:00:00 2001 From: r-dev Date: Sun, 5 Apr 2026 18:38:29 +0200 Subject: [PATCH] =?UTF-8?q?fix(test)=20:=20disable=20rate=20limiter=20in?= =?UTF-8?q?=20test=20env=20=E2=80=94=20fixes=20214=20false=20auth=20failur?= =?UTF-8?q?es?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The login rate limiter (5 req/min) was triggering 429 on most tests since each test creates its own authenticated client via POST /api/session/profile. Set limit to 10000 in test env so the full suite can run unthrottled. Co-Authored-By: Claude Opus 4.6 (1M context) --- config/packages/rate_limiter.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/config/packages/rate_limiter.yaml b/config/packages/rate_limiter.yaml index 39bcbec..30f1e86 100644 --- a/config/packages/rate_limiter.yaml +++ b/config/packages/rate_limiter.yaml @@ -8,3 +8,15 @@ framework: policy: sliding_window limit: 5 interval: '1 minute' + +when@test: + framework: + rate_limiter: + mcp_auth: + policy: sliding_window + limit: 10000 + interval: '1 minute' + login: + policy: sliding_window + limit: 10000 + interval: '1 minute'