Repository navigation
chore(deps): upgrade grpc, x/net and opentelemetry to fix security advisories - #56
Merged
Merged
Conversation
The workflow ran the latest golangci-lint, which now rejects this repo's config. v2.10.1 is the version that lints it cleanly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Upgrades dependencies to close every open Go Dependabot alert in this repo:
google.golang.org/grpcv1.80.0 -> v1.83.1golang.org/x/netv0.51.0 -> v0.57.0 (v0.55.0 fixes the alert; the OpenTelemetry v1.45.0 exporters require v0.57.0)go.opentelemetry.io/otelv1.42.0 -> v1.45.0, plusotel/sdk(v1.40.0),otlptraceandotlptracegrpc-> v1.45.0github.com/antchfx/xpathv1.2.0 -> v1.3.6go mod tidyalso movedgolang.org/x/sys,golang.org/x/text,genproto/googleapis/*,grpc-gateway/v2,go-logr/logrand other OpenTelemetry modules. Thegodirective stays at 1.25.0, so no CI or Dockerfile Go pin changed.Alerts fixed
github.com/antchfx/xpathgoogle.golang.org/grpc:authorityandHostheadersgoogle.golang.org/grpcgoogle.golang.org/grpcgo.opentelemetry.io/otel/sdkgolang.org/x/netgoogle.golang.org/grpcgo.opentelemetry.io/otel/exporters/otlp/otlptracego.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpcgo.opentelemetry.io/otel/sdkNot touched: non-Go alerts (for example
samples/packages/package.json) are out of scope for this PR. No Go alert lacked a patched version.Testing
go build ./...andgo vet ./...pass locally.go test ./...passes locally. Theversion.txtfile embedded bypkg/cmdis generated by the Makefile, so I created it temporarily (and removed it) to compile those packages.Part of the org-wide cleanup of open security alerts.