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 Configuration GRPC calls not sending metadata #571

Merged
merged 2 commits into from
Feb 12, 2024

Conversation

tlund101
Copy link
Contributor

@tlund101 tlund101 commented Feb 9, 2024

Description

When sending a request for Configurations from Azure App Config, the call would silently drop the metadata that was sent with it. This would cause keys to be returned only if they had no labels on them when specified.

Having some unrelated errors preventing my local tests from running, though I did validate the change with the app that created this issue. Let me know if I'm missing a spot that should also be updated, as I'm new to this codebase.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #570

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@tlund101 tlund101 requested review from a team as code owners February 9, 2024 21:11
@tlund101 tlund101 force-pushed the fix-grpc-config-metadata branch from 5ed0bbe to 31d22f5 Compare February 9, 2024 21:21
Copy link

codecov bot commented Feb 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5c2b40a) 55.79% compared to head (2d0faf8) 55.79%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #571   +/-   ##
=======================================
  Coverage   55.79%   55.79%           
=======================================
  Files          14       14           
  Lines         319      319           
  Branches       63       63           
=======================================
  Hits          178      178           
  Misses        124      124           
  Partials       17       17           

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

Copy link
Member

@shubham1172 shubham1172 left a comment

Choose a reason for hiding this comment

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

Thanks @tlund101 for the fast PR! 🚀 Just a small comment.

@tlund101 tlund101 force-pushed the fix-grpc-config-metadata branch from b71c012 to 2d0faf8 Compare February 10, 2024 17:03
Copy link
Member

@shubham1172 shubham1172 left a comment

Choose a reason for hiding this comment

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

LGTM, let's #ShipIt 🚀

@shubham1172 shubham1172 added this pull request to the merge queue Feb 12, 2024
Merged via the queue into dapr:main with commit 319e2fb Feb 12, 2024
8 checks passed
@tlund101 tlund101 deleted the fix-grpc-config-metadata branch August 1, 2024 20:27
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.

Fetching Keys from Azure App Config using metadata.label not returning appropriate response.
2 participants