Skip to content

next (5.3 do not merge) #3074

Open
csviri wants to merge 22 commits intomainfrom
next
Open

next (5.3 do not merge) #3074
csviri wants to merge 22 commits intomainfrom
next

Conversation

@csviri
Copy link
Collaborator

@csviri csviri commented Dec 1, 2025

No description provided.

@openshift-ci openshift-ci bot requested review from metacosm and xstefank December 1, 2025 10:17
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 4, 2025
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Dec 12, 2025
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 15, 2026
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 15, 2026
@openshift-merge-robot openshift-merge-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jan 25, 2026
@openshift-merge-robot openshift-merge-robot added needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. and removed needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Feb 4, 2026
csviri and others added 16 commits February 16, 2026 10:09
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
simplified the javadoc

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Chris Laprun <metacosm@gmail.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
- Adds utility that provides methods to update resources using comparable resource versions
- Integrates this utility to the core of the framework (thus simplifying `ReconciliationDispatcher`)
  -  note that this introduces a change in the behavior for the `UpdateControl.patchStatus` (and others), since it won't trigger the reconiliation for the event in that update.
-  Renames former `ReconcilerUtils` to `ReconcilerUtilsInternal`, this is breaking but that utils was never advertised for non-internal usage 
- Includes also fixes for ControllerEventSource event filtering
- Improves TemporaryResourceCache event filtering algorithm

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: Steve Hawkins <shawkins@redhat.com>
)

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
This should not be user facing. At least not in any obvious scenerio.

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
…om Context (#3142)

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Chris Laprun <metacosm@gmail.com>
#3146)

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
metacosm and others added 4 commits February 16, 2026 10:10
)

Signed-off-by: Chris Laprun <metacosm@gmail.com>
Co-authored-by: Attila Mészáros <a_meszaros@apple.com>
* refactor: avoid creating intermediate collections when unneeded

Also use constant filters and collectors

Signed-off-by: Chris Laprun <metacosm@gmail.com>

* fix: incorrect test

Signed-off-by: Chris Laprun <metacosm@gmail.com>

---------

Signed-off-by: Chris Laprun <metacosm@gmail.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
)

* improve: prepare for removal of exitOnStopLeading from public API

Signed-off-by: Chris Laprun <metacosm@gmail.com>

* fix: missed deprecated annotation

[skip ci]

Signed-off-by: Chris Laprun <metacosm@gmail.com>

---------

Signed-off-by: Chris Laprun <metacosm@gmail.com>
Copilot AI review requested due to automatic review settings February 16, 2026 09:11
@openshift-merge-robot openshift-merge-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Feb 16, 2026
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 pull request bumps the version from 5.2.4-SNAPSHOT to 5.3.0-SNAPSHOT and introduces significant architectural improvements to event filtering and resource caching mechanisms. The changes include renaming the JUnit module, refactoring internal utility classes, and implementing a new event filtering approach based on comparable resource versions.

Changes:

  • Version bump across all modules from 5.2.4-SNAPSHOT to 5.3.0-SNAPSHOT
  • Renamed operator-framework-junit-5 module to operator-framework-junit
  • Refactored ReconcilerUtils to ReconcilerUtilsInternal and deprecated old utility methods
  • Implemented new event filtering mechanism using comparable resource versions
  • Added ResourceOperations API for simplified resource manipulation
  • Introduced deduplication support for secondary resources in Context

Reviewed changes

Copilot reviewed 129 out of 141 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pom.xml files Version bump to 5.3.0-SNAPSHOT across all modules
operator-framework-junit/ Module rename and new test infrastructure classes
ReconcilerUtilsInternal.java Renamed from ReconcilerUtils with new resource version comparison methods
TemporaryResourceCache.java Complete rewrite of event filtering logic using resource version comparison
Context.java Added deduplication support and ResourceOperations
sample-operators/webpage/ Updated to use new APIs with critical bugs introduced
Various test files Updated expectations and added new test scenarios

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

// wait until both informers see the config map
return UpdateControl.noUpdate();
}
// makes sure that distinc config maps returned
Copy link

Copilot AI Feb 16, 2026

Choose a reason for hiding this comment

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

There's a typo in the comment - "distinc" should be "distinct".

Copilot uses AI. Check for mistakes.
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.

4 participants

Comments