opentelemetry-collector-releases
opentelemetry-collector-releases copied to clipboard
Switch to Go 1.22 for official builds
Same as #383, but for Go 1.22.
Go 1.22 was released recently: go.dev/doc/go1.22
After we add testing for it on core (open-telemetry/opentelemetry-collector/issues/9507) and contrib (open-telemetry/opentelemetry-collector-contrib/issues/31105) we can switch to using the Go 1.22 compiler for official builds. Based on historical precedent this will make our life easier when dealing with security issues since we don't depend on the Go team backporting fixes and can react more quickly.
Hello @mx-psi, @greut if this is still unattended and there are no blockers, I'd like to fix it.
I double checked, all workflows are already on Go 1.22, the only place that's still on 1.21 is the go.mod
file (repo search link). I can quickly file a PR to update that.
@mowies That does not affect official builds but we can do it anyways and close this issue with that PR :)
Seems like updating the version and running go mod tidy
gets rid of most dependencies in there which doesn't seem right. Maybe a PR is not the best idea 😅
I opened the PR in draft mode for now if you wanna check it out