Skip to content

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

Open
nic-littlepay wants to merge 6 commits intobuildkite:mainfrom
nic-littlepay:fixes-issue-3303
Open

Add config option to fail pipeline upload on parsing warnings as well as errors#3304
nic-littlepay wants to merge 6 commits intobuildkite:mainfrom
nic-littlepay:fixes-issue-3303

Conversation

@nic-littlepay
Copy link

Description

Attempts to provide fixe for issue #3303

Context

There's slightly more context in the issue but broadly we wanted to be able to configure the agent to fail pipeline if it finds parse warnings in pipeline upload.

Changes

  • Adds a new config bool flag to pipeline upload command.
  • If that flag is set true, returns error on parse warnings.

Testing

  • Tests have run locally (with go test ./...). Buildkite employees may check this if the pipeline has run automatically.
  • Code is formatted (with go fmt ./...)

@nic-littlepay nic-littlepay changed the title Add config option to fail pipeline upload on parsing warnings as well as errors (#3303) Add config option to fail pipeline upload on parsing warnings as well as errors May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant