Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Documents patterns for coordinating distributed transactions and long-running business processes with compensating actions.
91% 95%+5 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
I have a saga orchestrator managing long-running tasks, but occasionally services drop requests without returning success or failure events. Can you show me how to extend a Python saga orchestrator to include step timeout detection? Please provide the class structure that sets an expiration deadline on step execution, schedules an async timeout monitor, and automatically kicks off compensation if a step exceeds its time window.
The subclass extends the base SagaOrchestrator class.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Patterns for managing distributed transactions and long-running business processes.
Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.
After inventory reservation succeeds, a payment timeout is an unknown outcome. Query the provider using the original idempotency key before charging again or releasing inventory; record the resolution and retry compensation durably.
Published skills whose descriptions closely match this one, with their benchmark result.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.