Skip to content

Report packages loading failure with a specific exit-code#4963

Open
podtserkovskiy wants to merge 1 commit into
golangci:masterfrom
podtserkovskiy:report_packages_loading_failure
Open

Report packages loading failure with a specific exit-code#4963
podtserkovskiy wants to merge 1 commit into
golangci:masterfrom
podtserkovskiy:report_packages_loading_failure

Conversation

@podtserkovskiy

Copy link
Copy Markdown

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.

@boring-cyborg

boring-cyborg Bot commented Aug 28, 2024

Copy link
Copy Markdown

Hey, thank you for opening your first Pull Request !

@CLAassistant

CLAassistant commented Aug 28, 2024

Copy link
Copy Markdown

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.

@ldez ldez self-requested a review August 28, 2024 11:30
@ldez ldez added area: CLI Related to CLI blocked Need's direct action from maintainer labels Aug 28, 2024
@podtserkovskiy

Copy link
Copy Markdown
Author

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

@ldez

ldez commented Jan 30, 2025

Copy link
Copy Markdown
Member

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" 🤔

Can you provide more details?

@ldez ldez added waiting for: contributor feedback Requires additional feedback and removed blocked Need's direct action from maintainer labels Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: CLI Related to CLI waiting for: contributor feedback Requires additional feedback

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants