Project

General

Profile

Actions

Bug #3

open
NK TB

Rate limiter counts pre-flight OPTIONS requests against the tenant quota

Bug #3: Rate limiter counts pre-flight OPTIONS requests against the tenant quota

Added by Nadia Karam 3 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
API gateway
Target version:
Start date:
09/07/2026
Due date:
% Done:

100%

Estimated time:
8:00 h

Description

What happens

rate limiter counts pre-flight OPTIONS requests against the tenant quota — reproduced on the current 1.5 Glasshouse build.

Steps to reproduce

  1. Sign in as a tenant on the standard plan.
  2. Open the affected screen and repeat the action three times in a row.
  3. Watch the response, the log line and the metric named in the comments below.

Expected

The operation completes once, the log carries a single correlated request id, and the metric moves
by exactly one.

Actual

The behaviour in the title: every time on a cold cache, and roughly one run in four on a warm one.
Found while working through the API gateway backlog; the correlation id is available on request.

NK Updated by Nadia Karam 3 months ago Actions #1

Workaround for anyone blocked: set the header explicitly on the client until this lands.

HT Updated by Hiro Tanabe 3 months ago Actions #2

This is a duplicate of the behaviour described three cycles ago, but the cause is different, so I am keeping it open.

GO Updated by Grace Okonjo 3 months ago Actions #3

Tested the patch against the replay fixture: 0 duplicates over 14 days of events. Moving to Resolved.

Actions

Also available in: PDF Atom