Avatar for the PrefectHQ user
PrefectHQ
prefect
BlogDocsChangelog

Branches performance

Pull requests

Enable lazy loading for CLI commands via cyclopts v4#20878
last run
2 hours ago
preserve prefect.cli.* modules in reset_sys_modules fixture The `reset_sys_modules` autouse fixture deletes any modules added to `sys.modules` during a test. With lazy CLI loading, command modules like `prefect.cli.events` are imported on-demand during test invocations and then deleted after the test. However, cyclopts caches the resolved App internally (`CommandSpec._resolved`), so subsequent tests get a stale App whose function references point to the deleted module. When monkeypatch patches the freshly re-imported module, the stale cached App still uses the old (unpatched) functions. Fix: skip `prefect.cli.*` modules during cleanup so cyclopts' cached references remain valid. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 hours ago
d09cce7
cli-lazy-loading
CodSpeed Performance Gauge
0%
Fix subprocess events silently lost in `ProcessPoolTaskRunner`#20876
last run
7 hours ago
perf: gate EventsWorker flush on existing instance Only call wait_until_empty() when an EventsWorker instance already exists (i.e. events were actually emitted during the task). This avoids instantiating a new EventsWorker and its associated orchestration client for tasks that never emit events. Co-authored-by: bot_apk <apk@cognition.ai>
7 hours ago
f69222c
devin/1772129672-fix-flaky-subprocess-events-test
CodSpeed Performance Gauge
0%
Improve dbt per-node runtime on low-core hosts
4 hours ago
ac3259a
performance-dbt-orchestrator
CodSpeed Performance Gauge
0%
Fix non-deterministic flow scanning in prefect deploy - Add deterministic sorting by filepath and function_name - Add regression test to verify consistent ordering - Fixes #20826
3 hours ago
801bd46
ashwanth0110:fix/deterministic-flow-scanning
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs