Skip to content

list: option to detect tasks defined in [runtime] but not used in [graph] #7392

Description

@oliver-sanders

Provide an easy way for users to list tasks which are present in [runtime] but not used in [graph]

I think Cylc once detected this at validate time and logged it? We may have removed this purposely as this is not generally an error and it gets messy attempting to automatically comment out blocks of [runtime] according to what bits of [graph] are enabled. But it's definitely reasonable to do this on demand.

At the moment, we can achieve this using the following workaround (Bash):

diff <(cylc list . -a) <(cylc list .)

Perhaps we should provide an option in cylc list to do this? Or is there a better place to implement this?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions