cylc-flow icon indicating copy to clipboard operation
cylc-flow copied to clipboard

Cylc Check Version: Broken for Cylc 7 platform settings

Open wxtim opened this issue 1 year ago • 0 comments

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

wxtim avatar Aug 30 '24 10:08 wxtim