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

feat: Add evaluation details to finally hook stage #403 #423

Conversation

chrfwow
Copy link
Contributor

@chrfwow chrfwow commented Jan 28, 2025

This PR

Adds the evaluation details to the finally hook

Related Issues

Fixes #403

How to test

Please make sure the e2e tests work, especially the part with git submodule add --force https://github.com/open-feature/spec.git spec in pyproject.toml.

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>
Copy link

codecov bot commented Jan 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.55%. Comparing base (9c2ed71) to head (005007d).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #423      +/-   ##
==========================================
+ Coverage   97.54%   97.55%   +0.01%     
==========================================
  Files          31       31              
  Lines        1387     1393       +6     
==========================================
+ Hits         1353     1359       +6     
  Misses         34       34              
Flag Coverage Δ
unittests 97.55% <100.00%> (+0.01%) ⬆️

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.

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
Copy link
Contributor Author

chrfwow commented Jan 28, 2025

The code coverage report fails because one line is not covered by tests. However, this line should not be reachable and therefore cannot be tested easily. I only added it to make the linter happy.

@chrfwow chrfwow requested a review from gruebel January 29, 2025 09:49
Signed-off-by: christian.lutnik <christian.lutnik@dynatrace.com>
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 🍻

@gruebel
Copy link
Member

gruebel commented Jan 29, 2025

if there are no other objections, then I will merge end of week.

Copy link
Member

@toddbaert toddbaert left a comment

Choose a reason for hiding this comment

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

My Python is not great, but this looks spec compliant to me.

Copy link
Member

@lukas-reining lukas-reining left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@beeme1mr beeme1mr merged commit 9e9bb5c into open-feature:main Jan 30, 2025
15 checks passed
@chrfwow chrfwow deleted the Add-evaluation-details-to-finally-hook-stage-#403 branch January 31, 2025 06:16
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.

Add evaluation details to finally hook stage
5 participants