Repository navigation
Conversation
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>
There was a problem hiding this comment.
🟢 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/netto v0.62.0 across all six Go modules. - Refreshes related transitive dependencies and checksums, including OpenAPI, YAML, and Protobuf packages.
- Pins
govulncheckto 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
|
🤖 Auto-triaged by documentdb-triage-tool. Applied: Reasoningcomponent from path globs (dependencies, kubectl-plugin, ci); effort from diff stats (490+499 LOC, 13 files) If a label is wrong, ping |
|
Closing as Rayhan beat this PR to it. |
Summary
Validation