Skip to content

fix: repair govulncheck dependency scans - #529

Closed
xgerman wants to merge 1 commit into
documentdb:mainfrom
xgerman:geeichbe/fix-govulncheck
Closed

xgerman wants to merge 1 commit into
documentdb:mainfrom
xgerman:geeichbe/fix-govulncheck

Conversation

@xgerman

@xgerman xgerman commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade OpenTelemetry modules to v1.47.0 and golang.org/x/net to v0.62.0 across Go modules.
  • Pin govulncheck to v1.10.0 instead of the mutable @latest release.

Validation

  • All six govulncheck workflow matrix modules pass.
  • Operator unit suite: go test ./... passes.
  • Branch is based on upstream/main and contains only workflow and Go module changes.

Upgrade vulnerable OpenTelemetry and x/net dependencies across Go modules and pin govulncheck to v1.10.0 for reproducible CI scans.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 4ce3cd46-b2af-42bf-bdba-8beebf97b305
Signed-off-by: German Eichberger <geeichbe@microsoft.com>
Copilot AI balanced review requested due to automatic review settings November 30, 2026 22:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the dependency updates and scanner-version pinning.

No open issues 🎉

What changed in this PR

This PR repairs dependency vulnerability scans across the operator, kubectl plugin, sidecar injector, and test modules by updating dependencies and pinning the scanner version.

Changes:

  • Upgrades the operator’s OpenTelemetry dependencies to v1.47.0 and golang.org/x/net to v0.62.0 across all six Go modules.
  • Refreshes related transitive dependencies and checksums, including OpenAPI, YAML, and Protobuf packages.
  • Pins govulncheck to v1.10.0 instead of using @latest.
File Description
test/​shared/​go.sum Refreshes shared test-helper dependency checksums.
test/​shared/​go.mod Updates shared test-helper dependencies.
test/​longhaul/​go.sum Refreshes longhaul dependency checksums.
test/​longhaul/​go.mod Updates longhaul test dependencies.
test/​e2e/​go.sum Refreshes end-to-end test dependency checksums.
test/​e2e/​go.mod Updates end-to-end test dependencies.
operator/​src/​go.sum Records updated operator dependency checksums.
operator/​src/​go.mod Upgrades OpenTelemetry, networking, and related operator dependencies.
operator/​cnpg-plugins/​sidecar-injector/​go.sum Refreshes sidecar networking and tooling checksums.
operator/​cnpg-plugins/​sidecar-injector/​go.mod Updates the sidecar’s networking dependencies.
documentdb-kubectl-plugin/​go.sum Refreshes kubectl plugin dependency checksums.
documentdb-kubectl-plugin/​go.mod Updates kubectl plugin dependencies.
.github/​workflows/​govulncheck.yml Pins the vulnerability scanner to v1.10.0.

Review effort: Balanced

@documentdb-triage-tool documentdb-triage-tool Bot added CI/CD dependencies Pull requests that update a dependency file ecosystem go Pull requests that update go code labels Nov 30, 2026
@documentdb-triage-tool

Copy link
Copy Markdown

🤖 Auto-triaged by documentdb-triage-tool.

Applied: dependencies, ecosystem, go, CI/CD
Project fields suggested: Component dependencies · Priority P2 · Effort L · Status Needs Review
Confidence: 0.95 (deterministic)

Reasoning

component from path globs (dependencies, kubectl-plugin, ci); effort from diff stats (490+499 LOC, 13 files)

If a label is wrong, ping @patty-chow so the rules can be tuned. Issues with component labels are left alone; PR component labels are reconciled from changed paths on every run.

@xgerman

xgerman commented Nov 30, 2026

Copy link
Copy Markdown
Collaborator Author

Closing as Rayhan beat this PR to it.

@xgerman xgerman closed this Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD dependencies Pull requests that update a dependency file ecosystem go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants