PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
Distinguish a cancelled start future from a started one Review feedback on #23016. `task_status._future.done()` does not mean the worker reported the run as started. The cancellation that reaches this handler also cancels the future `TaskGroup.start` is awaiting, so it is done on both paths, and the guard therefore fired for a run whose infrastructure was still being provisioned. Measured inside the cancelled frame: started, then cancelled done=True cancelled=False cancelled while provisioning done=True cancelled=True `started()` resolves the future with a result; a cancelled future never carried one. Test both ways round: with the extra clause removed, the new test crashes a run that had not started. The `except Exception` branch below is unaffected — an exception there does not cancel the future, so its `not done()` still means what it says.
alekseevpavel04:fix/crash-runs-on-worker-shutdown
4 hours ago
Make event JSON test independent of UI URL
mikemikimike:fix-event-url-template-22957-work
11 hours ago
test(server): focus recorder upsert coverage on behavior
chuqCTC:fix/task-run-recorder-insert-compilation
18 hours ago
perf(server): reduce task run recorder insert compilation
chuqCTC:fix/task-run-recorder-insert-compilation
18 hours ago
Merge remote-tracking branch 'origin/main' into HEAD # Conflicts: # .github/workflows/windows-tests.yaml
devin/1788530441-azure-cli-windows-which
19 hours ago
docs: warn future migrations about INVALID CONCURRENTLY index repair (#23038) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
main
19 hours ago
Apply suggestion from @znicholasbrown
cancel-paused-runs-oss
20 hours ago
Rebuild invalid ix_event_resources__occurred left by an interrupted build (#23033) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alexander Streed <alex.s@prefect.io>
main
21 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
Crash flow runs interrupted by worker shutdown
#23016
4 hours ago
8dddf89
alekseevpavel04:fix/crash-runs-on-worker-shutdown
CodSpeed Performance Gauge
0%
Preserve ReceivedEvent URLs during serialization
#22978
11 hours ago
048721b
mikemikimike:fix-event-url-template-22957-work
CodSpeed Performance Gauge
0%
Reduce task run recorder INSERT compilation CPU
#23041
18 hours ago
391393e
chuqCTC:fix/task-run-recorder-insert-compilation
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs