Repository navigation
Fix govulncheck failures with Go 1.26.9 and x/net v0.60.0 - #128
Closed
omkarjoshi0304 wants to merge 1 commit into
Closed
omkarjoshi0304 wants to merge 1 commit into
omkarjoshi0304 wants to merge 1 commit into
Conversation
Require Go 1.26.9 and golang.org/x/net v0.60.0 with their required dependency updates. Allow the UBI container build stage to select the patched Go toolchain required by go.mod. Keep the existing vulnerability exception policy unchanged.
Contributor
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: omkarjoshi0304 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
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.
Summary
Fix the shared
govulncheckfailure affecting multiple PRs. The current Go and networking dependency versions produce 16 unignored findings: 11 in the Go standard library and five ingolang.org/x/net.go.mod.golang.org/x/netfrom v0.58.0 to v0.60.0, including its required transitive dependency updates and checksums.GOTOOLCHAIN=local; it must be able to select the patched version required bygo.mod. This can download the upstream Go toolchain during the build. The runtime base image is unchanged.No vulnerability exceptions are added or modified. No application behavior or Console/MCP removal changes are included.
Validation
make test— passed, including controller and webhook tests.make lintandgo build ./...— passed.go mod verifyandgo mod tidy -diff— passed.make govulncheckwith Go 1.26.9, for both local Darwin/arm64 and CI's Linux/amd64 target — zero unignored findings; the existingGO-2025-4125observability-operator exception remains.go version -m /workspace/managerconfirms Go 1.26.9 andgolang.org/x/netv0.60.0 in the resulting Linux/arm64 operator binary.--helpsmoke test passed.Related work
This overlaps the networking dependency update in #124. That PR fixes the five
x/netfindings but still fails on the eleven standard-library findings. This PR provides a self-contained fix for both, including the container build toolchain selection. No changes have been made to #124.Built directly on upstream
main, independently of #127 and #122. Other PRs can rebase after this fix merges.References: Go 1.26.9 release notes, GO-2026-6603.
Summary by CodeRabbit