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 for state mutation through CLI #1485

Merged
merged 1 commit into from
Apr 30, 2024
Merged

Fix for state mutation through CLI #1485

merged 1 commit into from
Apr 30, 2024

Conversation

AhmedSoliman
Copy link
Contributor

@AhmedSoliman AhmedSoliman commented Apr 30, 2024

Fix for state mutation through CLI

Reported by @pcholakov, state mutations fail in 0.9.0. This fixes two issues:

  • Propagation of the error back to the CLI
  • Serde HashMap<Bytes, Bytes> as Seq to get around flexbuffer's limitation

Note: this needs to be cherry picked to 0.9 release.

Closes #1486

Reported by @pcholakov, state mutations fail in 0.9.0. This fixes two issues:
- Propagation of the error back to the CLI
- Serde HashMap<Bytes, Bytes> as Seq to get around flexbuffer's limitation

Note: this needs to be cherry picked to 0.9 release.

Closes #1486
Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks a lot for fixing this problem so quickly @AhmedSoliman. The changes look good to me. +1 for merging and also merging it into the release-0.9 branch. Apparently, we don't have an e2e test for the state patching feature since it slipped through. I'll will file an issue for it.

Copy link

github-actions bot commented Apr 30, 2024

Test Results

 99 files  +4   99 suites  +4   8m 34s ⏱️ +47s
 84 tests +2   82 ✅ +2  2 💤 ±0  0 ❌ ±0 
216 runs  +4  210 ✅ +4  6 💤 ±0  0 ❌ ±0 

Results for commit 5932d65. ± Comparison against base commit 05eb4ba.

♻️ This comment has been updated with latest results.

@AhmedSoliman AhmedSoliman merged commit 12e384c into main Apr 30, 2024
9 checks passed
@AhmedSoliman AhmedSoliman deleted the pr1485 branch April 30, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restate 0.9 breaks restate state edit
2 participants