-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Go 1.20 errors.Join
instead of go.uber.org/multierr
#25121
Comments
Would we prefer to see this per component or one big search and replace PR? |
I guess it is up to whoever takes this, my experience is that per component (or at least not everything at once) is a bit less frustrating for contributors given the churn of conflicts |
I can work on this, @mx-psi kindly assign, would do once the blocker PR is merged. |
Hello everyone. Are there any other components that need to migrate over to the new built-in error support? |
Hey @gord02! There are still components that you can migrate, I think e.g. @shivanshu1333 has not gotten started with processors and most exporters are not done either. Please see open-telemetry/opentelemetry-collector#8225 (comment) when making a PR: if replacing |
Hi I'm interested in working on it. Can i work on it? |
Sure, feel free to open a PR @bagmeg :) |
…/multierr (open-telemetry#27835) **Description:** fileexporter: use errors.Join instead of go.uber.org/multierr **Link to tracking Issue:** open-telemetry#25121
….uber.org/multierr (open-telemetry#27857) **Description:** use errors.Join instead of go.uber.org/multierr **Link to tracking Issue:** <Issue number if applicable> open-telemetry#25121 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.>
**Link to tracking Issue:** - #25121
**Link to tracking Issue:** - #25121
…org/multierr (#32509) **Description:** <Describe what has changed.> use errors.Join instead of go.uber.org/multierr **Link to tracking Issue:** <Issue number if applicable> #25121 **Testing:** <Describe what testing was performed and which tests were added.> **Documentation:** <Describe the documentation added.> Co-authored-by: Juraci Paixão Kröhling <[email protected]>
Hi I'm interested in helping with this, may I? |
Feel free to send PRs for components which are still using |
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping |
This issue has been closed as inactive because it has been stale for 120 days with no activity. |
Component(s)
No response
Describe the issue you're reporting
Go 1.20 includes new builtin error joining support that can replace the usage of
go.uber.org/multierr
. We should switch to using these and ban the usage ofgo.uber.org/multierr
viadepguard
(same as this).Counterpart of open-telemetry/opentelemetry-collector#8210.
This is blocked by #25116
The text was updated successfully, but these errors were encountered: