File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,8 +102,18 @@ message StatusEvent {
102102// This Task Execution field includes detail information for
103103// task execution procedures, based on StatusEvent types.
104104message TaskExecution {
105- // When task is completed as the status of FAILED or SUCCEEDED,
106- // exit code is for one task execution result, default is 0 as success.
105+ // The exit code of a finished task.
106+ //
107+ // If the task succeeded, the exit code will be 0. If the task failed but not
108+ // due to the following reasons, the exit code will be 50000.
109+ //
110+ // Otherwise, it can be from different sources:
111+ // - Batch known failures as
112+ // https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes.
113+ // - Batch runnable execution failures: You can rely on Batch logs for further
114+ // diagnose: https://cloud.google.com/batch/docs/analyze-job-using-logs.
115+ // If there are multiple runnables failures, Batch only exposes the first
116+ // error caught for now.
107117 int32 exit_code = 1 ;
108118}
109119
You can’t perform that action at this time.
0 commit comments