Bug #3
openRate limiter counts pre-flight OPTIONS requests against the tenant quota
100%
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
- Sign in as a tenant on the standard plan.
- Open the affected screen and repeat the action three times in a row.
- 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
Workaround for anyone blocked: set the header explicitly on the client until this lands.
HT Updated by Hiro Tanabe 3 months ago
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
Tested the patch against the replay fixture: 0 duplicates over 14 days of events. Moving to Resolved.