Skip to content

chore(deps): update module github.com/hashicorp/golang-lru to v2#577

Open
red-hat-konflux[bot] wants to merge 1 commit into
masterfrom
konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x
Open

chore(deps): update module github.com/hashicorp/golang-lru to v2#577
red-hat-konflux[bot] wants to merge 1 commit into
masterfrom
konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
github.com/hashicorp/golang-lru v0.5.4v2.0.7 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

hashicorp/golang-lru (github.com/hashicorp/golang-lru)

v2.0.7: golang-lru 2.0.7

Compare Source

What's Changed

New Contributors

Full Changelog: hashicorp/golang-lru@v2.0.6...v2.0.7

v2.0.6: golang-lru 2.0.6

Compare Source

This release removes calling the eviction callback when the Add method is called with an item that is already in the cache (#​154); it reverts PR #​135 which caused issue #​141.

What's Changed

Full Changelog: hashicorp/golang-lru@v2.0.5...v2.0.6

v2.0.5: Add expirable LRU

Compare Source

This release adds an expirable LRU package.

v2.0.4: Add eviction callback on replace

Compare Source

This release encompasses #​135

v2.0.3: Add Values() and separate ARC

Compare Source

This release adds the Values() method on caches and removes ARC from the main module so that it does not need to be imported along with the rest of the module for those concerned around its patent status.

The code/API is the same, but is now found at github.com/hashicorp/golang-lru/arc/v2.

v2.0.2: Reduce memory usage

Compare Source

Minor fixes to reduce some memory usage

v2.0.1

Compare Source

v2.0.0: Generics

Compare Source

This release adds support for generics, and bumps the package version appropriately.

v1.0.2: Last release of v0/v1 code base

Compare Source

This release is the same as v0.6.0. It allows projects depending on the v0 code to upgrade safely to v1. This is the last release of v0/v1 code. Dependent projects should upgrade to v2.

v1.0.1: Pointer to v0/v2

This is a placeholder tag to instruct people to explicitly use v0 tags or use the v2 module.

v0.6.0: Tagging prior to v2

Compare Source

This is likely the last tag prior to the switch to generics and the v2 package.


Configuration

📅 Schedule: (in timezone UTC)

  • Branch creation
    • Between 02:00 AM and 04:59 AM, Monday through Friday (* 2-4 * * 1-5)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

To execute skipped test pipelines write comment /ok-to-test.


Documentation

Find out how to configure dependency updates in MintMaker documentation or see all available configuration options in Renovate documentation.

Summary by CodeRabbit

  • Chores
    • Updated a bundled dependency to a newer major version, which may include performance improvements, fixes, and compatibility updates.

@red-hat-konflux red-hat-konflux Bot added area/dependency Issues or PRs related to dependency changes major-update manual-review-required ok-to-test Indicates a non-member PR verified by an org member that is safe to test. labels Jun 23, 2026
@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown

Walkthrough

go.mod updates the indirect dependency github.com/hashicorp/golang-lru to github.com/hashicorp/golang-lru/v2 at version v2.0.7.

Changes

Module dependency update

Layer / File(s) Summary
Indirect dependency upgrade
go.mod
Replaces github.com/hashicorp/golang-lru v0.5.4 with github.com/hashicorp/golang-lru/v2 v2.0.7 as an indirect dependency.

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

🚥 Pre-merge checks | ✅ 15
✅ Passed checks (15 passed)
Check name Status Explanation
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.
Stable And Deterministic Test Names ✅ Passed Only go.mod changed; no test files or Ginkgo test titles were modified.
Test Structure And Quality ✅ Passed PASS: This PR only updates go.mod; no Ginkgo test files or test logic changed, so the test-structure checklist is not applicable.
Microshift Test Compatibility ✅ Passed Only go.mod changed; no new or modified Ginkgo e2e tests were added, so MicroShift compatibility is not implicated.
Single Node Openshift (Sno) Test Compatibility ✅ Passed Only go.mod changed; no Ginkgo/e2e tests were added or modified, so SNO compatibility is not implicated.
Topology-Aware Scheduling Compatibility ✅ Passed Only go.mod changed for a dependency bump; no deployment manifests, operator code, or controllers were modified, so no topology-aware scheduling risk was introduced.
Ote Binary Stdout Contract ✅ Passed Only go.mod changed; no main/init/TestMain/suite setup code or stdout logging was modified.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed PR only changes go.mod to bump golang-lru; no new or modified Ginkgo e2e tests or network code are present.
No-Weak-Crypto ✅ Passed Only go.mod changed to swap golang-lru v0.5.4→v2.0.7; repo search found no MD5/SHA1/DES/RC4/3DES/Blowfish/ECB, custom crypto, or secret compares.
Container-Privileges ✅ Passed PR only changes go.mod; repo scan found no container/K8s manifests with privileged settings, host* flags, SYS_ADMIN, or allowPrivilegeEscalation.
No-Sensitive-Data-In-Logs ✅ Passed Only go.mod changed to bump golang-lru; no source code or logging paths were modified, so no sensitive data exposure in logs.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: upgrading github.com/hashicorp/golang-lru to v2.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x

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

@openshift-ci openshift-ci Bot requested review from clcollins and zmird-r June 23, 2026 04:22
@openshift-ci

openshift-ci Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: red-hat-konflux[bot]
Once this PR has been reviewed and has the lgtm label, please assign clcollins 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

@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x branch from 5ebb928 to d0e7372 Compare June 26, 2026 04:18
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/hashicorp/golang-lru to v2 chore(deps): update module github.com/hashicorp/golang-lru to v2 - autoclosed Jul 5, 2026
@red-hat-konflux red-hat-konflux Bot closed this Jul 5, 2026
@red-hat-konflux red-hat-konflux Bot deleted the konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x branch July 5, 2026 16:08
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/hashicorp/golang-lru to v2 - autoclosed chore(deps): update module github.com/hashicorp/golang-lru to v2 Jul 7, 2026
@red-hat-konflux red-hat-konflux Bot reopened this Jul 7, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x branch 2 times, most recently from d0e7372 to eb88221 Compare July 7, 2026 04:19
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/hashicorp/golang-lru to v2 chore(deps): update module github.com/hashicorp/golang-lru to v2 - autoclosed Jul 7, 2026
@red-hat-konflux red-hat-konflux Bot closed this Jul 7, 2026
Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@red-hat-konflux red-hat-konflux Bot changed the title chore(deps): update module github.com/hashicorp/golang-lru to v2 - autoclosed chore(deps): update module github.com/hashicorp/golang-lru to v2 Jul 8, 2026
@red-hat-konflux red-hat-konflux Bot reopened this Jul 8, 2026
@red-hat-konflux red-hat-konflux Bot force-pushed the konflux/mintmaker/master/github.com-hashicorp-golang-lru-2.x branch from eb88221 to 9bc79f8 Compare July 8, 2026 04:12
@openshift-ci

openshift-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@red-hat-konflux[bot]: 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/validate 9bc79f8 link true /test validate
ci/prow/test eb88221 link true /test 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.

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

Labels

area/dependency Issues or PRs related to dependency changes major-update manual-review-required ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants