Feature #22216

Define on_error callback on task

Added by Marek Hulán 6 months ago. Updated 3 months ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Foreman plugin
Target version:-
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:

Description

It would be super awesome if we had ability to define a behavior for the task that encountered some error. That way we could e.g. create a notification, log something, send mail or whatever. Perhaps there could even be self-repairing code that schedules another run later.

History

#1 Updated by Adam Ruzicka 3 months ago

  • Status changed from New to Closed

I'd say the execution plan hooks1 in Dynflow cover this.

[1] - https://dynflow.github.io/documentation/#execution-plan-hooks

Also available in: Atom PDF