René's URL Explorer Experiment


Title: EventFilterWindow suppresses mapper events when controller writes through shared InformerEventSource · Issue #3445 · operator-framework/java-operator-sdk · GitHub

Open Graph Title: EventFilterWindow suppresses mapper events when controller writes through shared InformerEventSource · Issue #3445 · operator-framework/java-operator-sdk

X Title: EventFilterWindow suppresses mapper events when controller writes through shared InformerEventSource · Issue #3445 · operator-framework/java-operator-sdk

Description: Description When a controller patches a secondary resource's status through its own InformerEventSource (via eventFilteringUpdateAndCacheResource), the EventFilterWindow correctly identifies the resulting informer event as an "own update...

Open Graph Description: Description When a controller patches a secondary resource's status through its own InformerEventSource (via eventFilteringUpdateAndCacheResource), the EventFilterWindow correctly identifies the re...

X Description: Description When a controller patches a secondary resource's status through its own InformerEventSource (via eventFilteringUpdateAndCacheResource), the EventFilterWindow correctly identifies th...

Opengraph URL: https://github.com/operator-framework/java-operator-sdk/issues/3445

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"EventFilterWindow suppresses mapper events when controller writes through shared InformerEventSource","articleBody":"## Description\n\nWhen a controller patches a secondary resource's status through its own `InformerEventSource` (via `eventFilteringUpdateAndCacheResource`), the `EventFilterWindow` correctly identifies the resulting informer event as an \"own update\" and suppresses it. However, this suppression also prevents the `SecondaryToPrimaryMapper` from ever seeing the updated resource state, which can leave the controller in a dead state.\n\n## Scenario\n\nA controller reconciles a primary resource and has an `InformerEventSource` for a secondary resource type. The mapper uses a generation/observedGeneration guard:\n\n- `generation != observedGeneration` → return empty set (secondary not ready, skip)\n- `generation == observedGeneration` → return primary ResourceID (secondary ready, trigger)\n\nDuring reconciliation the controller patches the secondary's `status.observedGeneration` to match `metadata.generation` through its `InformerEventSource`. The `EventFilterWindow` suppresses the resulting event as an own update. The mapper never sees `gen == obsGen`, so the controller is never re-triggered.\n\n## Expected behaviour\n\nThe status-change event should reach the mapper so it can evaluate the new state and trigger reconciliation of the primary.\n\n## Actual behaviour\n\nThe `EventFilterWindow` suppresses the event because its resource version matches `ownUpdateVersions`. The mapper never fires. The controller enters a dead state for that secondary resource.\n\n## Root cause\n\n`ManagedInformerEventSource.eventFilteringUpdateAndCacheResource` (line 96) opens a filter window, performs the update, records the response resource version as an \"own\" version, then closes the window. When the informer event arrives with that resource version, `EventFilterWindow.eventForRangeAndClear` (line 183) sees `events.keySet().equals(ownResourceVersions)` and returns `Optional.empty()` — the event is swallowed before it reaches `propagateEvent` and the mapper.\n\n## Impact\n\nThis affects any controller that:\n1. Writes to a secondary resource through its own `InformerEventSource` (directly or via a `KubernetesDependentResource` sharing the event source with `useEventSourceWithName`)\n2. Has a mapper that depends on seeing the result of that write\n\nThe pattern is common in controllers that manage secondary resources and use generation/observedGeneration guards to sequence reconciliation.\n\n## Reproducer\n\nBranch: `reproducer/status-event-filtering` — see `StatusEventFilteringIT` in `operator-framework/src/test/java/.../baseapi/statuseventfiltering/`\n\n## Downstream issue\n\nhttps://github.com/kroxylicious/kroxylicious/issues/4241\n\nHappy to look at a fix if the maintainers agree with the analysis.","author":{"url":"https://github.com/SamBarker","@type":"Person","name":"SamBarker"},"datePublished":"2026-06-29T05:35:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/3445/java-operator-sdk/issues/3445"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:25abca47-8a32-51a0-7088-7b66139927a1
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8D00:166C0A:4A9E694:68FC50B:6A56E8F2
html-safe-noncefb2dc1b41c8aeba76d86dc14298fcd657b68bdb5f5668657b7a8763a3849e563
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RDAwOjE2NkMwQTo0QTlFNjk0OjY4RkM1MEI6NkE1NkU4RjIiLCJ2aXNpdG9yX2lkIjoiNDMzNTYwNTM0NjMzMDkyOTM5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfe24c0d10d57c6798d8ed429e600ff42d6b091e6a8dcc2586517b5e736040dca
hovercard-subject-tagissue:4765326724
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/operator-framework/java-operator-sdk/3445/issue_layout
twitter:imagehttps://opengraph.githubassets.com/b1374c6c9638fef7c2621d6db26fa2f9e34e58d5089f56f40bba5f6fff87286e/operator-framework/java-operator-sdk/issues/3445
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b1374c6c9638fef7c2621d6db26fa2f9e34e58d5089f56f40bba5f6fff87286e/operator-framework/java-operator-sdk/issues/3445
og:image:altDescription When a controller patches a secondary resource's status through its own InformerEventSource (via eventFilteringUpdateAndCacheResource), the EventFilterWindow correctly identifies the re...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSamBarker
hostnamegithub.com
expected-hostnamegithub.com
None5220a278731283038daf0ed00b41f06ef7ff9539020ecc806c5c5a0fb6bda25a
turbo-cache-controlno-preview
go-importgithub.com/operator-framework/java-operator-sdk git https://github.com/operator-framework/java-operator-sdk.git
octolytics-dimension-user_id38202270
octolytics-dimension-user_loginoperator-framework
octolytics-dimension-repository_id188592933
octolytics-dimension-repository_nwooperator-framework/java-operator-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id188592933
octolytics-dimension-repository_network_root_nwooperator-framework/java-operator-sdk
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8684ae1a81cd3e4ef219b241179982bbda1a5b1f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/operator-framework/java-operator-sdk/issues/3445#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foperator-framework%2Fjava-operator-sdk%2Fissues%2F3445
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Foperator-framework%2Fjava-operator-sdk%2Fissues%2F3445
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=operator-framework%2Fjava-operator-sdk
Reloadhttps://github.com/operator-framework/java-operator-sdk/issues/3445
Reloadhttps://github.com/operator-framework/java-operator-sdk/issues/3445
Reloadhttps://github.com/operator-framework/java-operator-sdk/issues/3445
Please reload this pagehttps://github.com/operator-framework/java-operator-sdk/issues/3445
operator-framework https://github.com/operator-framework
java-operator-sdkhttps://github.com/operator-framework/java-operator-sdk
Notifications https://github.com/login?return_to=%2Foperator-framework%2Fjava-operator-sdk
Fork 241 https://github.com/login?return_to=%2Foperator-framework%2Fjava-operator-sdk
Star 934 https://github.com/login?return_to=%2Foperator-framework%2Fjava-operator-sdk
Code https://github.com/operator-framework/java-operator-sdk
Issues 69 https://github.com/operator-framework/java-operator-sdk/issues
Pull requests 16 https://github.com/operator-framework/java-operator-sdk/pulls
Discussions https://github.com/operator-framework/java-operator-sdk/discussions
Actions https://github.com/operator-framework/java-operator-sdk/actions
Projects https://github.com/operator-framework/java-operator-sdk/projects
Security and quality 0 https://github.com/operator-framework/java-operator-sdk/security
Insights https://github.com/operator-framework/java-operator-sdk/pulse
Code https://github.com/operator-framework/java-operator-sdk
Issues https://github.com/operator-framework/java-operator-sdk/issues
Pull requests https://github.com/operator-framework/java-operator-sdk/pulls
Discussions https://github.com/operator-framework/java-operator-sdk/discussions
Actions https://github.com/operator-framework/java-operator-sdk/actions
Projects https://github.com/operator-framework/java-operator-sdk/projects
Security and quality https://github.com/operator-framework/java-operator-sdk/security
Insights https://github.com/operator-framework/java-operator-sdk/pulse
EventFilterWindow suppresses mapper events when controller writes through shared InformerEventSourcehttps://github.com/operator-framework/java-operator-sdk/issues/3445#top
https://github.com/SamBarker
SamBarkerhttps://github.com/SamBarker
on Jun 29, 2026https://github.com/operator-framework/java-operator-sdk/issues/3445#issue-4765326724
kroxylicious/kroxylicious#4241https://github.com/kroxylicious/kroxylicious/issues/4241
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.