Page MenuHomePhabricator

Create a fail-fast for rate-limiting
Closed, ResolvedPublic

Description

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.

Related Objects

Event Timeline

Jdforrester-WMF changed the task status from Open to In Progress.Feb 6 2026, 3:22 PM
Jdforrester-WMF claimed this task.

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

https://gerrit.wikimedia.org/r/1254928

Change #1254928 merged by jenkins-bot:

[operations/deployment-charts@master] wikifunctions: Upgrade evaluators from 2026-03-10-214300 to 2026-03-16-124858

https://gerrit.wikimedia.org/r/1254928