oadp-1.3: OADP-7568,OADP-7571: Fix CVEs: bump Go to 1.25.8, update dependencies#394
oadp-1.3: OADP-7568,OADP-7571: Fix CVEs: bump Go to 1.25.8, update dependencies#394kaovilai wants to merge 3 commits into
Conversation
Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering> Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
|
@kaovilai: This pull request references OADP-7568 which is a valid jira issue. This pull request references OADP-7571 which is a valid jira issue. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository: openshift/coderabbit/.coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kaovilai The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
There was a problem hiding this comment.
Pull request overview
Updates the OADP 1.3 plugin’s Go toolchain and module dependencies to address reported CVEs, and aligns the Konflux build image with the new Go version.
Changes:
- Bump
go.modlanguage version to Go 1.25 and settoolchain go1.25.8. - Update a wide set of Go module dependencies (notably
golang.org/x/*,google.golang.org/*, and related transitive deps). - Update
konflux.Dockerfileto use the RHEL9 Go 1.25 builder image.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
konflux.Dockerfile |
Switches Konflux builder image to Go 1.25. |
go.mod |
Bumps Go version/toolchain and updates required module versions. |
go.sum |
Refreshes dependency checksums consistent with the module updates. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| go 1.25.0 | ||
|
|
||
| toolchain go1.23.6 | ||
| toolchain go1.25.8 |
There was a problem hiding this comment.
Bumping go.mod to go 1.25.0 + toolchain go1.25.8 will break the default make build flow: the Makefile’s default BUILD_IMAGE is openshift/origin-release:golang-1.14 (Makefile:19), and Go 1.14 cannot parse the toolchain directive (and won’t support Go 1.25 language version). Please update the build container used by make build (or otherwise adjust the build instructions) so local/CI builds don’t fail after this Go bump.
Cherry-pick of openshift#365 (7e4a7d4) from oadp-dev to fix S3 bucket test failures in CI. Uses mock instead of real S3 calls. Conflicts resolved: - common/types.go: added new constants (SkipBuildConfigConfigMapRestore, registry SA annotations) - serviceaccount/backup.go: kept oadp-1.3 struct layout (no sccCache) - Removed files not in oadp-1.3 (vmfr_restore_test.go, itemblock.go) Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering> Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
…tion Old setup-envtest downloads kubebuilder test binaries from deprecated GCS bucket which now returns 401. Update to latest version per kubernetes-sigs/kubebuilder#4082. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering> Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
|
@kaovilai: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/hold for velero bump from crd update |
|
/unhold crd change pretty-no-op seen in openshift/velero#498 |
Summary
Test plan
go build ./...compiles successfullygo vet ./...passes cleanlyNote
Responses generated with Claude