resonate-saga-pattern-rust
OfficialEnsure multi-step Rust workflows stay consistent
Authorresonatehq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Coordinates multi-step distributed workflows in Rust that must remain consistent across partial failures by pairing forward actions with compensating rollbacks so overall system state can be unwound safely.
Core Features & Use Cases
- Forward and compensating actions: Show how to run ordered durable forward steps and dispatch reverse compensations in Rust using Result and match-based enum dispatch.
- Durable checkpoints and resume semantics: Explain how each forward step becomes a durable checkpoint so the saga can resume after worker crashes.
- Operational safeguards: Emphasizes idempotent compensations, timeouts, and retry strategies for realistic order processing scenarios (inventory, payment, shipment).
- Use Case: Implement an order placement saga that reserves inventory, charges payment, and creates shipment, and that reverses completed steps if a later step fails.
Quick Start
Run a Rust saga that reserves inventory, charges payment, and creates shipment for order 12345 and revert completed steps automatically on failure.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: resonate-saga-pattern-rust Download link: https://github.com/resonatehq/resonate-skills/archive/main.zip#resonate-saga-pattern-rust Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.