Skip to content

[konflux-agent] Fix: run go mod tidy to update go.sum (fixes PR #1669 Konflux build)#1671

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

[konflux-agent] Fix: run go mod tidy to update go.sum (fixes PR #1669 Konflux build)#1671
raptorsun wants to merge 2 commits into
openshift:mainfrom
raptorsun:konflux-agent/fix-pr1669-go-mod-tidy

Conversation

@raptorsun
Copy link
Copy Markdown
Contributor

Auto-fix by Konflux Agent

Original PR: #1669
Failed PipelineRun: lightspeed-operator-on-pull-request-hl46t (namespace: crt-nshift-lightspeed-tenant)

Root Cause

PR #1669 bumped two dependencies in go.mod but did not update go.sum:

Dependency Old Version New Version
github.com/openshift/api v0.0.0-20260420151639-34e60874783e v0.0.0-20260424174501-4f63a40a2970
google.golang.org/protobuf v1.36.11 v1.36.12-0.20260120151049-f2248ac996af

The Konflux hermetic build ran go mod download inside a network-isolated container. Without the checksum entries in go.sum, Go attempted to verify the new module versions by contacting sum.golang.org, which is unreachable in a hermetic environment — causing the build to fail with:

go: github.com/openshift/api@v0.0.0-20260424174501-4f63a40a2970: verifying go.mod: ... Get "https://sum.golang.org/...": network is unreachable

Changes

  • Ran go mod tidy on the PR branch to add the 4 missing checksum lines to go.sum
  • Only go.sum was modified (1 file, 4 insertions / 4 deletions)

Validation

  • go mod verify → all modules verified ✅
  • go build -tags exclude_graphdriver_btrfs ./... → clean build ✅

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

konflux-agent/retried-from: lightspeed-operator-on-pull-request-hl46t

raptorsun added 2 commits May 29, 2026 17:19
Signed-off-by: Haoyu Sun <hasun@redhat.com>
PR openshift#1669 bumped two dependencies in go.mod:
  - github.com/openshift/api v0.0.0-20260424174501-4f63a40a2970
  - google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af

But go.sum was not updated, causing the Konflux hermetic build to fail
when go mod download tried to verify checksums by contacting sum.golang.org
(unreachable in a hermetic environment).

Running go mod tidy adds the missing checksum entries.

konflux-agent/retried-from: lightspeed-operator-on-pull-request-hl46t
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 29, 2026

Warning

Review limit reached

@raptorsun, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 56 minutes. Learn how PR review limits work.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 707433e0-b6b8-4413-86b2-275ca0584e76

📥 Commits

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

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum, !go.sum
📒 Files selected for processing (1)
  • go.mod
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 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.

@openshift-ci openshift-ci Bot requested review from blublinsky and bparees May 29, 2026 15:41
@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 xrajesh 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/images f56f00b link true /test images
ci/prow/ci-index-lightspeed-bundle-test f56f00b link true /test ci-index-lightspeed-bundle-test
ci/prow/unit f56f00b link true /test unit
ci/prow/generate f56f00b link true /test generate
ci/prow/security f56f00b link true /test security
ci/prow/bundle-e2e-4-21 f56f00b link true /test bundle-e2e-4-21
ci/prow/fips-image-scan-operator f56f00b link true /test fips-image-scan-operator

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 raptorsun closed this May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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