Skip to content

chore: move startServer functions into errGroups#566

Merged
beeme1mr merged 6 commits intoopen-feature:mainfrom
bacherfl:chore/refactor-server-setup
Mar 31, 2023
Merged

chore: move startServer functions into errGroups#566
beeme1mr merged 6 commits intoopen-feature:mainfrom
bacherfl:chore/refactor-server-setup

Conversation

@bacherfl
Copy link
Copy Markdown
Contributor

This PR is a follow up of #554 to make use of errGroups for starting the server and metrics server of the flag evaluation component, as discussed in #554 (comment)

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 27, 2023

Codecov Report

Merging #566 (29df55f) into main (898a820) will increase coverage by 0.10%.
The diff coverage is 63.15%.

@@            Coverage Diff             @@
##             main     #566      +/-   ##
==========================================
+ Coverage   70.81%   70.91%   +0.10%     
==========================================
  Files          21       21              
  Lines        2162     2187      +25     
==========================================
+ Hits         1531     1551      +20     
- Misses        574      577       +3     
- Partials       57       59       +2     
Impacted Files Coverage Δ
...ore/pkg/service/flag-evaluation/connect_service.go 66.17% <63.15%> (+3.11%) ⬆️

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

@bacherfl bacherfl marked this pull request as ready for review March 27, 2023 09:38
@bacherfl bacherfl requested a review from a team March 27, 2023 09:38
Copy link
Copy Markdown
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 only a minor NIT

Comment thread core/pkg/service/flag-evaluation/connect_service.go Outdated
@bacherfl bacherfl force-pushed the chore/refactor-server-setup branch from 4647466 to d6af957 Compare March 28, 2023 13:22
@Kavindu-Dodan
Copy link
Copy Markdown
Contributor

Kavindu-Dodan commented Mar 28, 2023

Looks good and this makes things clear.

Please fix the lint issue :)

hint - make lint locally to validate locally

Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
Signed-off-by: Florian Bacher <florian.bacher@dynatrace.com>
@thisthat thisthat force-pushed the chore/refactor-server-setup branch from cf3dc3f to fa6690e Compare March 30, 2023 11:13
@beeme1mr beeme1mr merged commit 0223c23 into open-feature:main Mar 31, 2023
@github-actions github-actions Bot mentioned this pull request Mar 31, 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.

5 participants