You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default all tasks are blocking. A user can overwrite the task service to be non blocking.
When a task is blocking, the errors will be fatal and shown in red.
When a task is not blocking, the error will not be fatal. A yellow error message will be displayed, but the changes will be commited.
The blocking flag of a task should be read when a tasks fails.
The metadata functionallity is already available with the getTaskMetadata() method on the GrumPHP object.
In a Task service it must be possible to add a "blocking" tag to the service configuration.
E.g.:
By default all tasks are blocking. A user can overwrite the task service to be non blocking.
When a task is blocking, the errors will be fatal and shown in red.
When a task is not blocking, the error will not be fatal. A yellow error message will be displayed, but the changes will be commited.
The blocking flag of a task should be read when a tasks fails.
The metadata functionallity is already available with the
getTaskMetadata()
method on the GrumPHP object.More information: https://github.com/phpro/grumphp/blob/master/doc/tasks.md#metadata
The text was updated successfully, but these errors were encountered: