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
in ProcessTaskRunner makes it impossible to get the Process and for example get the exit code (without extracting it from the description).
I suggest to add an array with metadata as last argument of Result::__construct and all related static methods which can accept various data regarding the run of the task. The Process for a process task run, the plain output for a callback task run, the plain output and exit code for a command task run, ...
An alternative would be to add an AfterTaskRun event with the above details of the task that ran and dispatch this in each task runners invoke method.
The text was updated successfully, but these errors were encountered:
After tasks are run a
Result
is created, but some result data is formatted or discarded.For example if a
Process
fails:in
ProcessTaskRunner
makes it impossible to get theProcess
and for example get the exit code (without extracting it from the description).I suggest to add an array with metadata as last argument of
Result::__construct
and all related static methods which can accept various data regarding the run of the task. TheProcess
for a process task run, the plain output for a callback task run, the plain output and exit code for a command task run, ...An alternative would be to add an AfterTaskRun event with the above details of the task that ran and dispatch this in each task runners invoke method.
The text was updated successfully, but these errors were encountered: