You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Dennis-Mircea (via GitHub)" <gi...@apache.org> on 2026/06/19 10:02:31 UTC

[PR] [hotfix][api] Remove unused Diffable markers from spec/status types [flink-kubernetes-operator]

Dennis-Mircea opened a new pull request, #1142:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1142

   ## What is the purpose of the change
   
   `Diffable` is a marker interface that `ReflectiveDiffBuilder` consults only to decide whether to recurse into a **nested** field (`Diffable.class.isAssignableFrom(field.getType())`). The root object of a diff is always processed unconditionally, so a root type's `Diffable`-ness is never checked.
   
   This change removes those unused markers so `Diffable` only appears where the engine actually uses it.
   
   ## Brief change log
   
     - Removed `implements Diffable<...>` and the now-unused `Diffable` import from `AbstractFlinkSpec`.
     - Removed the same from `FlinkStateSnapshotSpec` and `FlinkStateSnapshotStatus`.
     - Kept `Diffable` on `JobSpec` and `TaskManagerSpec`, the nested fields the diff engine genuinely recurses into.
   
   ## Verifying this change
   
   This change is already covered by existing tests, all of them passing already with this new change.
   
   ## Does this pull request potentially affect one of the following parts:
   
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changes to the `CustomResourceDescriptors`: no (`Diffable` is an internal marker interface, not serialized; no CRD/schema impact)
     - Core observer or reconciler logic that is regularly executed: no (diff behavior is unchanged)
   
   ## Documentation
   
     - Does this pull request introduce a new feature? no
     - If yes, how is the feature documented? not applicable


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [hotfix][api] Remove unused Diffable markers from spec/status types [flink-kubernetes-operator]

Posted by "gyfora (via GitHub)" <gi...@apache.org>.
gyfora merged PR #1142:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1142


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@flink.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org