Skip to content

🌱 Bump github.com/go-logr/logr from 1.4.3 to 1.4.4 - #2856

Open
tmshort wants to merge 1 commit into
mainfrom
bump-go-logr-logr-1.4.4
Open

🌱 Bump github.com/go-logr/logr from 1.4.3 to 1.4.4#2856
tmshort wants to merge 1 commit into
mainfrom
bump-go-logr-logr-1.4.4

Conversation

@tmshort

@tmshort tmshort commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Why #2847 was failing

The TestSetupLogErrorCheck test uses the analysistest framework to compile testdata/main.go, which imports github.com/go-logr/logr. The testdata has its own go.mod that was pinned to v1.4.3. CI runs with GOPROXY=off, so when the root module was bumped to v1.4.4 the CI module cache no longer had v1.4.3, causing the import to fail with could not import github.com/go-logr/logr (invalid package name: "").

Closes #2847.

Test plan

  • unit-test-basic CI passes

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated the logging dependency to version 1.4.4.
    • Aligned the dependency version used in development and validation tooling.

Copilot AI lite review requested due to automatic review settings August 6, 2026 20:11
@openshift-ci
openshift-ci Bot requested review from dtfranz and pedjak August 6, 2026 20:11
@netlify

netlify Bot commented Aug 6, 2026

Copy link
Copy Markdown

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 7813eb4
🔍 Latest deploy log https://app.netlify.com/projects/olmv1/deploys/6a75562a89c2ee0008db27e4
😎 Deploy Preview https://deploy-preview-2856--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: f85c5f13-fc07-408d-b4ae-4485ec211d8b

📥 Commits

Reviewing files that changed from the base of the PR and between be1115e and 7813eb4.

⛔ Files ignored due to path filters (2)
  • go.sum is excluded by !**/*.sum
  • hack/ci/custom-linters/analyzers/testdata/go.sum is excluded by !**/*.sum
📒 Files selected for processing (2)
  • go.mod
  • hack/ci/custom-linters/analyzers/testdata/go.mod

📝 Walkthrough

Walkthrough

The PR updates github.com/go-logr/logr from v1.4.3 to v1.4.4 in the main module and custom-linter test module.

Changes

logr dependency update

Layer / File(s) Summary
Align logr module versions
go.mod, hack/ci/custom-linters/analyzers/testdata/go.mod
Both Go module files now require github.com/go-logr/logr v1.4.4.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

Suggested reviewers: rashmigottipati, copilot, dtfranz

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the dependency update and uses the required seedling prefix.
Description check ✅ Passed The description explains the dependency updates, CI failure, motivation, issue reference, and test plan; the omitted checklist is non-critical.
Linked Issues check ✅ Passed The PR updates github.com/go-logr/logr to v1.4.4 in both the root and nested modules required by issue #2847.
Out of Scope Changes check ✅ Passed The changes are limited to the requested dependency updates in the root and nested testdata modules.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch bump-go-logr-logr-1.4.4

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.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2026
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: rashmigottipati
Once this PR has been reviewed and has the lgtm label, please assign kevinrizza 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

@tmshort
tmshort force-pushed the bump-go-logr-logr-1.4.4 branch from 5094a34 to a4f66f6 Compare August 6, 2026 20:13
@openshift-ci openshift-ci Bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2026
@openshift-ci

openshift-ci Bot commented Aug 6, 2026

Copy link
Copy Markdown

New changes are detected. LGTM label has been removed.

@tmshort tmshort added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Bumps github.com/go-logr/logr to v1.4.4 in both the root module and the nested hack/ci/custom-linters/analyzers/testdata/ module to resolve CI failures caused by GOPROXY=off and a stale pinned version in analyzer testdata.

Changes:

  • Update root go.mod to require github.com/go-logr/logr v1.4.4
  • Update nested testdata/go.mod to require github.com/go-logr/logr v1.4.4
  • Add corresponding v1.4.4 checksums to both root and nested go.sum

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated no comments.

File Description
go.mod Updates root module dependency on github.com/go-logr/logr to v1.4.4.
go.sum Adds v1.4.4 sums for github.com/go-logr/logr in the root module.
hack/ci/custom-linters/analyzers/testdata/go.mod Updates the nested testdata module to github.com/go-logr/logr v1.4.4 to align with CI cache availability.
hack/ci/custom-linters/analyzers/testdata/go.sum Adds v1.4.4 sums for github.com/go-logr/logr in the nested testdata module.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copilot AI review requested due to automatic review settings August 6, 2026 20:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Also updates the nested testdata module so unit tests pass with GOPROXY=off.
Replaces dependabot PR #2847 which only updated the root module.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Todd Short <tshort@redhat.com>
Copilot AI review requested due to automatic review settings August 7, 2026 03:51
@tmshort
tmshort force-pushed the bump-go-logr-logr-1.4.4 branch from a4f66f6 to 7813eb4 Compare August 7, 2026 03:51

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 4 changed files in this pull request and generated no new comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants