CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

ignore_failure is not documented

Open prescod opened this issue 4 years ago • 2 comments

https://cumulusci.readthedocs.io/en/stable/search.html?q=ignore_failure&check_keywords=yes&area=default

https://github.com/SFDO-Tooling/CumulusCI/blob/f04a03f7624deef0e33c4164985fed6f46ca95b2/cumulusci/core/flowrunner.py#L591

prescod avatar Mar 26 '21 15:03 prescod

I think this is very useful also one should document how to retry steps:

  • Ignore failure should expose the result step (i.e. my_step.failed, I think there is a mystep.exception)
  • this variable can be used also to run flows conditionally (today the when only works on tasks)

For example we had a problem where we need to re-run robot framework test if they failed because of scratch org "warmup" (process builder not picking up platform events) and we could not simply do it with flows, we implemented it in our ci/cd but now we have a different developer experience / ci behaviour, I'd rather have implemented that as a cumulusci flow

edmondop avatar Mar 31 '21 12:03 edmondop

Tracking as W-10908655

davidmreed avatar Mar 28 '22 15:03 davidmreed