agent icon indicating copy to clipboard operation
agent copied to clipboard

Add config option to fail pipeline upload on parsing warnings as well as errors

Open nic-littlepay opened this issue 8 months ago • 2 comments

Is your feature request related to a problem? Please describe. Sometimes our pipeline contains bad yaml that means the pipeline won't run or result in the way we expect. The agent will log warnings relating to parse issues but it will continue to upload the pipeline.

Describe the solution you'd like Add an option to configure the agent to bail out on any warnings or errors returned from parsing.

Describe alternatives you've considered We've tried no real alternatives at this point although we did suggest adding some sort of separate pipeline yaml linting, but not exactly sure what that could look like or if it's the best solution.

Additional context

nic-littlepay avatar May 07 '25 07:05 nic-littlepay

Hi @nic-littlepay - thanks for raising this! I'm going to double check internally to make sure I understand the reasoning behind it being a warning (not an error) in the first place, then I'll get back to you. Thanks for your patience!

dabarrell avatar May 23 '25 01:05 dabarrell

@dabarrell , have you had any update on this?

nic-littlepay avatar Jun 19 '25 05:06 nic-littlepay