Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Performance History

Latest Results

fix(orchestration): guard against ZeroDivisionError in RetryFailedTasks when retry_jitter_factor is set without retry_delay `RetryFailedTasks.after_transition` passes `base_delay` directly to `clamped_poisson_interval` when `retry_jitter_factor` is configured, but `clamped_poisson_interval(0, ...)` divides by zero in its exponential CDF computation, crashing the orchestration server. This happens whenever a task uses `@task(retries=N, retry_jitter_factor=X)` without specifying `retry_delay_seconds` (the default). In that case `run_settings.retry_delay` is `None`, which normalises to `base_delay = 0`, and the subsequent call to `clamped_poisson_interval` raises `ZeroDivisionError`. Fix: skip jitter and use `base_delay` directly when `base_delay == 0`. Jitter on a zero-second delay is meaningless anyway. A regression test `test_jitter_with_zero_delay_does_not_raise` is added to `TestRetryFailedTasks` to cover this path.
devteamaegis:fix/retry-jitter-zero-delay-division-by-zero
6 hours ago
Preserve cleanup idempotency after ack
alexs/oss-7938-oss-03-oss-worker-communication-queue-interface-and-in
1 day ago

Latest Branches

CodSpeed Performance Gauge
+1%
fix(orchestration): guard ZeroDivisionError in RetryFailedTasks when retry_jitter_factor set without retry_delay#22071
6 hours ago
be49290
devteamaegis:fix/retry-jitter-zero-delay-division-by-zero
CodSpeed Performance Gauge
0%
fix: worker-channel ready frame returns `worker_id=None`#22067
1 day ago
e9511c9
devin/1779484624-oss-worker-channel-no-worker-id
CodSpeed Performance Gauge
0%
1 day ago
f89c659
alexs/oss-7938-oss-03-oss-worker-communication-queue-interface-and-in
© 2026 CodSpeed Technology
Home Terms Privacy Docs