Skip to content

[konflux-agent] Fix: update go.sum for bumped dependency versions in PR #1669#1672

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 dependency versions in PR #1669#1672
raptorsun wants to merge 2 commits into
openshift:mainfrom
raptorsun:konflux-agent/fix-pr1669-update-go-sum

Conversation

@raptorsun
Copy link
Copy Markdown
Contributor

Auto-fix by Konflux Agent

Original PR: #1669
Failed PipelineRun: lightspeed-operator-on-pull-request-hl46t (and retry lightspeed-operator-on-pull-request-tpnjt)

Root Cause

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

  • 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

Because go.sum lacked checksum entries for the new versions, the hermetic Konflux build's Dockerfile step:
```
RUN . /cachi2/cachi2.env && go mod download
```
failed with:
```
missing go.sum entry for module providing package github.com/openshift/api/config/v1
```

Both build-images matrix tasks (linux/x86_64 and linux/arm64) failed, causing 13 downstream tasks to be skipped.

Changes

Ran go mod tidy to update go.sum with correct checksums for the two new dependency versions.

  • Files changed: 1 (go.sum)
  • Lines changed: 8 (4 insertions, 4 deletions — exact checksum replacements)

Validation

  • go mod tidy completed with no errors
  • ✅ Confirmed go.sum now contains entries for both new versions
  • ✅ Verified original branch fails with missing go.sum entry error; fix branch does not

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

raptorsun added 2 commits May 29, 2026 17:19
Signed-off-by: Haoyu Sun <hasun@redhat.com>
go.sum was missing checksum entries for the two dependency versions
introduced in go.mod:
  - github.com/openshift/api v0.0.0-20260424174501-4f63a40a2970
  - google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af

Without these entries the hermetic build's 'go mod download' step
fails with 'missing go.sum entry', causing both build-images matrix
tasks to fail and the entire Konflux PipelineRun to fail.

Fix: run 'go mod tidy' to populate go.sum with the correct checksums.

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 50 minutes and 4 seconds. 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: c11c2707-873b-48e0-a45f-a07c653a8e30

📥 Commits

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

⛔ 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 xrajesh May 29, 2026 15:46
@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 joshuawilson 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/generate dc5d5f3 link true /test generate
ci/prow/security dc5d5f3 link true /test security
ci/prow/ci-index-lightspeed-bundle-test dc5d5f3 link true /test ci-index-lightspeed-bundle-test
ci/prow/unit dc5d5f3 link true /test unit
ci/prow/bundle-e2e-4-21 dc5d5f3 link true /test bundle-e2e-4-21
ci/prow/fips-image-scan-operator dc5d5f3 link true /test fips-image-scan-operator
ci/prow/images dc5d5f3 link true /test images

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