Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: list tasks defined in runtime but unused in the graph #5665

Open
oliver-sanders opened this issue Aug 3, 2023 · 0 comments
Open
Milestone

Comments

@oliver-sanders
Copy link
Member

With Cylc 7 the cylc validate command used to list unused task definitions when run with the -v argument.

This was an obscure, but potentially useful feature for those wanting to tidy up the runtime section. These tasks were logged at the WARNING level.

At Cylc 8 as part of cleaning up command output, removing spurious warnings and obscure options, this warning was removed. This doesn't really make sense as a warning as it is common for workflows to turn tasks on/off in the graph with Jinja2 switches but leave the runtime behind. Another use case is defining extra tasks (e.g. diagnostic tasks) which aren't in the graph but may be inserted/triggered manually when required.

The idea is that warnings are things users are supposed to take action on, we've made an effort to reduce "arbitrary" warnings and output in general al allow users to focus on the important information. As such I don't think that this functionality should be implemented as a warning in cylc validate as it was before, however, this functionality might fit neatly into cylc list.

@oliver-sanders oliver-sanders added this to the cylc-8.x milestone Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant