[konflux-agent] Fix: update go.sum for bumped dependencies (PR #1669)#1670
[konflux-agent] Fix: update go.sum for bumped dependencies (PR #1669)#1670raptorsun wants to merge 2 commits into
Conversation
PR openshift#1669 updated go.mod to bump: - github.com/openshift/api to v0.0.0-20260424174501-4f63a40a2970 - google.golang.org/protobuf to v1.36.12-0.20260120151049-f2248ac996af However go.sum was not updated with the checksums for the new versions, causing the hermetic Konflux build to fail. In hermetic mode, network is isolated so Go cannot contact sum.golang.org to verify modules not already in go.sum. Run go mod tidy to add the missing hash entries. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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. |
|
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)
📝 WalkthroughWalkthroughThis PR updates two Go module dependencies in ChangesDependency Updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 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 |
|
[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 |
|
@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. |
|
/hold |
Auto-fix by Konflux Agent
Original PR: #1669
Failed PipelineRun: lightspeed-operator-on-pull-request-hl46t
Root Cause
PR #1669 updated
go.modto bump two dependencies: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-f2248ac996afHowever,
go.sumwas not updated with the checksums for these new versions. In Konflux hermetic build mode, the network is fully isolated, so Go cannot contactsum.golang.orgto verify modules not already present ingo.sum. This caused bothbuild-images-0(linux/x86_64) andbuild-images-1(linux/arm64) to fail with:Changes
go mod tidyto add the missing hash entries togo.sumgo.sumchanged (1 file, 4 lines replaced — old hashes swapped for new hashes)go mod verifyconfirms all modules are now correctly checksummedValidation
go mod tidycompleted without errorsgo mod verifyreports "all modules verified"Auto-generated by konflux-agent. Please review carefully.
Summary by CodeRabbit