PrefectHQ
prefect
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
fix: preserve explicit active override through dataclasses.replace dataclasses.replace() replays every init field, so an explicit active=False override on a schedule created with active omitted arrived as (active=False, _active_provided=False) and the pause was silently dropped from the deployment payload. __post_init__ now records _active_provided=True in that case: a replayed active from an omitted schedule is always the normalized True, so False here can only have been explicitly provided. Replacing unrelated fields on an omitted schedule still preserves the omission.
developer-rpai:fix/prefect-schedule-state-19302
4 hours ago
fix: track omitted `active` in the direct Schedule constructor The Cron/Interval/RRule factories use an `_UNSET` sentinel so `DeploymentScheduleCreate.from_schedule` can tell an omitted `active` from an explicit `active=True` and preserve a schedule's server-side paused state on redeploy. The direct `Schedule` dataclass constructor still defaulted `active` to plain `True`, so a directly constructed schedule (e.g. `Schedule(cron="0 0 * * *")`) that was paused in the UI would be unexpectedly reactivated on redeploy. Mirror the factories: default `active` to `_UNSET` and normalize in `__post_init__` (`active=True`, `_active_provided=False`) so `active` stays a real bool while omission is still recorded.
developer-rpai:fix/prefect-schedule-state-19302
9 hours ago
fix: annotate active_kwarg as dict[str, Any] for pyright
developer-rpai:fix/prefect-schedule-state-19302
10 hours ago
fix: preserve deployment schedule paused state on redeploy without schedule slug When a deployment is redeployed with a schedule that omits `active` and has no slug, the server now preserves the existing schedule's active state instead of silently re-activating a paused schedule. - Track whether `active` was explicitly provided in the Cron/Interval/RRule schedule factories via an internal sentinel, so an omitted value stays unset through DeploymentScheduleCreate instead of defaulting to True. - On deployment create (upsert) and update, match incoming schedules to existing ones by slug, or by recurrence definition for slug-less schedules (ignoring regenerated interval anchor dates and injected rrule DTSTART lines). An omitted `active` inherits the matched schedule's state; explicit values win; new or changed schedules default to active. - Ambiguous matches (duplicate slug-less definitions) are rejected with HTTP 422 rather than guessing. Closes #19302.
developer-rpai:fix/prefect-schedule-state-19302
11 hours ago
Allow custom log storage implementations
cakeisacake:add-custom-log-storage
17 hours ago
Crash interrupted runs only for workers whose runs end with them Most workers watch infrastructure that keeps running when the worker stops, so proposing Crashed for every run a shutdown interrupts would mask the real outcome of a run still executing elsewhere. Add a flow_runs_end_with_worker class variable, False by default and True on ProcessWorker, whose subprocess does go down with it, and only take the shutdown branch when it is set.
alekseevpavel04:fix/crash-runs-on-worker-shutdown
20 hours ago
Follow the API base path when pointing the UI at its server The server mounts its API under PREFECT_SERVER_API_BASE_PATH when that is set and under /api otherwise. The UI URL was built with a literal /api, so a server started with a custom base path handed its UI a path nothing serves. Use the same rule as the mount, and add a regression with the base path at /custom-api.
alekseevpavel04:fix/ui-api-url-from-serving-server
21 hours ago
fix(cache): include closure cells in TASK_SOURCE cache key Factory-defined tasks with identical source but different captured free variables no longer share a cache entry. Fixes #23062
arimu1:fix/23062-task-source-closure
1 day ago
Latest Branches
CodSpeed Performance Gauge
+11%
fix: preserve deployment schedule paused state on redeploy without schedule slug
#23095
4 hours ago
2bef151
developer-rpai:fix/prefect-schedule-state-19302
CodSpeed Performance Gauge
0%
Allow custom log storage implementations
#23093
18 hours ago
4baa824
cakeisacake:add-custom-log-storage
CodSpeed Performance Gauge
0%
Crash flow runs interrupted by worker shutdown
#23016
21 hours ago
8115396
alekseevpavel04:fix/crash-runs-on-worker-shutdown
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs