Skip to content

[konflux-agent] Fix: update go.sum for bumped dependencies (PR #1669)#1670

Closed
raptorsun wants to merge 2 commits into
openshift:mainfrom
raptorsun:konflux-agent/fix-pr1669-update-go-sum
Closed

[konflux-agent] Fix: update go.sum for bumped dependencies (PR #1669)#1670
raptorsun wants to merge 2 commits into
openshift:mainfrom
raptorsun:konflux-agent/fix-pr1669-update-go-sum

Conversation

@raptorsun
Copy link
Copy Markdown
Contributor

@raptorsun raptorsun commented May 29, 2026

Auto-fix by Konflux Agent

Original PR: #1669
Failed PipelineRun: lightspeed-operator-on-pull-request-hl46t

Root Cause

PR #1669 updated go.mod to bump two dependencies:

  • github.com/openshift/api: v0.0.0-20260420151639-34e60874783ev0.0.0-20260424174501-4f63a40a2970
  • google.golang.org/protobuf: v1.36.11v1.36.12-0.20260120151049-f2248ac996af

However, go.sum was not updated with the checksums for these new versions. In Konflux hermetic build mode, the network is fully isolated, so Go cannot contact sum.golang.org to verify modules not already present in go.sum. This caused both build-images-0 (linux/x86_64) and build-images-1 (linux/arm64) to fail with:

go: github.com/openshift/api@v0.0.0-20260424174501-4f63a40a2970: verifying go.mod: ...
Get "https://sum.golang.org/tile/8/1/837.p/69": dial tcp: ... network is unreachable

Changes

  • Ran go mod tidy to add the missing hash entries to go.sum
  • Only go.sum changed (1 file, 4 lines replaced — old hashes swapped for new hashes)
  • go mod verify confirms all modules are now correctly checksummed

Validation

  • go mod tidy completed without errors
  • go mod verify reports "all modules verified"
  • ✅ Diff is exactly 1 file, 8 lines (4 insertions + 4 deletions)

Auto-generated by konflux-agent. Please review carefully.

Summary by CodeRabbit

  • Chores
    • Updated project dependencies to latest compatible versions.

raptorsun and others added 2 commits May 29, 2026 17:19
Signed-off-by: Haoyu Sun <hasun@redhat.com>
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>
@openshift-ci openshift-ci Bot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 29, 2026
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 29, 2026

PR needs rebase.

Details

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 kubernetes-sigs/prow repository.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 29, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 946a7367-25f9-4a52-abd3-54aedbd7b3e6

📥 Commits

Reviewing files that changed from the base of the PR and between 057b4ed and 167d4aa.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum, !go.sum
📒 Files selected for processing (1)
  • go.mod

📝 Walkthrough

Walkthrough

This PR updates two Go module dependencies in go.mod: github.com/openshift/api is bumped to a newer commit-derived version, and google.golang.org/protobuf (indirect) is updated to a newer pre-release version. No other module settings or logic is affected.

Changes

Dependency Updates

Layer / File(s) Summary
OpenShift API and Protobuf dependencies
go.mod
github.com/openshift/api and google.golang.org/protobuf (indirect) are bumped to newer commit-derived versions.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • joshuawilson
  • xrajesh
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating go.sum for bumped dependencies. It directly corresponds to the core issue addressed in the PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
⚔️ Resolve merge conflicts
  • Resolve merge conflict in branch konflux-agent/fix-pr1669-update-go-sum

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci Bot requested review from blublinsky and xrajesh May 29, 2026 15:35
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 29, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign blublinsky for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 29, 2026

@raptorsun: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/bundle-e2e-4-21 167d4aa link true /test bundle-e2e-4-21
ci/prow/generate 167d4aa link true /test generate
ci/prow/fips-image-scan-operator 167d4aa link true /test fips-image-scan-operator
ci/prow/security 167d4aa link true /test security
ci/prow/images 167d4aa link true /test images
ci/prow/unit 167d4aa link true /test unit
ci/prow/ci-index-lightspeed-bundle-test 167d4aa link true /test ci-index-lightspeed-bundle-test

Full PR test history. Your PR dashboard.

Details

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 kubernetes-sigs/prow repository. I understand the commands that are listed here.

@raptorsun
Copy link
Copy Markdown
Contributor Author

/hold
test only

@openshift-ci openshift-ci Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 29, 2026
@raptorsun raptorsun closed this May 29, 2026
@raptorsun raptorsun deleted the konflux-agent/fix-pr1669-update-go-sum branch May 29, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant