refactor(api): add redis-backed rate limiting fallback

This commit is contained in:
2026-03-30 23:23:56 +02:00
parent bcfb18393e
commit ef5e8016a4
9 changed files with 357 additions and 61 deletions
@@ -204,9 +204,9 @@ function createMissingApprovalTableError() {
describe("assistant router tool gating", () => {
let approvalStore = createApprovalStoreMock();
beforeEach(() => {
beforeEach(async () => {
approvalStore = createApprovalStoreMock();
apiRateLimiter.reset();
await apiRateLimiter.reset();
resetAssistantApprovalStorageWarningStateForTests();
});