fix(ops-10179): Phase 1 CVE/deps migration#7
Merged
Conversation
Scriptable dependency & tooling refresh. No functional code changes. - go.mod: go 1.26.4; `go get -u -t ./...` to latest within current major (grpc 1.51->1.81, protobuf->1.36.11, go-cmp 0.7, testify 1.11; tidy dropped the legacy github.com/golang/protobuf indirect). - golangci-lint: migrated config v1 -> v2; gomodguard -> gomodguard_v2; pre-existing noctx/prealloc on untouched code suppressed via config (tests) + one test-helper //nolint. - GitHub Actions: action versions bumped via `uga`; added govulncheck-action@v1 (repo-checkout:false) to the lint job; pinned go 1.26.4 across setup-go + govulncheck-action (manifest lags at 1.26.3, which carries stdlib advisories GO-2026-5039 / GO-2026-5037); migrated labeler.yml to the v5+ schema for actions/labeler@v6; removed the broken Nancy/OSS Index step (401 without a token; govulncheck + Dependabot cover it). Vulnerabilities fixed (govulncheck -scan module + stdlib via go 1.26.4): GO-2026-5024 (x/sys), GO-2026-4762 & GO-2024-2978 (grpc), GO-2026-5039 (net/textproto), GO-2026-5037 (crypto/x509). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
795fdda to
80f9c21
Compare
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.
OPS-10179 — Phase 1 (scriptable) CVE/dependency migration
First repo in the dependency-ordered migration (Wave-0 leaf; 27 downstream dependents). No functional code changes. ✅ CI green.
Vulnerabilities fixed
Dependencies (
govulncheck -scan module, base → now):Go standard library (resolved by pinning the toolchain to go 1.26.4):
Post-migration
govulncheck -scan module: No vulnerabilities found.Changes
go 1.26.4;go get -u -t ./...to latest within current major (grpc 1.51→1.81, protobuf→1.36.11, go-cmp 0.7, testify 1.11).go mod tidydropped the legacygithub.com/golang/protobufindirect.golangci-lint migrate;gomodguard→gomodguard_v2; pre-existingnoctx/preallocfindings on untouched code suppressed via config (tests) + one//nolinton a test helper.uga; addedgolang/govulncheck-action@v1(repo-checkout: false) to the lint job. CI fixes required after the bumps:setup-go/go-version-inputto 1.26.4 (actionsgo-versionsmanifest lags at 1.26.3, which carries the stdlib advisories above)..github/labeler.ymlto the labeler v5+ schema (required byactions/labeler@v6).Verify
Local:
make ci_tests(race) ✅ ·make lint✅ ·govulncheck✅. CI: all jobs green.Deferred to Phase 2
pgx v5, AWS SDK v2, grpc/protobuf API swap, context plumbing.
🤖 Generated with Claude Code