Skip to content

Add self update filter option#119

Draft
justinmir wants to merge 3 commits into
reddit:mainfrom
justinmir:snoocode/suppress-self-status-updates
Draft

Add self update filter option#119
justinmir wants to merge 3 commits into
reddit:mainfrom
justinmir:snoocode/suppress-self-status-updates

Conversation

@justinmir

@justinmir justinmir commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add an opt-in FSM builder option for ignoring primary-object updates that only change status/resourceVersion/managedFields.
  • Keep existing SDK behavior unchanged unless a controller calls WithIgnoreStatusOnlySelfUpdates().
  • Cover the default and opt-in predicate behavior in handler tests.

Add an opt-in FSM builder option that ignores primary-object update events when only status, resourceVersion, or managedFields changed. Leave existing SDK controller behavior unchanged unless a controller enables the option.

Built with Snoocode.
@justinmir justinmir force-pushed the snoocode/suppress-self-status-updates branch from cb6ce30 to 53b57c6 Compare June 15, 2026 19:28
@justinmir justinmir changed the title Filter status-only self updates Add self update filter option Jun 15, 2026
justinmir and others added 2 commits June 15, 2026 14:30
Keep the generated deepcopy file in the order produced by make generate under the CI Go 1.24 toolchain so the PR cleanliness check passes.

Built with Snoocode.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant