Skip to content

improve: deprecate redundant ManagedInformerEventSource.getCachedValue#3196

Merged
csviri merged 2 commits intooperator-framework:nextfrom
csviri:redundat-informer-get
Mar 2, 2026
Merged

improve: deprecate redundant ManagedInformerEventSource.getCachedValue#3196
csviri merged 2 commits intooperator-framework:nextfrom
csviri:redundat-informer-get

Conversation

@csviri
Copy link
Collaborator

@csviri csviri commented Mar 2, 2026

Signed-off-by: Attila Mészáros a_meszaros@apple.com

Copilot AI review requested due to automatic review settings March 2, 2026 07:46
@openshift-ci openshift-ci bot requested review from metacosm and xstefank March 2, 2026 07:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR deprecates a redundant cache-access method on ManagedInformerEventSource, steering consumers toward the existing get(ResourceID) API.

Changes:

  • Mark getCachedValue(ResourceID) as deprecated (for removal) and document the preferred replacement (get(ResourceID)).

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

csviri and others added 2 commits March 2, 2026 08:55
…urce

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
…tor/processing/event/source/informer/ManagedInformerEventSource.java

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@csviri csviri force-pushed the redundat-informer-get branch from 473caa6 to 39851a8 Compare March 2, 2026 07:55
@metacosm metacosm changed the title improve: deprecating redundat get resource for ManagedInformerEventSource improve: deprecate redundant ManagedInformerEventSource.getCachedValue Mar 2, 2026
@csviri csviri merged commit 4453e4a into operator-framework:next Mar 2, 2026
26 of 29 checks passed
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.

3 participants