feat(rivetkit): add rust counter example#5181
Conversation
Deletes OSS S3 cold-tier code and rewires Depot compaction/read/reclaim to remain FDB/hot-only. Removes workflow_cold_storage config/schema and AWS S3 dependencies so old cold-storage config fails as an unknown field. Retains the unstable SQLite commit-size-cap opt-out in the same config/schema artifact.
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
|
7129a00 to
93a453e
Compare
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.