class MyAction < Dynflow::Action
def run(event = nil)
raise "Halt"
end
def finalize
end
end
Steps to reproduce:
- Plan the action above
- Once it gets stuck, go into dynflow console and try to skip the run step
- Click resume
Actual results:
Between steps 2 and 3, the run step turns over to skipping, the finalize step turns over to skipped. After 3, the run step goes back to error. Trying to skip it again leads to invalid transition skipped > skipped error for the finalize step.
Expected results:
Skipped steps are already ignored when skipping or finalize steps being skipped after run steps are really skipped.
Notes:
When auto rescue is enabled, it kinda does steps 2 and 3 for you behind the scenes.