Repository navigation
Update Go to v1.26.10 and golang.org/x/net to v0.60.0 to fix govulncheck findings - #7548
Open
mohammedfirdouss wants to merge 3 commits into
Open
mohammedfirdouss wants to merge 3 commits into
mohammedfirdouss wants to merge 3 commits into
Conversation
…eck findings Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
✅ Deploy Preview for pipecd-site canceled.
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #7548 +/- ##
==========================================
- Coverage 30.95% 30.94% -0.02%
==========================================
Files 602 602
Lines 52862 52862
==========================================
- Hits 16362 16356 -6
- Misses 34956 34962 +6
Partials 1544 1544
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
mohammedfirdouss
marked this pull request as draft
October 29, 2026 07:37
… 1.26.10 Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
Contributor
Author
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the Go toolchain and networking dependency updates.
No open issues 🎉
What changed in this PR
This PR updates PipeCD’s Go toolchain and networking dependency to address fixable govulncheck findings tracked in #6600, aligning module requirements, container builds, and CI workflows.
Changes:
- Raises Go requirements and build-toolchain references from 1.26.2 to 1.26.10.
- Updates
golang.org/x/netto v0.60.0 with matching checksums. - Leaves the vulnerability gate warn-only while the remaining dependency and advisory issues are handled separately.
| File | Description |
|---|---|
tool/codegen/protoc-gen-auth/go.mod |
Raises the generator’s Go requirement. |
tool/codegen/Dockerfile |
Updates the builder and bundled Go runtime. |
tool/actions-plan-preview/go.sum |
Refreshes x/net checksums. |
tool/actions-plan-preview/go.mod |
Updates Go and x/net requirements. |
tool/actions-plan-preview/Dockerfile |
Updates the Go builder image reference. |
tool/actions-gh-release/go.mod |
Raises the release tool’s Go requirement. |
tool/actions-gh-release/Dockerfile |
Updates the Go base image reference. |
pkg/plugin/sdk/go.sum |
Refreshes SDK x/net checksums. |
pkg/plugin/sdk/go.mod |
Updates SDK Go and x/net requirements. |
pkg/app/pipedv1/plugin/waitapproval/go.sum |
Refreshes waitapproval x/net checksums. |
pkg/app/pipedv1/plugin/waitapproval/go.mod |
Updates waitapproval Go and x/net requirements. |
pkg/app/pipedv1/plugin/wait/go.sum |
Refreshes wait x/net checksums. |
pkg/app/pipedv1/plugin/wait/go.mod |
Updates wait Go and x/net requirements. |
pkg/app/pipedv1/plugin/terraform/go.sum |
Refreshes Terraform x/net checksums. |
pkg/app/pipedv1/plugin/terraform/go.mod |
Updates Terraform Go and x/net requirements. |
pkg/app/pipedv1/plugin/scriptrun/go.sum |
Refreshes scriptrun x/net checksums. |
pkg/app/pipedv1/plugin/scriptrun/go.mod |
Updates scriptrun Go and x/net requirements. |
pkg/app/pipedv1/plugin/kubernetes/go.sum |
Refreshes Kubernetes x/net checksums. |
pkg/app/pipedv1/plugin/kubernetes/go.mod |
Updates Kubernetes Go and x/net requirements. |
pkg/app/pipedv1/plugin/kubernetes_multicluster/go.sum |
Refreshes multicluster x/net checksums. |
pkg/app/pipedv1/plugin/kubernetes_multicluster/go.mod |
Updates multicluster Go and x/net requirements. |
pkg/app/pipedv1/plugin/ecs/go.sum |
Refreshes ECS x/net checksums. |
pkg/app/pipedv1/plugin/ecs/go.mod |
Updates ECS Go and x/net requirements. |
pkg/app/pipedv1/plugin/cloudrun/go.sum |
Refreshes Cloud Run x/net checksums. |
pkg/app/pipedv1/plugin/cloudrun/go.mod |
Updates Cloud Run Go and x/net requirements. |
pkg/app/pipedv1/plugin/analysis/go.sum |
Refreshes analysis x/net checksums. |
pkg/app/pipedv1/plugin/analysis/go.mod |
Updates analysis Go and x/net requirements. |
go.sum |
Refreshes root-module x/net checksums. |
go.mod |
Updates root-module Go and x/net requirements. |
docs/Dockerfile |
Updates the documentation server’s Go builder reference. |
cmd/pipedv1/Dockerfile |
Updates the plugin-based agent’s Go builder. |
cmd/piped/Dockerfile-okd |
Updates the OKD agent’s Go builder. |
cmd/piped/Dockerfile |
Updates the legacy agent’s Go builder. |
cmd/pipectl/Dockerfile |
Updates the CLI’s Go builder. |
cmd/launcher/Dockerfile-okd |
Updates the OKD launcher’s Go builder. |
cmd/launcher/Dockerfile |
Updates the launcher’s Go builder. |
cmd/helloworld/Dockerfile |
Updates the sample application’s Go builder. |
cmd/controlplane/Dockerfile |
Updates the control plane’s Go builder. |
.github/workflows/test.yaml |
Selects Go 1.26.10 for tests. |
.github/workflows/publish_pipedv1_exp.yaml |
Selects Go 1.26.10 for experimental agent publishing. |
.github/workflows/publish_binary.yaml |
Selects Go 1.26.10 for binary publishing. |
.github/workflows/plugin_release.yaml |
Selects Go 1.26.10 for plugin releases. |
.github/workflows/lint.yaml |
Selects Go 1.26.10 for linting. |
.github/workflows/build.yaml |
Selects Go 1.26.10 for builds. |
Review effort: Balanced
Signed-off-by: Mohammed Firdous <124298708+mohammedfirdouss@users.noreply.github.com>
mohammedfirdouss
marked this pull request as ready for review
October 29, 2026 13:57
Contributor
Author
|
@copilot resolve the merge conflicts in this pull request |
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.
What this PR does:
GO_VERSION. Thegodirective in the 14go.modfiles stays at 1.26.2: govulncheck's standard-library findings depend on the toolchain the code is built with, not on the directive, and raising the directive made Snyk's scan of every module error out. The three alpine-based Dockerfiles move togolang:1.26.10-alpine3.24, since no-alpine3.22tag is published for 1.26.10.golang.org/x/netto v0.60.0 in the 12 modules that depend on it, withgo mod tidyin all 14 modules.Why we need it:
govulncheckon master currently reports, per module, these findings with a fixed version available:protoc-gen-auth)With this change those are gone from all 14 modules (checked locally with govulncheck v1.9.0).
Two findings remain and have no fixed version, so the CI gate stays warn-only for now (#6600):
golang.org/x/crypto/openpgpis deprecated: it is pulled in only bygoogle/go-githubv29 (root), v36 (actions-plan-preview) and v39 (actions-gh-release). go-github stopped importing it in v60, so the fix is upgrading go-github in those three modules, which touch 7 files in total. Follow-up PR.github.com/pipe-cd/pipecd: the advisory lists the affected range as<= 0.49.0but no patched version, so the Go vulnerability database marks every version as affected, including the v0.58.0 the SDK and plugins depend on. That needs the advisory corrected with the patched version; nothing in this repository can change it.Which issue(s) this PR fixes:
Part of #6600.
Does this PR introduce a user-facing change?:
Screenshots/Videos (for documentation or website changes):
N/A