Hello Guys! I had a couple of questions about the ...
# prefect-ui
m
Hello Guys! I had a couple of questions about the prefect 2.0 UI 1. Is there or will there be a way to control the states of the flows or tasks in the UI (Pausing a flow mid run or even killing a flow's run instance). I believe that would be very helpful as to be able to control existing flows instead of needing to delete flows and creating new ones. 2. In the flow Runs tab, could the a flow run instance have all its subflows and task runs located inside it like an accordion. As currently i find it hard to navigate through all my flows and relate them to each other let alone trying to delete a flow with all its subflows. 3. In the flow Runs tab, when i apply a filter, date filter for example, then navigate to another tab and return to the flow runs tab again all my filters seem to reset to default, which makes life just a little bit harder 4. When a Flow is running on a schedule and it runs late or is delayed for any reason, the date time recorded on the flow run instance in the Flow Run tab is the date time at which it was run not the actual intended time it was scheduled to run. Is there a way to find this information? I found a date time in the idempotency key in the flow instance information, however, i am not sure if this is its intended purpose 5. I am not sure whether this one is a bug that i have, but whenever i filter the Flow Runs with the
Late
State it seems to remove all the Flows for the List. Is that some kind of bug? Thanks a lot!
j
Hi Mohamed! Thank you for the feedback, we greatly appreciate you reaching out, and value your insight as we continue to develop Prefect. Regarding your first point, the ability to pause/cancel a flow run through the UI is something we're considering, though implementing this is not as straightforward as it seems. There is currently an open git issue that is tracking this, and your input has been added to it: https://github.com/PrefectHQ/prefect/issues/6026 Your second, third, and fourth points are all great suggestions. I've brought them up to the UI team, who will look into their viability. I've opened them all up as git issues. Feel free to add any additional thoughts or details! https://github.com/PrefectHQ/prefect/issues/6207 https://github.com/PrefectHQ/prefect/issues/6208 https://github.com/PrefectHQ/prefect/issues/6210 Your final point is indeed a known bug. It relates to the fact that
Late
is a state name, rather than a state type, and therefor requires different handling. Our team is currently working to resolve this issue, and a fix should be released in the near future.
🚀 1
m
Hello Josh! Thanks for your reply. That's great to hear. I am glade i could be of help, Really loving prefect and its amazing community
❤️ 2
h
I think it will be if we can mass cancel flow runs in the UI. For example, if I have a deployment scheduled to run every 5 minutes, and after the first run I realize the flow will fail, I would want to cancel the rest of the runs
j
Thanks for the input! I've added your request to the git issue
🔥 1