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

Fixes try_add_state in actor state manger #756

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

elena-kolevska
Copy link
Contributor

Description

Fixes a bug in the behaviour of try_add_state in the actor state manager. Namely, the method would throw an error saying a key already exists when it doesn't.

Issue reference

#755

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

@elena-kolevska elena-kolevska requested review from a team as code owners December 3, 2024 00:15
Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.05%. Comparing base (bffb749) to head (6456724).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #756      +/-   ##
==========================================
- Coverage   86.63%   86.05%   -0.58%     
==========================================
  Files          84       87       +3     
  Lines        4473     4783     +310     
==========================================
+ Hits         3875     4116     +241     
- Misses        598      667      +69     

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

lor1113 added a commit to lor1113/python-sdk that referenced this pull request Dec 3, 2024
Fixing bug in try_add_state as mentioned in PR dapr#756

Co-authored-by: Elena Kolevska <[email protected]>
Signed-off-by: Lorenzo Curcio <[email protected]>
lor1113 added a commit to lor1113/python-sdk that referenced this pull request Dec 3, 2024
Fixing bug in try_add_state as mentioned in PR dapr#756

Co-authored-by: Elena Kolevska <[email protected]>
Signed-off-by: Lorenzo Curcio <[email protected]>
Signed-off-by: Lorenzo Curcio <[email protected]>
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