While adding rate-limiting to the Rust-based evaluator (MR), we discovered that Rust libraries do not automatically fail with 429's when the rate limit is reached and queues the request instead. We want to fail with the standard error code and in order to do that will require some custom middleware and/or incorporating other libraries to fail after a certain threshold.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| wikifunctions: Upgrade evaluators from 2026-03-10-214300 to 2026-03-16-124858 | Jforrester | operations/deployment-charts | master | +2 -2 |
Event Timeline
Comment Actions
jforrester opened https://gitlab.wikimedia.org/repos/abstract-wiki/wikifunctions/function-evaluator/-/merge_requests/469
Replace tower RateLimitLayer with custom middleware returning HTTP 429.
Comment Actions
Change #1254928 had a related patch set uploaded (by Jforrester; author: Jforrester):
[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-03-10-214300 to 2026-03-16-124858
Comment Actions
Change #1254928 merged by jenkins-bot:
[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-03-10-214300 to 2026-03-16-124858