Skip to content

fix: Domain client event handlers no longer disappear#1922

Open
man85 wants to merge 2 commits intoopen-feature:mainfrom
man85:fix/issues-1919-provider-event-handlers-disappearing
Open

fix: Domain client event handlers no longer disappear#1922
man85 wants to merge 2 commits intoopen-feature:mainfrom
man85:fix/issues-1919-provider-event-handlers-disappearing

Conversation

@man85
Copy link
Copy Markdown

@man85 man85 commented Apr 2, 2026

This PR

  • fixes disappearing of Domain client event handlers

Related Issues

Fixes #1919

Notes

Follow-up Tasks

How to test

@man85 man85 requested review from a team as code owners April 2, 2026 17:53
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates EventSupport.java to return a new HashSet of domain names and adds a test case to OpenFeatureAPITest.java to ensure that configuration change events are correctly handled for both domainless and domain-specific providers. A review comment correctly identified that a TODO suggestion in the code regarding Set.copyOf was misleading, as the caller requires a mutable set to perform removeAll operations without triggering an UnsupportedOperationException.

@man85 man85 changed the title ISSUE-1919 Fixed: Domain client event handlers no longer disappear fix: ISSUE-1919 Domain client event handlers no longer disappear Apr 2, 2026
@man85 man85 force-pushed the fix/issues-1919-provider-event-handlers-disappearing branch from 1a71f09 to 701c7b8 Compare April 2, 2026 17:59
@man85 man85 force-pushed the fix/issues-1919-provider-event-handlers-disappearing branch from 701c7b8 to 9b3ce4a Compare April 3, 2026 05:06
@man85 man85 force-pushed the fix/issues-1919-provider-event-handlers-disappearing branch from 156009d to e4fcbe8 Compare April 6, 2026 18:27
@beeme1mr beeme1mr changed the title fix: ISSUE-1919 Domain client event handlers no longer disappear fix: Domain client event handlers no longer disappear Apr 6, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.26%. Comparing base (f2f7df7) to head (f9bd55e).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1922      +/-   ##
============================================
+ Coverage     92.25%   93.26%   +1.00%     
- Complexity      653      656       +3     
============================================
  Files            59       59              
  Lines          1589     1589              
  Branches        179      179              
============================================
+ Hits           1466     1482      +16     
+ Misses           76       62      -14     
+ Partials         47       45       -2     
Flag Coverage Δ
unittests 93.26% <100.00%> (+1.00%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@man85 man85 force-pushed the fix/issues-1919-provider-event-handlers-disappearing branch from e4fcbe8 to f9bd55e Compare April 7, 2026 06:01
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 7, 2026

Copy link
Copy Markdown
Member

@aepfli aepfli left a comment

Choose a reason for hiding this comment

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

Thank you for catching and fixing this.

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.

BUG: Provider event handlers are disappearing

3 participants