◐ Shell
clean mode source ↗

fix: revert breaking constructor change in InformerConfiguration by xstefank · Pull Request #3361 · operator-framework/java-operator-sdk

Skip to content

Navigation Menu

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

csviri

merged 1 commit into

May 18, 2026

Conversation

Signed-off-by: xstefank <xstefank122@gmail.com>

Copilot AI review requested due to automatic review settings

May 18, 2026 12:12

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 restores a previously removed constructor parameter on InformerConfiguration to undo a breaking API/signature change and updates the copy-builder path accordingly.

Changes:

  • Reintroduces the ghostResourceCacheCheckInterval parameter in the protected InformerConfiguration constructor (marked inline as slated for removal).
  • Updates builder(InformerConfiguration<R> original) to pass a value (null) for the reintroduced parameter.

Comment on lines 71 to 75

FieldSelector fieldSelector,
Boolean comparableResourceVersions) {
Boolean comparableResourceVersions,
// TODO for removal in major release
Duration ghostResourceCacheCheckInterval) {
this(resourceClass);

Comment on lines 120 to +124

original.itemStore,
original.informerListLimit,
original.fieldSelector,
original.comparableResourceVersions)
original.comparableResourceVersions,
null)

@csviri

Do we really need this, also on protected constructor?
what is the main reason behind this?

@xstefank

It breaks QOSDK. And it is a public API. Users can also extend it and call the constructor. Not possible to do this in micro release.

csviri

3 participants

@xstefank @csviri