According to the docs I can specify multiple supported operations for a required statement by using regular expressions
An example is also given
However whenever I try to selecting the latest run using regular expressions, for example using the following guild file
train-pull: main: script train-extract: main: script test: requires: - operation: ^train-
The latest successful run is not detected
guild: run failed because a dependency was not met: could not resolve 'operation:^train-' in ^train- resource: no suitable run for ^train-
If I specify the run id then the run is detected, but this seems to work regardless of if the passed run id is compatible with the regular expression given in the guild file.
Instead of this behavior I would expect guild to detect the latest run done for either train-pull or train-extract and use it as the operation requirement for test.