[konflux-agent] Fix: sync go.sum with go.mod dependency bumps (PR #1669)#1676
[konflux-agent] Fix: sync go.sum with go.mod dependency bumps (PR #1669)#1676raptorsun wants to merge 2 commits into
Conversation
Run go mod tidy to add missing checksums for: - github.com/openshift/api v0.0.0-20260424174501-4f63a40a2970 - google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af Fixes hermetic build failure in openshift#1669 where go mod download could not update go.sum due to missing checksum entries. konflux-agent/retried-from: lightspeed-operator-on-pull-request-hkk6k
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughTwo Go module dependencies are updated to newer versions in ChangesDependency Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
PR needs rebase. 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. |
|
@raptorsun: The following tests failed, say
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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
/hold |
Auto-fix by Konflux Agent
Fixes build failure in #1669.
Original PR: #1669
Failed PipelineRun: lightspeed-operator-on-pull-request-hkk6k
Root Cause
PR #1669 bumped two dependencies in
go.modbut did not updatego.sum:github.com/openshift/api:v0.0.0-20260420151639-34e60874783e→v0.0.0-20260424174501-4f63a40a2970google.golang.org/protobuf:v1.36.11→v1.36.12-0.20260120151049-f2248ac996afDuring the hermetic Konflux build,
go mod download(run with cachi2's env that enables-mod=mod) tried to updatego.sumwith the new checksums. This failed with:Both linux/x86_64 and linux/arm64 builds failed with the same error at Dockerfile step 7.
Changes
go mod tidyto syncgo.sumwith the updatedgo.modgo.sumchanged: 4 lines replaced (checksums for the 2 new dependency versions)Validation
go mod tidycompleted without errorsgo build ./cmd/... ./internal/... ./api/...succeededinternal/controller/watchersandinternal/tlspassThis PR was automatically created by konflux-agent to fix a build failure. Please review the changes and merge if correct.
Summary by CodeRabbit