PrefectHQ
prefect
BlogDocsChangelog

feat(cli): add `prefect flow-run retry` command

#19858
Comparing
prefect-flow-run-retry-cli
(
e62812e
) with
main
(
0e1575c
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

Passed

bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
462.3 µs461.9 µ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
-47%
8.7 ms16.6 ms
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-1%
169.2 ms170.9 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+1%
107.7 ms106.3 ms
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+8%
5.5 ms5.1 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+2%
33.7 ms33 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.1 s1.1 s

Commits

Click on a commit to change the comparison range
Base
main
0e1575c
+0.01%
feat(cli): add `prefect flow-run retry` command Add a new CLI command to retry failed or completed flow runs. The command supports both UUID and name-based flow run identification, with automatic disambiguation when multiple flow runs share the same name. For deployment-based flow runs, the command schedules a retry that workers will pick up. For local flow runs without a deployment, users can provide an --entrypoint to execute the retry locally. Also adds a `retry()` method to InfrastructureBoundFlow and updates worker submit to accept an existing flow_run for retry scenarios. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
e62812e
1 day ago
by desertaxle
© 2025 CodSpeed Technology
Home Terms Privacy Docs