Friction

Prefect problems and complaints, from 72 public threads

Prefect · prefect.io · Data pipelines

Workflow orchestration for data pipelines in Python.

3 recurring themes · 30 recent reports · 12 older (3 of them belong to the recurring themes listed here) · 25 fixed upstream · 72 source threads · updated 2026-10

72 source threads read, 30 recent reports, 3 recurring themes. The 3 that come up most:

Watch Prefect: email me when new reports are addedOpen the 27 locked Prefect reports, free

Free during early access, no card. See plans

  1. Server database overload under concurrency 3 reports · 5 source threads

    After moving to Prefect 3, server services run longer than their loop intervals and hit asyncpg timeouts, even though the database load is low. GitHub issue, 2024-12 ↗

  2. Cancelled or timed-out runs leave compute running 3 reports · 3 source threads

    “cleanup orphaned pods from analytical workflows (Prefect) that hang on to expensive compute resources, sometimes it feels frustratingly out of control”

  3. Mapped tasks run multiple times on GKE Autopilot 3 source threads

    “Mapped tasks appear to (sometimes) trigger multiple times on GKE Autopilot”

CompareSubmit feedback

Work at Prefect? Claim this page to reply to reports and run a public board, roadmap and changelog, free.

Add a Friction badge to your README or docs: copy it here Report a problem or request a feature for Prefect

Add this to your README or docs

Docs or README footer: sends readers to give feedback on Prefect

Report a problem or request a feature for Prefect

Show the code
[![Report a problem or request a feature for Prefect](https://friction.grain64.com/badge/prefect.svg?form=cta)](https://friction.grain64.com/p/prefect/submit/?utm_source=badge&utm_medium=embed&utm_content=cta)
<a href="https://friction.grain64.com/p/prefect/submit/?utm_source=badge&utm_medium=embed&utm_content=cta"><img src="https://friction.grain64.com/badge/prefect.svg?form=cta" alt="Report a problem or request a feature for Prefect" height="20"></a>

For researchers and write-ups: the live count for Prefect

Prefect user feedback on Friction

Show the code
[![Prefect user feedback on Friction](https://friction.grain64.com/badge/prefect.svg)](https://friction.grain64.com/p/prefect/?utm_source=badge&utm_medium=embed&utm_content=reports)
<a href="https://friction.grain64.com/p/prefect/?utm_source=badge&utm_medium=embed&utm_content=reports"><img src="https://friction.grain64.com/badge/prefect.svg" alt="Prefect user feedback on Friction" height="20"></a>

Recurrence: Emerging (3 recurring themes, all years)

Pain points 3 recurring themes · 19 reports

ReportAreaSeveritySupportLast seen
Server database overload under concurrency

Slow database calls, connection-pool exhaustion, deadlocks, and heavy concurrent flows can cause server timeouts or make it unresponsive.

3 reports · 5 source threads · 2022 to 2024 · Blocks work · Performance

Prefect 3 server loops time out on slow database calls

After moving to Prefect 3, server services run longer than their loop intervals and hit asyncpg timeouts, even though the database load is low. The same flows ran fine on 2.19.

Affects: team running Prefect server on Kubernetes with Postgres

PerformanceBlocks work1 source2024-12

“We've deployed the same flows in prefect 2.19 and there were no issues”

Server stops responding during heavy concurrent flows using blocks Reliability & bugsBlocks work2 sources2022-11
RayTaskRunner flows fail with sqlite database is locked IntegrationsBlocks work2 sources2022-10
Mapped tasks run multiple times on GKE Autopilot

On GKE Autopilot, mapped child tasks sometimes start several times, even after the original has succeeded, leaving flow runs in inconsistent states. Hours-long tasks make it costly.

Affects: teams running flows on GKE Autopilot

Reliability & bugsBlocks work3 sources2025-07

“Data skew, because downstream tasks re-process the same data input and causes issue”

“Occasionally, the Prefect agent submits duplicate flow runs to the infrastructure”

Cancelled or timed-out runs leave compute running

Cancelling a flow or timing out work can leave its underlying Kubernetes, Dask, or dbt compute running.

3 reports · 3 source threads · 2021 to 2026 · Blocks work · Reliability & bugs

Task timeout leaves dbt work running during retries Reliability & bugsAnnoyance1 source2026-09
Hung Prefect workflows leave orphaned pods holding expensive compute

Analytical workflows run by Prefect sometimes hang and keep orphaned pods alive on costly compute. It is hard to tell which pods are truly orphaned, and killing a live one forces expensive reruns.

Affects: teams running analytical workflows on Kubernetes

Reliability & bugsAnnoyance1 source2025-09

“cleanup orphaned pods from analytical workflows (Prefect) that hang on to expensive compute resources, sometimes it feels frustratingly out of control”

Cancelling a flow leaves Kubernetes or Dask compute running Reliability & bugsBlocks work1 source2021-09
Event persister stops reliably processing events after errors

An invalid event or database cancellation can cause the event persister to drop a batch or stop flushing events.

2 reports · 2 source threads · 2026 · Causes churn · Reliability & bugs

A null byte causes the event persister to drop an entire batch

On PostgreSQL, one event containing a null byte makes the persister repeatedly fail and discard every event in the batch. The messages are already acknowledged, so they are not redelivered and the emitting client receives no error.

Reliability & bugsCauses churn1 source2026-09

“one event with a null byte (`\x00`) in its name, a resource label, or a payload string makes the event persister drop every event flushed”

Event persister stops flushing after database cancellation Reliability & bugsBlocks work1 source2026-10
Agent intermittently fails to fetch runs from Prefect Cloud after upgrade

After upgrading from 2.4.0 to 2.6.5 the agent occasionally hit an httpx protocol error and stopped retrieving jobs, so scheduled flows were late. It showed up only after hours.

Affects: agent operators on AWS EC2

Reliability & bugsBlocks work2 sources2024-01

“Occasionally, flows crash with a connection-related exception that seems to originate from h2”

“Occasionally it seems agent is not able to retrieve the jobs to run from Prefect Cloud”

DockerWorker misses failed exit codes when output streaming is off Reliability & bugsBlocks work1 source2026-10
SQLAlchemy 2.1 breaks deployment scheduling on fresh installs Reliability & bugsBlocks work1 source2026-09
Queued mapped tasks disappear after the first failure Reliability & bugsBlocks work1 source2026-09
Windows workers cannot authenticate the events websocket to a Linux server Setup & onboardingBlocks work1 source2026-02
Run artifacts do not open directly from the run page UI & usabilityAnnoyance1 source2026-10
Artifact type icons render as black squares in the run graph UI & usabilityAnnoyance1 source2026-10
Directory symlink cycles crash filter_files Reliability & bugsAnnoyance1 source2026-10
Windows flow picker uses backslashes in entrypoints UI & usabilityAnnoyance1 source2026-10
Daily interval schedules shift their local time after DST Reliability & bugsAnnoyance1 source2026-09
Workers repeatedly fetch runs beyond deployment concurrency limits PerformanceAnnoyance1 source2026-09
Scrolling over an integer parameter changes its value UI & usabilityAnnoyance1 source2026-09
Deploy leaves schedules active after schedules: [] Reliability & bugsAnnoyance1 source2026-09
Kubernetes cluster autoscaler can kill long-running flow runs Reliability & bugsBlocks work1 source2020-07
Flow shows Running after the agent is stopped Reliability & bugsAnnoyance1 source2022-10
Cron schedules effectively require the Prefect UI DocumentationAnnoyance1 source2022-09
Unclear which deployment files belong in source control DocumentationAnnoyance1 source2022-09

Feature requests no recurring themes yet · 7 reports

ReportAreaSeveritySupportLast seen
Support reliable cancellation of PrefectDbtRunner calls

The user asks for a supported way to abort an in-process invoke promptly on timeout or cancellation, such as a supervised subprocess mode that preserves per-node events and assets.

Affects: Teams adopting PrefectDbtRunner

IntegrationsAnnoyance1 source2026-09

“Is there a supported way to make an `invoke()` call abort promptly and reliably on an external timeout/cancellation”

Keep periodic event flushing alive after database errors

The user wants periodic flushing to survive database errors with retries or backoff, and to stop only when the service is intentionally shut down.

Affects: Operators running Prefect Server with PostgreSQL

Reliability & bugsAnnoyance1 source2026-10

“Expected: the periodic flush survives database errors (retry / back off)”

Document a preferred citation for Prefect

The project has no stated preferred citation for Prefect, and the author asks for one to be included somewhere.

DocumentationAnnoyance1 source2026-09

“Somewhere include the preferred Prefect citation”

Sort task runs by duration

The task-runs tab only supports sorting by recency. The user asks for longest-to-shortest sorting, with shortest-to-longest as a possible option, to help find bottlenecks in flows with many task runs.

Affects: Users investigating flows with many task runs

Reporting & analyticsAnnoyance1 source2026-09

“Add an option to sort the task runs "Longest to Shortest" (and maybe "Shortest to Longest")”

Apply deployment concurrency limits when workers poll

The proposed behavior is to account for each deployment's available concurrency slots during polling and hand out only that many runs, oldest first, while keeping the start-time check as a race safeguard.

Affects: Self-hosted Prefect server operators

API & developer experienceAnnoyance1 source2026-09

“If it has some free slots, only that many runs are handed out, oldest first”

Wait for all mapped futures before raising failures API & developer experienceAnnoyance1 source2026-09
Add Quick Run and Custom Run to flow deployment rows UI & usabilityAnnoyance1 source2026-09
Flow retries should also apply to crashed runs Reliability & bugsBlocks work1 source2023-07
Orchestrators should resume a partially failed DAG without redoing work Reliability & bugsBlocks work1 source2021-10
Support a tags argument on the flow decorator API & developer experienceAnnoyance1 source2023-04
Add caching at the flow level, not only per task API & developer experienceAnnoyance1 source2022-10

Workarounds no recurring themes yet · 3 reports

ReportAreaSeveritySupportLast seen
Schedules intermittently create duplicate runs at the same time

Deployments sometimes get two scheduled runs with identical start times, apparently after maintenance or redeployments. The team runs a cleanup script that toggles schedules to fix it.

Affects: teams on Kubernetes with Helm

Reliability & bugsAnnoyance2 sources2025-09

“We are experiencing intermittent schedule duplication issues where deployments randomly create duplicate scheduled runs with identical expected start times”

“Occasionally a specific flow will get double-scheduled in the latest version of Prefect server”

Per-flow ECS task launch adds minutes of startup delay

Each Prefect flow starts in its own ECS task, so slow container startup on Fargate added up. The team moved to an EC2 autoscaling group with a custom AMI that has images pre-baked, cutting startup from about 3 minutes to 30 seconds.

Affects: teams running flows on AWS ECS

PerformanceBlocks work1 source2025-11

“each prefect flow launches in a discrete ECS task so the waiting added up”

Prefect server OOMs fixed only by doubling resources

The server was seen running out of memory and restarting on Kubernetes. Doubling CPU and memory limits eased the problem.

Affects: team running Prefect server on Kubernetes

Self-hosting & upgradesBlocks work1 source2024-12

“I've noticed the perfect server experiencing OOMs and restarting, doubling its CPU and memory limits alleviated this”

Running the same subflow concurrently with different parameters fails

Launching two concurrent calls to the same subflow raises an error that the task runner is already started. A staff member suggested using a task instead.

Affects: users running parallel subflows

Reliability & bugsBlocks work1 source2022-05

“i would like to run the same flow with different parameters”

Switching reasons no recurring themes yet · 1 report

ReportAreaSeveritySupportLast seen
Team prefers Temporal over Prefect and Airflow for orchestration

A team that built a large business on Temporal says it feels much better than the orchestrators they used before, Prefect and Airflow, and they would adopt it again.

Affects: engineering team building business-critical applications

OtherAnnoyance1 source2026-05

“Temporal is amazing, it feels much better than previous orchestrators I used like Prefect or Airflow”

Fixed upstream 25 reports

What Prefect's own maintainers have already closed as done, and when. It is no opening to pitch against: the problem is gone from the current product. It shows where Prefect has been catching up, and what is worth skipping.

ReportAreaSeveritySupportLast seen
Run flows on remote infrastructure without creating a deployment for each Resolved 2026-05 API & developer experienceAnnoyance1 source2025-02
Frequent Postgres deadlocks after upgrading to Prefect 3.3.1 Resolved 2026-05 Reliability & bugsAnnoyance2 sources2026-01
Completed flow crashes after concurrency lease renewal fails Resolved 2026-03 Reliability & bugsAnnoyance3 sources2025-10
Second concurrent flow using prefect-dbt fails with ModuleNotFoundError Resolved 2026-03 Reliability & bugsBlocks work1 source2023-01
Docs needed for using Prefect with Slurm and other HPC schedulers Resolved 2026-03 DocumentationAnnoyance1 source2023-07
Prefect 3 server memory climbs and feels unstable after migration Resolved 2026-02 Reliability & bugsAnnoyance1 source2025-07
Simultaneous ECS flows collide registering task definitions Resolved 2025-05 IntegrationsBlocks work1 source2024-10
Self-hosted UI shows a blank screen over a corporate VPN Resolved 2025-05 Self-hosting & upgradesBlocks work1 source2023-08
Allow subflows to be submitted to run in the background Resolved 2025-04 API & developer experienceBlocks work1 source2022-09
Passing large data between tasks eats memory that is never released Resolved 2025-04 PerformanceAnnoyance2 sources2024-04
A few Docker deployment runs per day crash within seconds Resolved 2025-03 Reliability & bugsAnnoyance1 source2022-08
Show Pydantic model parameter fields in defined order in the UI Resolved 2025-02 UI & usabilityAnnoyance1 source2023-02
Task runs stop appearing in local server UI after 3.0.0rc19 Resolved 2025-01 Reliability & bugsAnnoyance1 source2024-08
Mapping about 1500 tasks hits database QueuePool errors Resolved 2024-08 PerformanceBlocks work1 source2022-08
Clear late runs in bulk so a restarted agent does not run them all Resolved 2024-07 UI & usabilityAnnoyance1 source2022-09
Deploying should not require every flow dependency to be installed Resolved 2024-05 API & developer experienceBlocks work1 source2023-05
Server start fails because docker-compose file is invalid Resolved 2024-01 Self-hosting & upgradesBlocks work2 sources2024-01
Python multiprocessing inside a flow deadlocks in Docker Resolved 2023-12 Reliability & bugsBlocks work1 source2023-09
Unpinned anyio 4.0.0 release broke Prefect import Resolved 2023-08 Reliability & bugsBlocks work1 source2023-08
Task occasionally fails because its serialized result file is missing Resolved 2023-03 Reliability & bugsBlocks work2 sources2022-09
Publish arm64 Docker images for Prefect Resolved 2023-01 Self-hosting & upgradesAnnoyance1 source2022-01
No bulk deletion of flows in the UI is a dealbreaker Resolved 2022-12 UI & usabilityAnnoyance1 source2022-07
Bring back module storage to package flows with their dependencies Resolved 2022-08 Setup & onboardingAnnoyance1 source2022-06
UI on another machine ignores the configured API URL Resolved 2022-04 Self-hosting & upgradesBlocks work1 source2022-04
Docker agent runs stuck in Submitted on local server Resolved 2021-12 Setup & onboardingBlocks work1 source2021-09

Sources: GitHub and Hacker News; 72 public source threads, 2020 to 2026, each linked. How the data is built · Download the 15 open Prefect reports as CSV