Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: eventing configuration setup #605

Merged
merged 3 commits into from
Apr 13, 2023

Conversation

Kavindu-Dodan
Copy link
Contributor

This PR

Fixes #603

The root cause of the bug was an incorrect configuration setup. This PR corrects this and performs a refactoring to avoid any such confusion and occurrences.

A minimal unit test is added to validate notify behavior

@Kavindu-Dodan Kavindu-Dodan requested a review from a team as a code owner April 12, 2023 21:26
Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan Kavindu-Dodan force-pushed the fix/eventing-configurations branch from 5775362 to 00326c6 Compare April 12, 2023 21:27
@codecov
Copy link

codecov bot commented Apr 12, 2023

Codecov Report

Merging #605 (e5071a0) into main (77664cd) will increase coverage by 0.60%.
The diff coverage is 75.92%.

@@            Coverage Diff             @@
##             main     #605      +/-   ##
==========================================
+ Coverage   71.05%   71.66%   +0.60%     
==========================================
  Files          22       23       +1     
  Lines        2277     2287      +10     
==========================================
+ Hits         1618     1639      +21     
+ Misses        594      583      -11     
  Partials       65       65              
Impacted Files Coverage Δ
core/pkg/runtime/from_config.go 58.62% <0.00%> (ø)
core/pkg/runtime/runtime.go 0.00% <0.00%> (ø)
core/pkg/service/flag-evaluation/flag_evaluator.go 69.07% <57.14%> (+1.25%) ⬆️
...ore/pkg/service/flag-evaluation/connect_service.go 70.80% <100.00%> (+4.62%) ⬆️
core/pkg/service/flag-evaluation/eventing.go 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Signed-off-by: Kavindu Dodanduwa <kavindudodanduwa@gmail.com>
@Kavindu-Dodan Kavindu-Dodan force-pushed the fix/eventing-configurations branch from 3c41fc8 to 843af97 Compare April 12, 2023 22:58
Copy link
Member

@thisthat thisthat left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@bacherfl bacherfl left a comment

Choose a reason for hiding this comment

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

nice work, lgtm

@beeme1mr beeme1mr merged commit edfbe51 into open-feature:main Apr 13, 2023
@github-actions github-actions bot mentioned this pull request Apr 13, 2023
@github-actions github-actions bot mentioned this pull request Dec 2, 2023
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] Changes in observed FeatureFlagConfigs are not propagated to the EventStream with v0.5.0
5 participants