PrefectHQ
prefect
BlogDocsChangelog

add --all flag to prefect automation delete

#19164
Comparing
delete-all-automations-cli
(
7ba9028
) with
main
(
cc76780
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.4 s1.4 s
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
458.8 µs460.3 µs

Ignored

bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-2%
164.4 ms167 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-13%
4.4 ms5 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
105.8 ms105.8 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+2%
176.3 ms172.6 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
0%
4.8 ms4.8 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms

Commits

Click on a commit to change the comparison range
Base
main
cc76780
+0.07%
add --all flag to prefect automation delete command this change adds a --all flag to the `prefect automation delete` command, following the pattern established by `prefect deployment delete --all`. - adds --all option to delete all automations at once - includes interactive confirmation prompt when in interactive mode - validates that --all is not used with name or id arguments - handles edge case where no automations exist - adds comprehensive test coverage for all scenarios 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
ec7d4f3
11 hours ago
by zzstoatzz
-0.22%
use concurrent deletions with semaphore for --all switch from sequential deletions to concurrent deletions using asyncio.gather with a semaphore (limit 10), following the pattern from deployment schedule pause/resume --all commands
4a656ef
11 hours ago
by zzstoatzz
-0.03%
import asyncio at top level, use asyncio.gather consistently
7ba9028
10 hours ago
by zzstoatzz
© 2025 CodSpeed Technology
Home Terms Privacy Docs