Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Fix subflow duplication when process is re-executed against same flow_run_id

#21951
Comparing
devin/1778779716-fix-subflow-duplicate-on-restart
(
d33ef0c
) with
main
(
337ab90
)
CodSpeed Performance Gauge
0%
Untouched
2
Ignored
6

Benchmarks

8 total
bench_task_decorator
benches/bench_tasks.py
CodSpeed Performance Gauge
0%
551.4 µs549 µs
bench_import_prefect_flow
benches/bench_import.py
CodSpeed Performance Gauge
0%
1.5 s1.5 s
bench_flow_call[options0]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
0%
114.5 ms114.8 ms
bench_task_call
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+12%
8.8 ms7.8 ms
bench_task_submit
benches/bench_tasks.py
Ignored
CodSpeed Performance Gauge
+32%
4.2 ms3.2 ms
bench_import_prefect
benches/bench_import.py
Ignored
CodSpeed Performance Gauge
0%
1.2 s1.2 s
bench_flow_decorator
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
+7%
5.1 ms4.8 ms
bench_flow_call[options1]
benches/bench_flows.py
Ignored
CodSpeed Performance Gauge
-1%
115.4 ms116.6 ms

Commits

Click on a commit to change the comparison range
Base
main
337ab90
+0.27%
Fix subflow duplication on process restart by reattaching to existing runs
c5b31cb
8 hours ago
by devin-ai-integration[bot]
-0.15%
Sort subflow query DESC to pick latest run on reattach
d33ef0c
2 hours ago
by devin-ai-integration[bot]
© 2026 CodSpeed Technology
Home Terms Privacy Docs