code: func parseStatus(status buildbucketpb.Status) model.Status {
  	if st, ok := statusMap[status]; ok {
  		return st
  	}
  	return model.InfraFailure
  }
docs: // parseStatus converts a buildbucket status to model.Status.