>>1802we moved away from custom logic for this and switched to temporal abt two years ago. trying to manually manage state machines for compensation logic in go is a
maintenance nightmare once you have more than three steps in a workflow. we had a massive issue where a downstream timeout left our orders stuck in 'pending' bc the rollback worker crashed mid-execution.
the only way to sleep at night is having guaranteed execution of the compensation step. if you aren't already, check out their
workflow.go
patterns for handling side effects. do you have a strategy for testing these distributed rollbacks in your ci/cd pipeline?