-
Notifications
You must be signed in to change notification settings - Fork 207
Description
Currently, if the runner failed to run the job, it just updates the status of the job to Failed without providing additional information.
We need to add status_code and status_description fields per job to store this information and display it properly in the CLI, etc.
-
status_code: Let's use it to store our own code that would indicate the reason for the status (similar to process exit codes). I suggest that we make this an integer field, where0-255values will be used in case the job is finished but returned a non-0 exit code, and256-512values we used for our own codes (Git authentication problem, backend authentication problem, unknown exception, no capacity, etc. -
status_description: Let's use it to provide additional information for the status code (e.g. if the status code refers to an exception, provide it in this field).