Commits
Click on a commit to change the comparison rangefeat(python): add saga rollback API to Python Workflows SDK
Add withRollback/rollbackAll for compensating transactions in Python. fix: address lint errors in workflow rollback tests Refactor: delegate to engine withRollback/rollbackAll instead of Python-side undo stack
- Remove Python-side _UndoStackEntry and _undo_stack
- Add _withRollback_call() to wrap Python callbacks for JS engine
- Add continue_on_error parameter to rollback_all()
- Update tests for engine-delegated behavior and ExceptionGroup handling refactor: remove rollback_all from Python SDK
- Remove step.rollback_all() method (now handled by engine auto-rollback)
- Update with_rollback docstring to describe auto-rollback behavior
- Simplify tests to only test with_rollback decorator registration
Rollback is now triggered automatically by the engine when workflow
throws an uncaught error (if rollback config enabled at instance creation).