New feature
Produce a warning when a custom config cannot override an existing setting.
some config hidden in the depths of the pipeline:
process {
withName: '*:SUBWORKFLOW:(TOOL1|TOOL2)' {
cpu = { some optimization code }
memory = { some optimization code }
}
}
but then the user gets an error and tries to increase resources
process {
withName: 'TOOL1' {
memory = 50.GB
}
}
The problem is, this is silently not applied because the full name ( in the pipeline ) has a higher priority than the simple name ( user config ).
Use case
The use case is for when errors occur and users try to increase resources but it silently fails confusing users further when they think they've given enough resources, and aren't familiar enough with config selector priority.
Suggested implementation
I don't know anything about how configs are applied to give an implementation suggestion.