commit 58eb2ff8cdc84df934f0e0aed7772696da5a4fb3
parent 87c352d979b0979e168bf68944383f7c8b060ff8
Author: I Mean I'm Just Saying <imeanimjustsaying@kiwifarms.st>
Date: Mon, 2 Nov 2026 00:52:27 -0500
editor e2e rate-limit: the held-platform test sets pacing.jitter 0 -- since 1479b91d the probe is stretched by up to 25 %, past the 7 minutes the test bounds it by
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/editor/e2e/rate-limit.spec.ts b/editor/e2e/rate-limit.spec.ts
@@ -209,10 +209,11 @@ test("a platform 429 at the cap holds youtube: one probe per holdProbeMinutes, t
request,
}) => {
// fails: 5 lapsed — the next failure is the first AT the 30-minute cap, and
- // with holdAfterFailsAtCap 1 that one holds the platform.
+ // with holdAfterFailsAtCap 1 that one holds the platform. jitter 0: the probe's
+ // time is otherwise stretched by up to pacing.jitter (25 %), past the 7 minutes.
await setup(
["wp429held", "a2"],
- { holdAfterFailsAtCap: 1, holdProbeMinutes: 7 },
+ { holdAfterFailsAtCap: 1, holdProbeMinutes: 7, jitter: 0 },
{ platformBackoff: { youtube: { until: Date.now() - 1_000, fails: 5 } } },
);
await control(request, "start");