Skip to content

fix(ops-10179): Phase 1 CVE/deps migration#7

Merged
pascal-blokur merged 1 commit into
masterfrom
fix/ops-10179_cves
Jun 3, 2026
Merged

fix(ops-10179): Phase 1 CVE/deps migration#7
pascal-blokur merged 1 commit into
masterfrom
fix/ops-10179_cves

Conversation

@pascal-blokur

@pascal-blokur pascal-blokur commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

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):

Advisory Module Was Fixed in
GO-2026-5024 golang.org/x/sys v0.20.0 v0.45.0
GO-2026-4762 google.golang.org/grpc v1.64.0 v1.81.1
GO-2024-2978 google.golang.org/grpc v1.64.0 v1.81.1

Go standard library (resolved by pinning the toolchain to go 1.26.4):

Advisory Package Fixed in
GO-2026-5039 net/textproto go1.26.4
GO-2026-5037 crypto/x509 go1.26.4

Post-migration govulncheck -scan module: No vulnerabilities found.

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). go mod tidy dropped the legacy github.com/golang/protobuf indirect.
  • golangci-lint v2: migrated config via golangci-lint migrate; gomodguardgomodguard_v2; pre-existing noctx/prealloc findings on untouched code suppressed via config (tests) + one //nolint on a test helper.
  • GitHub Actions: action versions bumped via uga; added golang/govulncheck-action@v1 (repo-checkout: false) to the lint job. CI fixes required after the bumps:
    • Pinned setup-go/go-version-input to 1.26.4 (actions go-versions manifest lags at 1.26.3, which carries the stdlib advisories above).
    • Migrated .github/labeler.yml to the labeler v5+ schema (required by actions/labeler@v6).
    • Removed the broken Nancy step (Sonatype OSS Index now 401s without a token; govulncheck + Dependabot cover this).

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

@github-actions github-actions Bot added the ci label Jun 3, 2026
@pascal-blokur pascal-blokur marked this pull request as ready for review June 3, 2026 13:40
@pascal-blokur pascal-blokur marked this pull request as draft June 3, 2026 13:40
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>
@pascal-blokur pascal-blokur marked this pull request as ready for review June 3, 2026 13:45
@pascal-blokur pascal-blokur merged commit d16c209 into master Jun 3, 2026
4 checks passed
@pascal-blokur pascal-blokur deleted the fix/ops-10179_cves branch June 3, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant