Skip to content

Update module github.com/hashicorp/golang-lru to v2 - #50

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

Update module github.com/hashicorp/golang-lru to v2#50
red-hat-konflux[bot] wants to merge 1 commit into
mainfrom
konflux/mintmaker/main/github.com-hashicorp-golang-lru-2.x

Conversation

@red-hat-konflux

@red-hat-konflux red-hat-konflux Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

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

Warning

Some dependencies could not be looked up. Check the warning logs 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.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • 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.

Signed-off-by: red-hat-konflux <126015336+red-hat-konflux[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Jul 30, 2026

Copy link
Copy Markdown
📝 Walkthrough

Walkthrough

Changes

Dependency update

Layer / File(s) Summary
Update indirect LRU requirement
cmd/otelcol-lightspeed/go.mod
Replaces the indirect github.com/hashicorp/golang-lru v1.0.2 requirement with github.com/hashicorp/golang-lru/v2 v2.0.7.

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

Suggested reviewers: blublinsky

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 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.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely describes the dependency update from github.com/hashicorp/golang-lru to version 2.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch konflux/mintmaker/main/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 joshuawilson and onmete July 30, 2026 08:16
@openshift-ci

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown

[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

openshift-ci Bot commented Jul 30, 2026

Copy link
Copy Markdown

@red-hat-konflux[bot]: all tests passed!

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants