PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix(futures): enforce result deadline where no cancel scope arms cancel_sync_after returns a NullCancelScope on win32, so a slow result retrieval could overrun the caller's timeout without any cancellation being delivered. Check the deadline after each retrieval so the timeout is enforced on every platform. Co-authored-by: alex.s <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin1/oss-8104-prefectfuturelistresulttimeout-never-raises-its-intended
46 minutes ago
fix(futures): convert cancellation during result retrieval to TimeoutError A cancel scope delivers cancellation into the frame the supervised thread is currently in. While as_completed is suspended at its yield that frame is result(), so timeout_context never sees the CancelledError and cannot convert it, letting a BaseException escape past a caller's except Exception. Claim it in result() when our own deadline has passed, leaving cancellation from enclosing scopes (e.g. a flow run timeout) untouched. Co-authored-by: alex.s <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin1/oss-8104-prefectfuturelistresulttimeout-never-raises-its-intended
1 hour ago
fix(concurrency): release orphaned leases through the acquisition service Co-authored-by: desertaxle <alex@prefect.io> Co-Authored-By: bot_apk <apk@cognition.ai>
devin/1784924513-fix-cancelled-lease-acquire
4 hours ago
fix(concurrency): run orphaned lease release in the caller's context Co-authored-by: desertaxle <alex@prefect.io> Co-Authored-By: bot_apk <apk@cognition.ai>
devin/ci-probe-lease-integration
4 hours ago
ci: retrigger flaky external-suspension integration test Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin1/oss-8104-prefectfuturelistresulttimeout-never-raises-its-intended
4 hours ago
fix(futures): drop redundant timeout scope in PrefectFutureList.result result() wrapped the loop in its own timeout scope while also passing the timeout to as_completed, arming two enforcers for the same deadline. In worker threads both fire at once and the losing enforcer can inject a stray CancelledError after the scope exits, wedging later work. as_completed's scope stays entered across the loop body, so it already bounds result retrieval. Co-authored-by: alex.s <alex.s@prefect.io> Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin1/oss-8104-prefectfuturelistresulttimeout-never-raises-its-intended
4 hours ago
chore: retrigger CI Co-Authored-By: bot_apk <apk@cognition.ai>
devin/1784924513-fix-cancelled-lease-acquire
4 hours ago
test: drop timeout-scoped passthrough test that destabilizes CI workers The 5s wait scope can fire under CI load and inject a CancelledError into the xdist worker thread; the existing passthrough test plus the type-based guard already cover this. Co-Authored-By: alex.s <ajstreed1@gmail.com>
devin1/oss-8104-prefectfuturelistresulttimeout-never-raises-its-intended
4 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix(futures): make PrefectFutureList.result timeout message reachable
#22634
59 minutes ago
03e6ef3
devin1/oss-8104-prefectfuturelistresulttimeout-never-raises-its-intended
CodSpeed Performance Gauge
0%
fix(concurrency): release leases granted to callers that were cancelled mid-acquire
#22621
5 hours ago
a256dad
devin/1784924513-fix-cancelled-lease-acquire
CodSpeed Performance Gauge
0%
[do not merge] CI probe: integration lease tests at #22621 previous revision
#22635
17 hours ago
f65b35e
devin/ci-probe-lease-integration
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs