Skip to content

chore: changing error hook api to contain object #1525

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aepfli
Copy link
Member

@aepfli aepfli commented Jul 21, 2025

This is a fast demo of open-feature/spec#326

As errors in the flag evaluation do not have to be exceptions, this opens up improvements for flow control via error codes from the EvaluationDetails.

@aepfli aepfli force-pushed the demo/Errordetails_instead_of_exception branch from f4e94d4 to d717373 Compare July 21, 2025 15:54
@aepfli aepfli changed the title demo: changing error hook api to contain object chore: changing error hook api to contain object Jul 21, 2025
@aepfli aepfli force-pushed the demo/Errordetails_instead_of_exception branch from d717373 to ebcb5f4 Compare July 21, 2025 15:58
This is a fast demo of open-feature/spec#326

As errors in the flag evaluation do not have to be exceptions,
this opens up improvements for flow control via error codes
from the EvaluationDetails.

Signed-off-by: Simon Schrottner <[email protected]>
@aepfli aepfli force-pushed the demo/Errordetails_instead_of_exception branch from ebcb5f4 to ec55588 Compare July 21, 2025 16:26
Copy link

Copy link

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.31%. Comparing base (db47b7e) to head (ec55588).

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #1525      +/-   ##
============================================
+ Coverage     92.81%   93.31%   +0.49%     
- Complexity      486      491       +5     
============================================
  Files            46       47       +1     
  Lines          1169     1181      +12     
  Branches        103      102       -1     
============================================
+ Hits           1085     1102      +17     
+ Misses           54       49       -5     
  Partials         30       30              
Flag Coverage Δ
unittests 93.31% <100.00%> (+0.49%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant