Skip to content

Feature suggestion: Produce a warning when a user supplied config selector cannot be applied because a higher priority selector is in affect. #6522

@mahesh-panchal

Description

@mahesh-panchal

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions