<@ULVA73B9P> I was hoping that deleting flow runs ...
# ask-marvin
t
@Marvin I was hoping that deleting flow runs from the Prefect dashboard would delete them from the postgres db used by Prefect server. This is not the case. Can you confirm that the only way to do it is to connect directly to the database? I guess Prefect server has to be shut down to do it safely?
m
🔄 Researching your answer... this may take a while 🔧 Using tool:
check_cli_command
📊 Tools used: •
check_cli_command
(1x)
n
Can you confirm that the only way to do it is to connect directly to the database?
deleting them through the API (like the UI does) should result in the runs being removed from the database - you're saying that this appears to not be the case for you?
t
Hi @Nate thank you for your response. Yes, I get flow runs when requesting the API that do not appear in the dashboard. After further inspection, I suspect the remaining flow runs are those triggered manually from the GUI, though I'm not sure.
Edit: Actually no there are also flow runs triggered by automations and calls to the API.
My bad: there were flow runs that didn't show up in the general "Runs" panel but were still visible when checking individual deployments. Maybe there is an issue, or it's intended behaviour, that the dashboard does not show all flow runs.
n
can you share what versions of things you have?
flow runs that didn't show up in the general "Runs" panel but were still visible when checking individual deployments
sounds like potential UI bug