Why do some tasks go straight to 'Failed' state?

Related to Difference between task dueDate and endDate - #2 by derick

This could be as a result one of the following:

  • An upgrade was done. Old, current and future tasks are created. Anything whose endDate is in the past would be marked as Failed
  • A task that was generated with a dueDate in the past (outside of an upgrade context)