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

chore(flagd): Add sync metadata disabled #211

Merged
merged 3 commits into from
Mar 12, 2025

Conversation

cupofcat
Copy link
Contributor

This PR

  • Adds option which disables GetMetadata call

Related Issues

Notes

GetMetadata call was recently added in #195. This is potentially breaking for server implementations that don't support metadata. As such, this PR is a temporary stop-gap for such implementations, and it will be removed when metadata is deprecated with the completion of the above issue.

There's no need to implement this in all languages, we'll do it at maintainer discretion according to user need.

This is similar to recently added option in the Java SDK: open-feature/java-sdk-contrib#1267

CC: @toddbaert @aepfli @gruebel

Signed-off-by: Maks Osowski <maks@google.com>
…mplexity pre-commit

Signed-off-by: Maks Osowski <maks@google.com>
@cupofcat cupofcat requested a review from a team as a code owner March 12, 2025 17:04
Copy link

codecov bot commented Mar 12, 2025

Codecov Report

Attention: Patch coverage is 85.71429% with 2 lines in your changes missing coverage. Please review.

Project coverage is 93.90%. Comparing base (345e793) to head (b742d8d).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
.../flagd/resolvers/process/connector/grpc_watcher.py 84.61% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #211      +/-   ##
==========================================
- Coverage   93.96%   93.90%   -0.07%     
==========================================
  Files          18       18              
  Lines         945      952       +7     
==========================================
+ Hits          888      894       +6     
- Misses         57       58       +1     

☔ 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.

Copy link
Member

@gruebel gruebel left a comment

Choose a reason for hiding this comment

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

Thanks, just one small thing

…rovider/flagd/config.py

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
Signed-off-by: cupofcat <maks@google.com>
@gruebel gruebel merged commit 2f85057 into open-feature:main Mar 12, 2025
20 of 22 checks passed
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.

4 participants