Actions
Bug #22
open
LF
Metering double-counts requests replayed from the dead-letter queue
Bug #22:
Metering double-counts requests replayed from the dead-letter queue
Start date:
09/20/2026
Due date:
10/18/2026 (39 days late)
% Done:
0%
Estimated time:
13:00 h
Description
What happens
metering double-counts requests replayed from the dead-letter queue — reproduced on the current Billing Q4 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 Metering backlog; the correlation id is available on request.
LF Updated by Luca Ferraro 2 months ago
Tested the patch against the replay fixture: 0 duplicates over 14 days of events. Moving to Resolved.
Actions