golangci-lint icon indicating copy to clipboard operation
golangci-lint copied to clipboard

Report packages loading failure with a specific exit-code

Open podtserkovskiy opened this issue 1 year ago • 4 comments
trafficstars

The packages.Load() function can use an external package provider GOPACKAGESDRIVER for third-party build-systems like Bazel or Buck2.

Having a specific exit code when external driver fails would increase observability and will help to distinguish GOPACKAGESDRIVER's failures from other kinds of failures.

podtserkovskiy avatar Aug 28 '24 09:08 podtserkovskiy

Hey, thank you for opening your first Pull Request !

boring-cyborg[bot] avatar Aug 28 '24 09:08 boring-cyborg[bot]

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Aug 28 '24 09:08 CLAassistant

@ldez Is there something I can do to get this PR merged?

podtserkovskiy avatar Oct 06 '24 18:10 podtserkovskiy

I'm unsure to understand how this "increases observability and will help to distinguish GOPACKAGESDRIVER's failures from other kinds of failures". The error message is already "unique" :thinking:

Can you provide more details?

ldez avatar Jan 30 '25 19:01 ldez