PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
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
chore(deps): bump qs from 6.14.2 to 6.15.2 in /ui (#22070)
main
17 hours ago
docs: Add release notes for 3.7.2 (#22069) Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alex Streed <alex.s@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com> Co-authored-by: Alex Streed <desertaxle@users.noreply.github.com>
main
1 day ago
fix: worker-channel ready frame returns `worker_id=None` (#22067)
main
1 day ago
fix: OSS worker-channel ready frame returns worker_id=None The new OSS WebSocket channel was returning worker.id in the worker.ready.v1 frame, causing workers to set backend_id and PREFECT__WORKER_ID unnecessarily. This matches the REST heartbeat behavior where OSS does not return a worker ID to the client. - Set worker_id to None in the OSS worker.ready.v1 payload - Keep internal worker heartbeat recording unchanged - Add tests verifying OSS ready frame has worker_id=None - Add tests verifying PREFECT__WORKER_ID is not set via channel path - Add protocol test confirming on_worker_id callback is not invoked Co-authored-by: Alex Streed <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin/1779484624-oss-worker-channel-no-worker-id
1 day ago
Preserve cleanup idempotency after ack
alexs/oss-7938-oss-03-oss-worker-communication-queue-interface-and-in
1 day ago
Fix default result store existence checks (#22058)
main
1 day ago
Cache block document template resolution (#22065)
main
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%
Add cleanup queue storage
#22041
1 day ago
f89c659
alexs/oss-7938-oss-03-oss-worker-communication-queue-interface-and-in
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs