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
This file contains the detailed procedure and reference material extracted from
SKILL.mdfor focused loading. The root skill defines activation, examples, safety constraints, and limitations.
resources/implementation-playbook.md.Choreography Orchestration
┌─────┐ ┌─────┐ ┌─────┐ ┌─────────────┐
│Svc A│─►│Svc B│─►│Svc C│ │ Orchestrator│
└─────┘ └─────┘ └─────┘ └──────┬──────┘
│ │ │ │
▼ ▼ ▼ ┌─────┼─────┐
Event Event Event ▼ ▼ ▼
┌────┐┌────┐┌────┐
│Svc1││Svc2││Svc3│
└────┘└────┘└────┘
| State | Description |
|---|---|
| Started | Saga initiated |
| Pending | Waiting for step completion |
| Compensating | Rolling back due to failure |
| Completed | All steps succeeded |
| Failed | Saga failed after compensation |
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.