PrefectHQ
prefect
BlogDocsChangelog

Migrate notification blocks from @sync_compatible to @async_dispatch

#20258Merged
Comparing
migrate-notifications-async-dispatch
(
79ea98d
) with
main
(
6e8a148
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
+1%
552.7 µs549.1 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s

Ignored

bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+1%
91.7 ms90.6 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-2%
106.1 ms107.7 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+20%
23.1 ms19.3 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-6%
4.8 ms5.1 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
107.4 ms107.7 ms

Commits

Click on a commit to change the comparison range
Base
main
6e8a148
+0.34%
Migrate notification blocks from @sync_compatible to @async_dispatch Migrates the notify methods in AbstractAppriseNotificationBlock, AppriseNotificationBlock, PagerDutyWebHook, CustomWebhookNotificationBlock, and SendgridEmail to use @async_dispatch instead of @sync_compatible. This follows the pattern established in #20230 for removing sync_compatible from core. Closes #15008 (partially) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
79ea98d
12 hours ago
by zzstoatzz
© 2026 CodSpeed Technology
Home Terms Privacy Docs