>_
.issue.db
/highway-workflow-engine
Dashboard
Issues
Memory
Lessons
Audit Log
New Issue
Edit Issue #214
Update issue details
Title *
Description
## Problem No mechanism to define compensating tasks for rollback scenarios. ## Industry Standard Temporal and Cadence support compensating tasks automatically. ## Use Case Financial transactions requiring rollback: ```python # Current: No way to auto-rollback ctx.step("debit_account", debit, amount) # If later step fails, no automatic credit_account(amount) ``` ## Impact - Banks cannot safely implement financial workflows - Manual saga pattern implementation error-prone - Critical for production-grade reliability ## Solution Options 1. Saga framework with compensation registry 2. Decorator-based: `@compensate(credit_account)` 3. Context-based: `ctx.step(..., compensation=fn)` ## Effort: Large (requires saga pattern framework)
Priority
Low
Medium
High
Critical
Status
Open
In Progress
Closed
Due Date (YYYY-MM-DD)
Tags (comma separated)
Related Issues (IDs)
Enter IDs of issues related to this one. They will be linked as 'related'.
Update Issue
Cancel