Repository navigation
chore(deps): fix open Dependabot security alerts - #414
Open
prakash100198 wants to merge 2 commits into
Open
prakash100198 wants to merge 2 commits into
prakash100198 wants to merge 2 commits into
Conversation
- go-jose/v4 v4.1.6, klauspost/compress v1.18.7, grpc v1.83.2 - otel, otel/sdk, otel/trace and otlptrace exporters v1.47.0 - containerd v1.7.36 (chart-sync, kubelink) - helm v3.20.2 in kubelink only (pulls k8s.io v0.35.1) - argo-cd/v3 v3.4.10 (kubewatch) - otel v1.47 needs Go 1.26: chart-sync, ci-runner, common-lib, kubelink and lens move to go 1.26.0 with golang:1.26 builder images Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
prakash100198
requested review from
prakarsh-dt and
vivek-devtron
as code owners
December 2, 2026 06:03
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
1 similar comment
|
Some linked issues are invalid. Please update the issue links:\nIssue # in is not found or invalid (HTTP }404).\n |
client-go v0.35 (pulled in by helm v3.20.2) enables the WatchListClient feature by default. In watch-list mode the reflector applies the informer transform while streaming into its temporary store and RealFIFO.Replace applies it again, so transformHelmRelease saw secrets whose release data had already been replaced by the app detail and failed with "unexpected end of JSON input". Every informer sync then logged an error and fell back to a full LIST of all helm release secrets. Already transformed secrets are now returned unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Fixes: https://github.com/devtron-labs/sprint-tasks/issues/3010
Summary
Fixes 71 of the 96 open Dependabot alerts on devtron-services. These are dependency bumps only: go.mod / go.sum / vendor plus Go builder images, with no code changes.
Go 1.26: otel v1.47 needs Go 1.26, so chart-sync, ci-runner, common-lib, kubelink and lens move to
go 1.26.0(kubewatch was already on it). Their Dockerfiles changegolang:1.25.0→golang:1.26.6, andgolang:1.25-alpine3.21→golang:1.26-alpine3.22, because no 1.26 image exists for alpine3.21. The runtime alpine 3.21 stays, since both alpines ship musl 1.2.5. authenticator, git-sensor and image-scanner stay on Go 1.25.When common-lib is next repointed in a consumer, that consumer also needs Go 1.26.
Not fixed here (and why)
ProtoMessage()methods that argo-cd v3.4's generated gateway code needs, so the orchestrator fails to compile (argo-cd/v3/pkg/apiclient/application/application.pb.gw.go: *v1.EventList does not implement protoiface.MessageV1). It is bumped only in kubelink, which doesn't use argo-cd. It is not bumped in the orchestrator, or in common-lib / common-lib-private, because those are consumed by the orchestrator and kubewatch and would push k8s 0.35 onto them. It unblocks with argo-cd v3.6 (k8s 0.37, Go 1.27).pkg/generated/clientsetand the generated informers in v1.15, and every patched version is ≥ 1.18.1. kubewatch (5 velero handlers) and the ent orchestrator (1 file) use them, so this needs a code migration, not a bump. We only use the API types and the clientset, never the vulnerable restore path.Verification
go build ./...) aftergo mod tidy && go mod vendor.k8sResource/*_test.go. Those already fail on develop because they callNewK8sServiceImplwith a signature that no longer exists.go list -m: each one is at or above its patched version, except the helm (common-lib) and velero (common-lib, kubewatch) alerts above and the ones with no fix.Related PRs (same Dependabot sweep)
kubelink compatibility fix
helm v3.20.2 pulls in client-go v0.35, which enables the
WatchListClientfeature by default. In watch-list mode client-go applies the informer transform twice (once into the reflector's temporary store, again inRealFIFO.Replace).transformHelmReleasethen saw secrets whosereleasedata had already been replaced by the app detail and failed withunexpected end of JSON input, so every informer sync logged an error and fell back to a full LIST of all helm release secrets.transformHelmReleasenow returns already transformed secrets unchanged (kubelink/pkg/k8sInformer). A unit test covers first and repeated transforms and the existing error cases.Verified against the shared cluster with kubelink's real transform and a client-go v0.35 informer: develop-equivalent code made 5 transform calls with 1 error, the fix makes 4 with 0 errors, and the cached app details are identical.
🤖 Generated with Claude Code