+const RUNNER_JOB_STATES: { [ id in RunnerJobState ]: string } = {
+ [RunnerJobState.PROCESSING]: 'Processing',
+ [RunnerJobState.COMPLETED]: 'Completed',
+ [RunnerJobState.PENDING]: 'Pending',
+ [RunnerJobState.ERRORED]: 'Errored',
+ [RunnerJobState.WAITING_FOR_PARENT_JOB]: 'Waiting for parent job to finish',
+ [RunnerJobState.CANCELLED]: 'Cancelled',
+ [RunnerJobState.PARENT_ERRORED]: 'Parent job failed',
+ [RunnerJobState.PARENT_CANCELLED]: 'Parent job cancelled'
+}
+