hunk.code_window:             // Fetch unpublished pages because GET actions is only called during edit mode. For view mode, different
               // function call is made which takes care of returning only the essential fields of an action
               return applicationService
                       .findById(params.getFirst(FieldName.APPLICATION_ID), READ_APPLICATIONS)
                       .flatMapMany(application -> repository.findByApplicationIdAndViewMode(application.getId(), false, READ_ACTIONS))
                       .filter(newAction -> !PluginType.JS.equals(newAction.getPluginType()))
                       .flatMap(this::setTransientFieldsInUnpublishedAction);
           }
           return repository.findAllActionsByNameAndPageIdsAndViewMode(name, pageIds, false, READ_ACTIONS, sort)
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/services/ce/NewActionServiceCEImpl.java
hunk.type: replace
file: apiVersion: v1
  kind: Service
  metadata:
    name: appsmith-editor
  spec:
    selector:
      app: appsmith-editor
    ports:
    - port: 80
      targetPort: 80
  ---
  apiVersion: apps/v1
  kind: Deployment
  metadata:
    name: appsmith-editor
  spec:
    selector:
      matchLabels:
        app: appsmith-editor
    replicas: 1
    template:
      metadata:
        labels:
          app: appsmith-editor
      spec:
        containers:
        - name: nginx
          image: appsmith/appsmith-editor
          ports:
            - containerPort: 80
          envFrom:
            - configMapRef:
                name: application-config
          volumeMounts:
            - name: nginx-config-template
              mountPath: /nginx.conf.template
              subPath: nginx.conf.template
        volumes:
        - name: nginx-config-template
          configMap:
            name: nginx-config-template
  