Skip to content

Add option to ignore process selector warnings #2700

@drpatelh

Description

@drpatelh

Warnings are great to let developers know that they are using the correct process selectors e.g. here. However, if we are using if/else type logic in the main workflow like here then we have to replicate this in any configuration too like here. This becomes quite painful to maintain and ideally we should have an option to turn off the warnings via some sort of configuration option.

Possible suggestions:

  • An option that takes a list of process names to ignore but this could get very long for larger pipelines e.g. ignore_selector_warnings = ['KUNG', 'FOO', 'BAR']
  • A configuration option that can be set within the process scope for all processes or individual ones:
process {
    ignore_selector_warnings = true

    withName: 'FOO' {
        ignore_selector_warnings = true
    }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions