PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix: fix flaky tests on main (harness singleton, SQLite lock, timing tolerance) Fix three flaky test failures from CI run #24107474190: 1. test_prefect_test_harness: Add defensive stop() before start() in prefect_test_harness() to force-stop any lingering SubprocessASGIServer singleton from a previous test. Without this, a stale singleton could be reused, causing the harness to write to the wrong database. 2. test_bulk_delete_by_state_type: Wrap the hosted API request in retry_asserts() to handle transient SQLite 'database is locked' 503 errors from concurrent access between the test session and the hosted API server subprocess. Matches the pattern already used by the sister test test_bulk_delete_flow_runs_no_filter. 3. test_renew_concurrency_lease: Capture timestamps before and after the API call instead of only before. The previous 2-second tolerance window was too tight for slow CI runners where the API call takes several seconds. Co-authored-by: apk <apk@cognition.ai> Co-Authored-By: bot_apk <apk@cognition.ai>
devin/1775602115-fix-flaky-tests
1 hour ago
fix(schedules): persist explicit DTSTART on RRule schedules at write time (#21436) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
main
2 hours ago
fix(ui-v2): clear all shared filters when clearing task run filters (#21455) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alexander Streed <alex.s@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com>
main
3 hours ago
feat(server): add option to skip causal ordering in task run recorder The task run recorder's causal ordering layer enforces sequential processing of task-run events via 3+ serial Redis round-trips per event. At high task scale (100k+ concurrent tasks, ~400k events), this becomes the primary throughput bottleneck at over 1M serial Redis calls. The causal ordering is redundant for the task run recorder because the database layer already handles out-of-order events correctly: - task_run upsert guards with WHERE state_timestamp < excluded.state_timestamp - task_run_state insert uses on_conflict_do_nothing This adds PREFECT_SERVER_SERVICES_TASK_RUN_RECORDER_SKIP_CAUSAL_ORDERING (default: false). When enabled, the recorder bypasses per-event Redis ordering checks and the lost-followers background task, inserting events directly via the bulk path.
chuqCTC:feat/skip-causal-ordering-task-run-recorder
3 hours ago
fix(ui-v2): handle null-key artifacts in ArtifactCard to prevent broken empty-key routes (#21454) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alexander Streed <alexander.streed@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com>
main
4 hours ago
fix: wire filtered count to blocks list pagination and row count (#21453) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alexander Streed <alex.s@prefect.io> Co-authored-by: alex.s <ajstreed1@gmail.com>
main
4 hours ago
Update AGENTS.md files for d3fbc09 (#21452) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
main
4 hours ago
Fix flaky E2E tests: blocks edit navigation and variables delete dialog (#21450) Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Co-authored-by: Alexander Streed <ajstreed1@gmail.com>
main
4 hours ago
Latest Branches
CodSpeed Performance Gauge
0%
fix: fix flaky tests on main (harness singleton, SQLite lock, timing tolerance)
#21460
2 hours ago
fc64fcb
devin/1775602115-fix-flaky-tests
CodSpeed Performance Gauge
0%
feat(server): add option to skip causal ordering in task run recorder
#21458
4 hours ago
d052630
chuqCTC:feat/skip-causal-ordering-task-run-recorder
CodSpeed Performance Gauge
0%
fix(schedules): persist explicit DTSTART on RRule schedules at write time
#21436
6 hours ago
f7e7083
fix/21362-cache-rrule
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs