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

fix: Fix ArgumentOutOfRangeException for empty hooks #187

Merged
merged 2 commits into from
Jan 17, 2024

Conversation

austindrenski
Copy link
Member

Stumbled into this one while working on #186 (while working on #181).

See: dotnet/runtime#62121, dotnet/runtime#62126

@austindrenski austindrenski requested a review from a team as a code owner January 17, 2024 14:26
@austindrenski
Copy link
Member Author

Confirmed failure in CI (as expected):

image

Copy link

codecov bot commented Jan 17, 2024

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (a6062fe) 94.73% compared to head (db49121) 94.11%.

Files Patch % Lines
src/OpenFeature/OpenFeatureClient.cs 54.54% 2 Missing and 3 partials ⚠️
src/OpenFeature/Api.cs 81.81% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #187      +/-   ##
==========================================
- Coverage   94.73%   94.11%   -0.63%     
==========================================
  Files          23       23              
  Lines         931      951      +20     
  Branches       93      101       +8     
==========================================
+ Hits          882      895      +13     
- Misses         29       32       +3     
- Partials       20       24       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@austindrenski
Copy link
Member Author

Confirmed patch success in CI (as expected):

image

austindrenski added a commit to austindrenski/open-feature-dotnet-sdk that referenced this pull request Jan 17, 2024
austindrenski added a commit to austindrenski/open-feature-dotnet-sdk that referenced this pull request Jan 17, 2024
Copy link
Member

@askpt askpt left a comment

Choose a reason for hiding this comment

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

LGTM!

@toddbaert toddbaert merged commit 950775b into open-feature:main Jan 17, 2024
9 of 11 checks passed
@austindrenski austindrenski deleted the no-op-push-pop branch January 17, 2024 18:49
austindrenski added a commit to austindrenski/open-feature-dotnet-sdk that referenced this pull request Jan 17, 2024
@austindrenski austindrenski self-assigned this Jan 18, 2024
austindrenski added a commit to austindrenski/open-feature-dotnet-sdk that referenced this pull request Jan 19, 2024
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.

3 participants