-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Dashboard: Flow Runs bar chart does not re-render on polling updates — only refreshes on page load (F5) #20996
Description
Bug summary
The Flow Runs bar chart on the Dashboard page does not re-render when new flow runs complete. The counters (total, running, completed, failed) update correctly via polling, but the histogram chart remains visually frozen until the page is manually refreshed (F5).
Steps to reproduce:
Open the Dashboard page
Note the current bar chart and total count (e.g. 163 total)
Trigger any flow run and wait for it to complete
Observe: the total counter increments (e.g. 163 → 164) — polling is working
Observe: the bar chart does NOT add a new bar for the completed run
Press F5 — the bar chart now correctly shows the new run
Expected behavior: The bar chart re-renders whenever the /api/flow_runs/history poll returns updated data.
Actual behavior: The bar chart only renders on initial page load. Subsequent poll responses (confirmed returning updated data via browser DevTools Network tab) do not trigger a chart re-render.
No code example needed — this is a UI rendering issue reproducible with any flow run on the self-hosted Prefect server.
Version info
Version: 3.6.20
API version: 0.8.4
Python version: 3.13.12
Git commit: 395392ae
Built: Fri, Feb 27, 2026 05:34 PM
OS/Arch: linux/x86_64
Profile: prefect3prod
Server type: server
Pydantic version: 2.12.5
Server:
Database: sqlite
SQLite version: 3.45.1
Integrations:
prefect-aws: 0.7.5
prefect-bitbucket: 0.3.1
prefect-shell: 0.3.1
prefect-docker: 0.6.6
Additional context
No response