We have an Oban.Pro workflow live in production performing mission-critical work. I am working on expanding this workflow to handle more logic and my PR renames one step (ie: changes the first arg passed to the Workers.Workflow.add function):
MyWorkflowJob.new_workflow()
- |> MyWorkflowJob.add(:validate, validate_payment_step)
+ |> MyWorkflowJob.add(:validate_payment, validate_payment_step)
(where validate_payment_step
is a job defined above)
Is there any concern with this change being rolled out to a live workflow? My guess/hope is that this “flow” param is metadata on the step and not dictating actual functionality but I’d like to be more sure of this before pushing to production.