runabol / tork

A distributed workflow engine
https://tork.run
MIT License
509 stars 24 forks source link

Fix: failure handling of task and job middleware #424

Closed runabol closed 1 week ago

runabol commented 1 week ago

This PR fixes the behavior of Task and Job middlewares concerning failure.

Previously task and job middleware errors were considered fatal and only logged. Furthermore, middleware implementations were expected to handle any non-fatal error conditions themselves via side-effects.

This change streamlines the operation of job and task middlewares so this is automatically handled for them.