Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Handle exceptions in wrapped future callbacks

#21675
Comparing
BerqiaMouad:fix-21615-done-callback
(
cbc54f3
) with
main
(
06fa197
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
550.4 µs548.7 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.5 s1.5 s
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-1%
112.6 ms113.3 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
×3.5
6.9 ms2 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
112.3 ms111.7 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+20%
8.1 ms6.8 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.2 s1.2 s

Commits

Click on a commit to change the comparison range
Base
main
06fa197
+0.21%
Add regression test for wrapped future callbacks
c6a2525
13 hours ago
by BerqiaMouad
-0.1%
Cover Exception vs BaseException callback handling
cbc54f3
13 hours ago
by BerqiaMouad
© 2026 CodSpeed Technology
Home Terms Privacy Docs