 
 (ns cider-ci.builder.task
   (:require
+    [cider-ci.builder.spec :as spec]
+    [cider-ci.builder.util :as util]
+
+    [cider-ci.utils.config :as config]
+    [cider-ci.utils.duration :as duration]
+    [cider-ci.utils.rdbms :as rdbms]
+
+    [clojure.java.jdbc :as jdbc]
+
     [clojure.tools.logging :as logging]
     [logbug.debug :as debug]
-    [cider-ci.utils.rdbms :as rdbms]
-    [cider-ci.builder.spec :as spec]
-    [clojure.java.jdbc :as jdbc]
-    [cider-ci.builder.util :as util]
+
   ))
 
 

    spec
    (assoc spec :aggregate-state "satisfy-any")))

(defn- normalize-task-spec [raw-spec]
  (-> raw-spec
      clojure.walk/keywordize-keys
      (dissoc :job_id)
      normalize-aggregate-succes))


;##############################################################################

             (rest pending-checks))
      errors)))


;### normalize task-spec ######################################################

(defn- normalize-aggregate-succes [spec]
