feat(rivetkit): add rust counter example#5181
Conversation
Adds a standalone examples/rust-counter project built directly on rivetkit-core. The example includes a runnable counter registry plus an e2e test that starts a temporary rivet-engine, creates a counter actor, calls increment twice, and verifies get returns 2.
|
Stack for rivet-dev/rivet
Check out this stack: |
Code Review: feat(rivetkit): add rust counter exampleOverviewThis PR adds a standalone IssuesSilent fallback on corrupt state ( If the stored snapshot is valid CBOR but does not contain a Brittle error-string matching in Retrying on
If the engine returns valid JSON with no Undocumented dual-mode parsing in The function accepts either a bare integer or an array whose first element is an integer, with no documentation. The README shows Smaller notes
Positive
|
Adds a standalone examples/rust-counter project built directly on rivetkit-core.
The example includes a runnable counter registry plus an e2e test that starts a temporary rivet-engine, creates a counter actor, calls increment twice, and verifies get returns 2.