Skip to content

feat: add support for flagd flag metadata #215

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

Merged
merged 34 commits into from
Mar 25, 2025

Conversation

chrfwow
Copy link
Contributor

@chrfwow chrfwow commented Mar 18, 2025

This PR

Adds support for flag and flag set metadata in flagd

Related Issues

Fixes #119

Waiting for open-feature/flagd-testbed#242

Follow-up Tasks

I will open a PR for additional e2e tests in the flagd testbed

Copy link

codecov bot commented Mar 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.99%. Comparing base (9bf2e42) to head (d99ad2f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #215      +/-   ##
==========================================
- Coverage   94.00%   93.99%   -0.01%     
==========================================
  Files          18       18              
  Lines         950      983      +33     
==========================================
+ Hits          893      924      +31     
- Misses         57       59       +2     

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

chrfwow added 25 commits March 18, 2025 11:15
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
@chrfwow chrfwow marked this pull request as ready for review March 21, 2025 08:35
@chrfwow chrfwow requested a review from a team as a code owner March 21, 2025 08:35
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Copy link
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 this looks really cool, especially the extension of our gherkin tests.

@gruebel I do not have any power here, would you do us the honor of a review please ;)

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.

nice work 🍻 just string formatting needs a some adjustments. don't forget to run ruff locally, will probably result in slight different line breaks.

chrfwow and others added 6 commits March 25, 2025 13:28
…rovider/flagd/resolvers/process/flags.py

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
Signed-off-by: chrfwow <christian.lutnik@dynatrace.com>
…rovider/flagd/resolvers/process/flags.py

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
Signed-off-by: chrfwow <christian.lutnik@dynatrace.com>
…rovider/flagd/resolvers/process/flags.py

Co-authored-by: Anton Grübel <anton.gruebel@gmail.com>
Signed-off-by: chrfwow <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
@gruebel gruebel merged commit 6dc72c0 into open-feature:main Mar 25, 2025
22 checks passed
@chrfwow chrfwow deleted the flag-metadata branch March 25, 2025 13:02
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.

[flagd] Update in-process resolver to support flag metadata
3 participants