cylc-flow
cylc-flow copied to clipboard
Cylc Check Version: Broken for Cylc 7 platform settings
Reproducible Example
# global.cylc
[platforms]
[[myplatform]]
hosts = remote_host
# flow.cylc
[runtime]
[[foo]]
[[[remote]]]
host = remote_host
cylc check-version <workflow>
# returns nothing, doesn't check `remote_host`
Cause
This line is getting a list of platform names from the runtime, but ignoring other runtime settings: https://github.com/cylc/cylc-flow/blob/33788b3a74a8015e0893eddb8077c3068a141533/cylc/flow/scripts/check_versions.py#L92