Backstage
    Preparing search index...

    When task didn't have a chance to complete due to system restart you can define the strategy what to do with such tasks, by defining a strategy.

    By default, it is none, what means to not recover but updating the status from 'processing' to 'failed'.

    interface TaskRecovery {
        EXPERIMENTAL_strategy?: TaskRecoverStrategy;
    }
    Index

    Properties

    EXPERIMENTAL_strategy?: TaskRecoverStrategy

    Depends on how you designed your task you might tailor the behaviour for each of them.