Skip to main content

TaskRecovery

Home > @backstage/plugin-scaffolder-common > TaskRecovery

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'.

Signature:

export interface TaskRecovery 

Properties

Property

Modifiers

Type

Description

EXPERIMENTAL_strategy?

TaskRecoverStrategy

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