cylc / cylc-ui

Web app for monitoring and controlling Cylc workflows
https://cylc.github.io
GNU General Public License v3.0
37 stars 27 forks source link

gscan: omit stopped workflows from cumulative state totals #1930

Open oliver-sanders opened 2 months ago

oliver-sanders commented 2 months ago

The cumulative state totals include the states of all workflows in the hierarchy.

The Cylc UI doesn't list tasks for stopped workflows, unless the workflow stopped whilst the UI Server was connected to it, in which case it preserves the last known state of the workflow before it shut down.

This can lead to the slightly confusing situation where a stopped workflow is reported as having active tasks. These tasks contribute the gscan state totals (even if stopped workflows are filtered out) which isn't great.